Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //style map for polygons
- var styleMap = new OpenLayers.StyleMap({
- "default":{
- fillColor: "#0000ff",
- fillOpacity: 0.0,
- strokeColor: "#ff0000",
- strokeWidth:2,
- strokeDashstyle:"solid",
- pointRadius:5,
- graphicName:"cross"
- },
- "temporary":{//no fill on drag
- fillColor: "#0000ff",
- fillOpacity: 0.0,
- strokeColor: "#ff0000",
- strokeWidth:2
- },
- "select":{
- fillColor: "#0000ff",
- fillOpacity: 0.0,
- strokeColor: "#000000",
- strokeDashstyle:"dashdot",
- strokeWidth:4,
- graphicName:"cross"
- }
- });
Add Comment
Please, Sign In to add comment