SOPObject
Provides APIs for creating objects.
Creates Module.getAddObject API.
var sopObject = Module.getAddObject();
Add3DPoint(name, key, lon, lat, alt, data, width, height, text)
Creates a 3D POI on the map.
The data variable is based on a Uint8Array of binary array data.
Name
Type
Description
name
string
The name of the layer where the object will be created.
key
string
The name of the POI object to be created.
lon
number
Longitude position where the POI will be created.
lat
number
Latitude position where the POI will be created.
alt
number
Altitude position where the POI will be created.
data
object
Image binary data.
width
number
Width of the image.
height
number
Height of the image.
text
string
Text to display on the POI.
Sample
Refer to function getJudong
Last updated