center

Specifies the geographical coordinates of the center for a map.

Type: Object

By default, the map in the dxVectorMap widget is centered on the (0, 0) point. If you need to center the map on a different geographical point, set its geographical coordinates to the lat and lon field of the center configuration object.

Show Example:
jQuery

In this example, the map is centered on Africa in code using the center configuration object.


                                    

                                    

lat

Specifies a latitude for the center of a map.

Type: Number
Default Value: 0

lon

Specifies a longitude for the center of a map.

Type: Number
Default Value: 0