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

Overview

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.

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

map_suite_webapi_markers_and_popups.1447361355.txt.gz · Last modified: 2015/11/12 20:49 by mwolffer