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.
Developers can use custom icons as their markers. Markers can then be dragged anywhere on the map. In this sample we are using Openlayers and markers are implemented as a 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.