MapContext.moveToLocation

Display the pinned location at the center of the map and restore the default zoom level. Use this API together with the show-location method of the map component.

Sample code

copy
this.mapCtx = my.createMapContext('map');
this.mapCtx.moveToLocation();