Changes between Version 7 and Version 8 of Styles

Show
Ignore:
Timestamp:
03/05/08 04:18:55 (5 years ago)
Author:
rdeguzman
Comment:

need additional closing parenthesis ')' for code to work

Legend:

Unmodified
Added
Removed
Modified
  • Styles

    v7 v8  
    1212var styleMap = new OpenLayers.StyleMap(OpenLayers.Util.extend( 
    1313        {fillColor: "green", fillOpacity: 1, strokeColor: "black"}, 
    14         OpenLayers.Feature.Vector.style["default"]); 
     14        OpenLayers.Feature.Vector.style["default"])); 
    1515var layer = new OpenLayers.Layer.Vector("points", {styleMap: styleMap}); 
    1616}}}