📄️ Map initialization
You can use the map parameters style, center, and zoom to define the initial appearance of the map.
📄️ Zoom in on the map
Enlarge map effect can be achieved.
📄️ Zoom out map
Can achieve zoom map effect
📄️ Get map level
You can get the zoom-in or zoom-out level of the currently displayed map.
📄️ Set map level
Map display at different levels can be customized.
📄️ Get map center
You can get the latitude and longitude coordinates of the center point of the currently displayed map.
📄️ Set map center
Set map center
📄️ Get the map rotation angle
Get the map rotation angle
📄️ README
Set map rotation angle
📄️ Get the map pitch angle
Get map pitch angle
📄️ Set the map pitch angle
Set map pitch angle
📄️ Map perspective switching
Switch map perspective.
📄️ Continuous transformation of map perspective
Continuous flight over the map enables perspective changes.
📄️ Map center offset
The center point position of the map can be realized to move as the map moves.
📄️ Turn off double-click to zoom in
Turn off the double-click zoom function on the map.
📄️ Turn off scroll zoom
Turn off scroll zoom
📄️ Turn off perspective rotation
Turn off camera rotation
📄️ README
Set map visibility range
📄️ README
Set map visibility level
📄️ Whether the global map is drawn repeatedly
Whether the global map is drawn repeatedly
📄️ Get mouse coordinates
Get mouse coordinates
📄️ README
Clicking on the scene with the mouse will return three-dimensional coordinate information, including longitude, latitude and height. If you click on the sky, undefined will be returned.
📄️ README
The camera azimuth angle, pitch angle and center point coordinates can be set to change the camera angle of view.
📄️ Camera perspective acquisition
The azimuth angle, pitch angle, and center point latitude and longitude coordinates of the current camera can be obtained.
📄️ Camera perspective switch
By setting the status parameters of the camera, the functions of switching the camera perspective and flying navigation are achieved.
📄️ Map sky settings
Initialize the sky style of the map through the sky parameter, which supports three sky color settings of basic, light and dark.
📄️ README
The maximum pitch angle of the map can be set through the maxPitch parameter.