Get marker unique id.
marker id
Get marker name.
marker name
Set marker name.
The name
Get marker parts count.
marker parts count
Add a new coordinate to the marker.
The coordinate to be added
Parameters object
Optionalindex?: numberThe position where the coordinate is added, default -1 (append at the end)
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part)
Delete a coordinate from the marker.
The position of the deleted coordinate
Parameters object
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part)
Delete a part from marker.
The marker part index to be deleted
Delete a range of coordinates from the marker between given indexes.
The start index of the deleted coordinates list
The last index of the deleted coordinates list (excluding). If -1, the delete will perform until the end of the coordinates list
Object containing part number
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part)
Get coordinate from the given part, at the given index.
The marker index to which the function applies
The marker part index to which the function applies
Coordinates object located at the specified index in the part
Get marker coordinates list.
Parameters object
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part)
Coordinates list
Get marker coordinates count.
Object containing part number
Optionalpart?: numberThe marker part index to which the function applies, default 0
Coordinates count if part is valid otherwise error::KInvalidInput
Get marker part enclosing area.
The marker part index to which the function applies
RectangleGeographicArea object
Set marker part coordinates.
The coordinates list to be set as marker part
Parameters object
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part) Note: If part == partCount, a new part is automatically added to the marker and the coordinate is assigned to it
Update a coordinate in the marker.
The new coordinate value
The position of the updated coordinate
Parameters object
Optionalpart?: numberThe marker part index to which the function applies, default 0 (first part)
Static_Static_StaticfromCreate marker from a geographic area.
The geographic area which shape will be converted to marker
StaticfromCreate marker from circle with center and radius.
Circle center coordinates
Circle radius in meters
StaticfromCreate marker from circle with center and horizontal/vertical radii.
Object containing centerCoords, horizRadius, and vertRadius
Rectangle center coordinates
Horizontal rectangle radius in meters
Vertical rectangle radius in meters
StaticfromConstruct from a list of coordinates.
Coordinates list.
StaticfromCreate marker from rectangle with top-left and bottom-right corners.
Top left corner coordinates
Bottom right corner coordinates
Marker
A compact map model representing a visual geometry (icon, point, polyline or polygon) placed at geographic coordinates for annotations, waypoints or temporary content.
Common operations include creating, managing their geometric parts and coordinates (adding, updating and removing points or parts), querying the enclosing bounds and coordinate lists for layout or hit‑testing, reading and setting basic metadata such as title and identifier.
Can be added to a MarkerCollection and displayed on the map using the MapViewMarkerCollections object associated with a GemMapController. The appearance is highly customizable using the MarkerRenderSettings and MarkerCollectionRenderSettings class.