Simple MapView question (setLocation)

Hi,

how do i set the location of a map ?

i found the:

JavaScript API

Certain methods of the MapView are exposed through JavaScript.

setMarkers([ { latitude:0, longitude:0, label:“Zero”} ]) setLocation(latitude, longitude) setTilt(0.0) setZoom(1.0) setBearing(0.0)

but i don’t know how to implement it in the JavaScript part.

thnx.

You can do it even without JS:

<App>
	<ClientPanel>
		<NativeViewHost>
			<MapView Latitude="59.911567" Longitude="10.741030" Zoom="10">
				<MapMarker Latitude="59.911567" Longitude="10.741030" Label="Fuse HQ"/>
			</MapView>
		</NativeViewHost>
	</ClientPanel>
</App>