ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
This is an old revision of the document!
This sample shows you how to use markers and popups. Markers can be dragged across the map in order to place them on a new location anywhere on the map. By clicking on the marker users are able to see a popup with the location information.
We put a marker on the map. Set up a custom icon for the marker. The marker can be dragged on the map. Its position can be modified by clicking on map. In the Openlayers, the marker is implemented by vector layer.
We put a marker on the map, it binds a popup. The popup can be showed or hided by clicking marker. The position of the popup will be synchronized with the marker’s position. The sample sets the current marker’s position to popup’s content. In the Openlayers, the popup is implemented by overlay.