[OpenLayers-Users] Graticule style

Eric Lemoine eric.lemoine at camptocamp.com
Mon Feb 15 01:52:59 EST 2010


On Sunday, February 14, 2010, vincent <vincentgf at gmail.com> wrote:
> Can anybody guide me how to change the color of Graticule lines and
> fonts (in labels)? I can't get to understand the concept of symbolizers
> and their correct usage, can anybody provide some simple example?

A symbolizer is a hash of style properties. For example, see [1] for
the default symbolizer of lines for the Graticule control. The page
[2] in the docs provides a list of style properties.

[1] <http://trac.openlayers.org/browser/trunk/openlayers/lib/OpenLayers/Control/Graticule.js#L77>
[2] <http://docs.openlayers.org/library/feature_styling.html>

Hope it helps,


-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com



More information about the Users mailing list