| ExternalGraphic is a style property of a Point Symbolizer like the others, if you defined 2 rules depends on the scale it should work : A little bit like this: new OpenLayers.Rule({
maxScaleDenominator: 200000000,
minScaleDenominator: 100000000,
symbolizer: { externalGraphic: 'a_img/travauxorange.png', graphicHeight: 60*18/10 , graphicWidth: 65*18/10}); }),
new OpenLayers.Rule({
maxScaleDenominator: 100000000,
symbolizer: { externalGraphic: 'a_img/travauxorange.png', graphicHeight: 60*18/5 , graphicWidth: 65*18/5 } }) Le 19 juin 2012 à 19:52, christian bleau a écrit :
Olivier Terral GEOMATIC Ingénierie SA Société du groupe Ringier Chemin des Croisettes 26 1066 Epalinges www.geomatic.ch |
_______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
