Skip to main content

MapBuilder.Center Method

Name Parameters Description
Center(JS) value An object, a string, or an array specifying which part of the map is displayed at the UI component's center using coordinates. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side center option.
Center(Double, Double) latitude, longitude Mirrors the client-side center option.
Center(String) address An object, a string, or an array specifying which part of the map is displayed at the UI component's center using coordinates. The UI component can change this value if autoAdjust is enabled. Mirrors the client-side center option.