Hi
Can i draw 5 polygon with custom color in InMemoryMarkerOverlay? Can i show the tooltip when hower that polygon?
Thanks and Regards,
loon
Hi
Can i draw 5 polygon with custom color in InMemoryMarkerOverlay? Can i show the tooltip when hower that polygon?
Thanks and Regards,
loon
Hi Loon,
I guess you mistake the InMemoryFeatureLayer for InMemeoryMarkerOverlay. MarkerOverlay can only render icons on the map. If there is no misunderstanding, it can be easily achieved using ValueStyle; we have a sample at:
websamples.thinkgeo.com/Samp...Value.aspx
The only difference from ShapeFileFeatureLayer is you need to add the FeatureSourceColumn manually to the InMemoryFeatureLayer.
For your second question, you can find more information in the following post. Please set the “z-index” style for the tooltipDiv to 1000 in the attached sample, or else it won’t display correctly.
gis.thinkgeo.com/Support/Dis....aspx#9977
If you have any more questions, please let us know.
Thanks,
Howard