Hello,

I just discovered GeoExt and OpenLayers 2 days ago and I'm rebuilding my
project using GeoExt (it was using the very good GmapPanel before).
First of all, thanks for it, it's a very good job !

I subscribe to this list because I have a small problem.

I have a single URL who return me all the markers to display on the map.
Those markers must have different icons.

I don't want to create multiple layers for each kind of markers, that would
make too much external calls and slow down the whole stuff.

I have pasted some bits of code here: http://pastebin.com/Uee7xdzJ

I suppose that I have to add a property like:

imgRef: 1

in my json response to identify the picture to display in javascript later,
but I don't know where to put it and how to retrieve it.

Can you help me ?

Thanks.

-Pol D.-
_______________________________________________
Users mailing list
[email protected]
http://www.geoext.org/cgi-bin/mailman/listinfo/users

Reply via email to