ThinkGeo.com    |     Documentation    |     Premium Support

InMemoryMarkerOverlay Feature PopUp event

I create bus layer, truck layer with InMemoryMarkerOverlay. And I add features according to their vehicle type. And also i stored the the specific data for each vehicle.


How can i catch each features onmouseover event and show the information about it as popup.



Tolga,


Here is a demo which uses 2 features, one is ValueMarkerStyle and the other is formatted popup. What is formatted popup? For example, with the following code
 
      popup.ContentHtml = "Hi [#message#]";
 
If your feature has a column “message”, and its value is “ThinkGeo”, the popup’s ContentHtml on the marker will be formatted to “Hi ThinkGeo” automatically, please look at the sample to see how to use them.
 
Any question, please let us known.
 
Ben

357-Post5323.zip (4.49 KB)

Thanks i think this example will be very useful.

Tolga,  
  
 That’s great!, glad it helps. 
  
 Ben.