Mapmost SDK LiteSample previewOn this pageSample previewBased on the default coordinate system (CGCS2000)Example ofExample displayBasic map operationsMap initializationInitialize the map. You can use the map parameters style, center, and zoom to define the initial appearance of the map.Enlarge mapEnlarge map effect can be achieved.Zoom out mapCan achieve zoom map effectGet map levelYou can get the zoom-in or zoom-out level of the currently displayed map.Set map levelMap display at different levels can be customized.Get map centerYou can get the latitude and longitude coordinates of the center point of the currently displayed map.Set map centerThe longitude and latitude coordinates of the center point displayed on the map can be customized.Get the map rotation angleYou can get the azimuth angle number of the currently displayed map.Set map rotation angleThe number of azimuth angles displayed on the map can be customized.Get map pitch angleGets the pitch angle of the currently displayed map.Set map pitch angleThe number of pitch angles displayed on the map can be customized.Map perspective switchingYou can customize the center point coordinates, map level, etc. to switch the map perspective.Map perspective changes continuouslyDifferent center point coordinates, map levels, etc. can be set to achieve continuous switching of map perspectives.Map center offsetThe center point position of the map can be realized to move as the map moves.Turn off double-click to enlargeYou can customize the setting to turn off the map zoom function when double-clicking the mouse.Turn off scroll zoomYou can customize the settings to turn off the mouse scrolling map zoom function.Turn off camera rotationThe viewing angle rotation function can be turned off in custom settings.Set map visibility rangeThe display range of the current map can be customized.Set map visibility levelThe current map can be customized to display the maximum and minimum levels.Whether the global map is drawn repeatedlySupports repeated drawing of the map in the blank space when the map is zoomedGet mouse coordinatesCan obtain the screen coordinates of the mouse click position and the latitude and longitude coordinates of the corresponding point.Camera angle settingsThe camera azimuth angle, pitch angle and center point coordinates can be set to change the camera angle of view.Camera perspective acquisitionThe azimuth angle, pitch angle, and center point latitude and longitude coordinates of the current camera can be obtained.Camera perspective switchThe camera angle of view can be changed by setting the azimuth angle, pitch angle, and camera center point coordinates, creating a flying effect.map sky settingspassskyParameter initialization sets the sky style of the map, supportedbasic、light、darkThree sky color settings.map toolsMap coordinate conversionCoordinate conversion of point data between different coordinate systems can be achieved.Add map operation toolsYou can customize the settings to add map operation tools such as zoom in, zoom out, and north arrow.Add map scaleA scale bar can be added customarily and the scale bar can automatically change as the map zooms.2D measurementIt can realize area and distance measurement of two-dimensional maps.Tags and infoboxesAdd topopupA pop-up box can be added to the map.RemovepopupYou can remove the pop-up box on the map.Add tomarkerAbility to add labels to the map.RemovemarkerAbility to remove labels from the map.Annotate 3D modelsSupports text annotation of 3D models.Create 3D labelsSupports displaying annotation layers in three-dimensional space based on coordinate points.Click on the 3D tabSupport binding click events to 3D labels.3D label avoidanceThe effect of non-overlapping three-dimensional labels can be achieved.Visualization layer (2D)raster layerloadWMSServe【EPSG:3857】Support loadingWebMercator projectionWMSServe.loadWMTSServe【EPSG:3857】Support loadingWebMercator projectionWMTSServe.Load Tiantu map service-Mercator projectionSupports loading Mercator projection sky map map service.Load Tiantu map service-Latitude and longitude projectionSupports loading of latitude and longitude projection sky map service.loadWMSServe【EPSG:4490】Support loading countries2000coordinate systemCGCS2000ofWMSServe.loadWMTSServe【EPSG:4490】Support loading countries2000coordinate systemCGCS2000ofWMTSServe.loadArcGISDynamic slicing service【EPSG:4528】Support loadingWGS84coordinate systemArcGISDynamic slicing service.loadArcGISStatic slicing service【EPSG:4528】Support loadingWGS84coordinate systemArcGISStatic slicing service.loadArcGISDynamic servicesSupport loadingArcGISDynamic services.loadArcGISDynamic layersSupport loadingArcGISDynamic layers.Raster service transparency settingsSupport setting the transparency of raster services.Raster service request scope settingsSupports setting the request range of raster services.vector layerloadGeojsondataSupport loadingGeojsondata.Load vector tile serviceSupport loading vector tile service.point layerSupports adding point layers.line layerSupports adding line layers.Dashed line layerSupports adding dotted line layers.polygon layerSupports adding polygon layers.Custom icon layerSupports adding custom icon layers.Label layerSupports layer attribute annotation.Set label directionSupports vertical text annotation.Set label layer avoidanceSupport label layer avoidance,Make the labels not overlap.Track moving point animationSupport map display trajectory moving point animation effect.Cluster plotSupports building cluster plots based on scatter pointsheat mapuse heatmap layer Visualize the value of an attribute in different locations.Migration mapIt can display the migration trajectory and magnitude of data dynamically and in real time, allowing you to intuitively view the source and destination of data. Need to be introducedturf.js。dynamic iconSupport dynamic icons, useCanvas APIBuild point icon.vehicle trajectory lineSupports dynamic effects of vehicle movement trajectory lines.Visualization layer (3D)vector layerLoad 3D buildingSupports3DForm presents the building.Layered coloring of layer elementsCustomize rendering colors based on feature attributes.stacked cylindersThe expression of the proportional relationship between total quantity and component within the spatial scope, such as the tax amount of various water sources in the plot and the comparative relationship between the total tax amount.3DContour surfaceA visual expression of the spatial aggregation of continuously distributed objects in space, supporting the continuous animation of the migration and morphological changes of hot or cold areas.load3Dtree modelCan be constructed based on coordinate points and related attribute information3Dtree model.Skewed data modelload3DTilesCan be loaded into the map 3DTiles The tilted model in the format is not supported yet.cmptformat and compressed textures.Load with geometry compression3DTilesSupports loading of tilt data containing compressed models offline or on the intranet. Settings are required.loadOptionsparameter.3DTilesInitial loading position changeAvailable at3DTilesWhen performing initial loading, set the position transformation of the tilt data.video fusionLoad video filessupporthtml5 videoVideo formats supported by the tag, includingMP4、WebM、Ogg。Load live videoLive video can be loaded on the map, supportinghlsvideo streaming andflvVideo streaming.3D video projectionSupport forflvVideo stream access provides functions such as dynamic addition of video images, visible and hidden settings, viewpoint acquisition, and viewpoint positioning.3D heat map3Dheat mapAvailableheatmap-3dType layers visualize the value of an attribute in different locations.3DReal-time heat mapAvailableheatmap-3dType layers visualize certain attribute values in different locations and support real-time refresh of heat maps.Thematic ArchitectureLoad thematic buildingsUsers can use two-dimensionalGeoJSONdata, build3DModel generation custom3DThematic layer.Load thematic buildings-model versionModel-based and texture-based rendering3DThe architectural thematic layer can load large-area architectural models. The architectural models must be produced according to the prescribed process.3D modelload3DPrecision moldSupport loadingglb、gltfformat 3D model, users can perform a series of interactive operations on the model.Load with geometry compression3DModelSupport loadingglb、gltfFormat 3D compressed model.loadfbxModelSupport loading fbx format 3D model, users can perform a series of interactive operations on the model and enable animation of the model.loadobjModelSupport loading obj format 3D model, users can perform a series of interactive operations on the model.model animationSupport loading 3D models to achieve animation effects.Model emerge animationSupports loading of 3D models to achieve an animation effect of the model appearing up and down.Visual expression of underground spaceSupport underground space viewing.3D graphicsload point modelModels can be built based on coordinate points,Supports the creation of small cube and sphere models for loading and display.Load models in batchesBatch loading and display of existing models can be performed based on coordinate points.Batch loading and updating of 3D pointsIt can be combined with coordinate points, loaded in the form of particles, and coordinate data can be updated.Add 3D linesThree-dimensional lines can be constructed based on coordinate points.Add 3D facesThree-dimensional surfaces can be constructed based on coordinate points.Construct a three-dimensional planeA three-dimensional plane can be constructed based on line coordinates, and the plane can be mapped.Construct a 3D coneThe vertebral body model can be constructed based on coordinate points.3D effect3D effects collectionShows all supported 3D effects.3D dynamic lineIt can realize the construction of three-dimensional dynamic lines based on coordinate points.3D effect circleIt can realize the construction of three-dimensional dynamic circle model.Add special effects ballSpecial effect ball models can be constructed.3D geofenceThe effect of building a three-dimensional geofence model can be achieved.3D model special effectsSupports adding 3D model special effects, the model is required to beYThe shaft faces upward.Remove 3D model effectsCan remove 3D model special effects.3D model wireframe settingsIt can realize the functions of adding, deleting, displaying and hiding the 3D model wireframe.Layer interactionVector layer interactionSet layer visibility levelYou can customize the maximum and minimum levels that the current layer can display.Showing and hiding layersThe display and hiding of layers can be customized.clickLayer queryWhen the mouse clicks on a layer feature, the attribute information of the feature is displayed.hoverLayer querySupports displaying the attribute information of the layer feature when the mouse is moved into the feature.Zoom to change layer colorSupports layer color changes when the layer is zoomed in or out.layer highlightSupports highlighting the layer when the mouse moves into the point layerLayer level adjustmentsThe hierarchical positions of different layers can be customized.Layer data filteringYou can display only layer data that meets the custom set attribute conditions.Remove layerSupports removing layers.Obtain clustering point informationClick the clustering point to obtain the original information and output it on the console.Set layer feature statusWhen the mouse moves over a layer element, the state of the element changes.Skewed Data Application3DTilesCoordinate pickingSupport picking up in the map3DTilesThe coordinates of the format data need to be3DTileslayeredpickableThe property is set totrue。3DTilesdynamic singulationSupport dynamic creation3DTilesThe outer bounding box model of the single area realizes the inner bounding box3DtilesSingle effect.3D interactionModel translationThe translation direction and distance of the model can be customized.Model rotationThe rotation direction and angle of the model can be customized and controlled.Model scalingThe zoom in and out of the model can be customized and controlled.Model visibility settingsThe display and hiding functions of a single 3D model can be realized.Remove modelSupports removing loaded models in 3D scenes.Remove models based on attributesSupports removing models built based on coordinate points based on a certain attribute of the model.Model first rendering event monitoringSupports monitoring the first rendering completion event of loaded 3D models.Model highlight selectionSupports highlighting 3D models by moving the mouse.Model attribute querySupports clicking on the floor model to display the model name and obtain other related attributes.3D coordinate pickingSupports mouse click on the 3D model to obtain intersection coordinate information.3D flight positioningSupports flight positioning based on three-dimensional coordinate points.Get the model geometric center coordinatesThe longitude and latitude coordinates of the model’s geometric center can be obtained.Batch model highlight selectionSupports efficient picking and highlighting of 3D models built in automated batches based on mouse click model picking results.Batch model texture transformationSupports batch modification and restoration of 3D model textures built in automated batches based on number attributes.3D model editingEditing tools for 3D models can be customized and added to support operations such as translation, rotation, zoom and reset of 3D models, and the 3D model editing tool can also be exited.3D model exportSupports the export of 3D models. The export parameters must be corresponding to the model object. glb The organizational structure of the file. Only a single model can be exported at a time.3D development assistance3D scene camera acquisitionThe camera object in the three-dimensional scene can be obtained and output on the console.Add 3D model auxiliary coordinate systemAuxiliary coordinate systems for 3D models can be added.Get the 3D model outsourcing boxA 3D model outsourcing box is available.3D scene settingsInitial lighting settings for 3D sceneCan initialize light sources in 3D scenes,Only takes effect on the layer where the current scene is located.3D scene light settingsLight sources in three-dimensional scenes can be customized.3D scene exposure settingsThe exposure of the model in the three-dimensional scene can be customized.