On Sun, 2009-03-08 at 23:12 -0700, sylvie fiat wrote:
> Hi,
>
> I have the same problem and it's taking me hours, did you figure out what
> was the problem ?
> I have tried :
> styleMap: new OpenLayers.StyleMap(OpenLayers.Util.applyDefaults(
> { pointRadius:
> function(feature){return
> Math.min(feature.attributes.count, 7) + 3;},
> fillColor: "blue",
> fillOpacity: 0.5,
> strokeColor: "black"},
>
> OpenLayers.Feature.Vector.style["default"]))
>
> But I got the error:
> unexpected value function (feature) { return
> Math.min(feature.attributes.count, 7) + 3; } parsing r attribute.
>
> Thanks for any help.
> SylvieHi Sylvie, I guess it was related to some errors in my javascript file. I would suggest you to use online javascriptlint to check your syntax and identify potential errors. Didrik
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
