How to change the display-style of gml-files

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to change the display-style of gml-files

Dipl. Inf. Carsten Eider
Hi folks,

the example http://openlayers.org/dev/examples/gml-layer.html shows
a gml-file within openlayers.
Any hint how to change the color and style of the displayed features ?

Thx Carsten

--
Mit freundlichen Grüßen / Yours faithfully
Carsten Eider

Dipl. Inf. (FH)

Kompetenzzentrum für Innovative Informationssysteme

c/o Fachhochschhule Bingen / University of applied sciences Bingen

Berlinstraße 109
55411 Bingen

Tel: +49 (0) 6721 / 409-179
Fax: +49 (0) 6721 / 409-158
email: [hidden email]
Internet: iis.fh-bingen.de


_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev

eider.vcf (385 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: How to change the display-style of gml-files

Christopher Schmidt-2
On Tue, Mar 20, 2007 at 11:20:08AM +0100, Dipl.-Inf.(FH) Carsten Eider wrote:
> Hi folks,
>
> the example http://openlayers.org/dev/examples/gml-layer.html shows
> a gml-file within openlayers.
> Any hint how to change the color and style of the displayed features ?

If you look at:

http://openlayers.org/dev/examples/openmnnd.html

You'll see 'onFeatureInsert' functions on the layer. These functions
change the style and redraw the feature. This is (at the moment) the
best way to alter the style for a layer on the fly.

Regards,
--
Christopher Schmidt
MetaCarta
_______________________________________________
Dev mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/dev