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.

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.

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.1447361732.txt.gz · Last modified: 2015/11/12 20:55 by mwolffer