User Tools

Site Tools


map_suite_webapi_markers_and_popups

This is an old revision of the document!


Map Suite WebAPI Markers and Popups

Video Overview

Coming Soon.

Overview

In the sample, we show how to put marker with marks position in a popup on the map. The marker can be dragged. Click map can change marker’s position and update popup’s content. Click marker can show or hide popup.

Markers


A marker with custom icon.

We put a marker on the map. Set up a custom icon for the marker. The marker can be drag on the map. Its position can be modified by clicking on map. In the Openlayers, the marker is implemented by vector layer.

Markers and Popups


A marker binds a popup.

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 set the current marker’s position to popup’s content. In the Openlayers, the popup is implemented by overlay.

map_suite_webapi_markers_and_popups.1447052402.txt.gz · Last modified: 2015/11/09 07:00 by tgwikiupdate