Table of Contents

TMS FNC Bing Maps — Guides

Markers

Add markers by calling Markers.Add and setting Coordinate.Latitude, Coordinate.Longitude, and Title. Handle OnMarkerClick to respond to user interaction.

Polygons

Add polygon overlays via Polygons.Add (TTMSFNCBingMapsPolygon). Populate the Coordinates collection and configure Fill and Stroke properties.

Map options

Set the zoom level and map type through the Options property. Use ZoomToBounds to fit the visible area around a coordinate bounding box.

See also