tecnica:gps_cartografia_gis:openlayers_style
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tecnica:gps_cartografia_gis:openlayers_style [2011/07/15 16:02] – [Utilizzare l'oggetto StyleMap] niccolo | tecnica:gps_cartografia_gis:openlayers_style [2011/07/15 16:03] (current) – [Definire lo stile di un Vector layer] niccolo | ||
|---|---|---|---|
| Line 83: | Line 83: | ||
| var style = new OpenLayers.Style(); | var style = new OpenLayers.Style(); | ||
| - | style.strokeColor = strokeColor; | + | style.strokeColor |
| - | style.strokeWidth = strokeWidth; | + | style.strokeWidth |
| - | style.strokeOpacity = strokeOpacity; | + | style.strokeOpacity = 0.7; |
| - | style.fillColor = fillColor; | + | style.fillColor |
| - | style.fillOpacity = fillOpacity; | + | style.fillOpacity |
| var vector = new OpenLayers.Layer.Vector(label, | var vector = new OpenLayers.Layer.Vector(label, | ||
tecnica/gps_cartografia_gis/openlayers_style.1310738544.txt.gz · Last modified: by niccolo
