Replaces the MapView's markers.

The following format is used for describing map markers:

{
    latitude: 0,
    longitude: 0,
    label: "Hello, world!"
}

Example

The following example places a map marker at Fuse's home in Oslo, Norway.

<NativeViewHost>
    <MapView ux:Name="myMapView" />
</NativeViewHost>

<JavaScript>
    myMapView.setMarkers([
        { latitude: 59.911567, longitude: 10.741030, label: "Fuse HQ" }
    ]);
</JavaScript>

Location

Namespace
Fuse.Controls
Package
Fuse.Maps 2.9.1