ThinkGeo.com    |     Documentation    |     Premium Support

Draw points using multiple bitmaps same layer

Hello,


I have used the technique of having one bitmap image on a layer and I use this extensively.


For one portion of my application though, I would really like to have one layer that has several points, but each of these points would be represented by a different bitmap. (some would be duplicate, but I don't think that's relevant)


I would like to key the image choice off of a string related to the point, but I could use an int as well if need be. This would sort of be like the class style, but I'm not sure it's possible.


Can you give me some pointers?


Thanks,


Kimberly



Kimberly,


If I am not understanding wrong, what you are attempt to achieve is the similar functionality with MapShapes in 2.x version.
 
Please take a look at the following project if you are interested.
code.thinkgeo.com/projects/show/mapshapes
 
Any more questions please feel free to let me know.
 
Thanks.
 
Yale