Members

(constant) EAddressField :number

Enumeration for different types of address fields.

Type:
  • number
Properties
NameTypeDescription
Extensionnumber

Represents the extension field of an address.

BuildingFloornumber

Represents the building floor field of an address.

BuildingNamenumber

Represents the building name field of an address.

BuildingRoomnumber

Represents the building room field of an address.

BuildingZonenumber

Represents the building zone field of an address.

StreetNamenumber

Represents the street name field of an address.

StreetNumbernumber

Represents the street number field of an address.

PostalCodenumber

Represents the postal code field of an address.

Settlementnumber

Represents the settlement field of an address.

Citynumber

Represents the city field of an address.

Countynumber

Represents the county field of an address.

Statenumber

Represents the state field of an address.

StateCodenumber

Represents the state code field of an address.

Countrynumber

Represents the country field of an address.

CountryCodenumber

Represents the country code field of an address.

Districtnumber

Represents the district field of an address.

Crossing1number

Represents the first crossing field of an address.

Crossing2number

Represents the second crossing field of an address.

SegmentNamenumber

Represents the segment name field of an address.

AddrLastnumber

Represents the last address field.

Extensionnumber
BuildingFloornumber
BuildingNamenumber
BuildingRoomnumber
BuildingZonenumber
StreetNamenumber
StreetNumbernumber
PostalCodenumber
Settlementnumber
Citynumber
Countynumber
Statenumber
StateCodenumber
Countrynumber
CountryCodenumber
Districtnumber
Crossing1number
Crossing2number
SegmentNamenumber
AddrLastnumber

(constant) EEVChargingConnector

A constant that represents different types of Electric Vehicle (EV) charging connectors.

This constant is an object where each property represents a unique type of EV charging connector.

Properties
NameTypeDescription
EVC_J1772number

Represents the J1772 type of EV charging connector.

EVC_Mennekesnumber

Represents the Mennekes type of EV charging connector.

EVC_Type2number

Represents the Type 2 type of EV charging connector.

EVC_Type3number

Represents the Type 3 type of EV charging connector.

EVC_GBT_ACnumber

Represents the GBT AC type of EV charging connector.

EVC_GBT_DCnumber

Represents the GBT DC type of EV charging connector.

EVC_CHAdeMOnumber

Represents the CHAdeMO type of EV charging connector.

EVC_CSS1number

Represents the CSS1 type of EV charging connector.

EVC_CSS2number

Represents the CSS2 type of EV charging connector.

EVC_Teslanumber

Represents the Tesla type of EV charging connector.

EVC_SuperTeslanumber

Represents the SuperTesla type of EV charging connector.

EVC_SuperTeslaCCSnumber

Represents the SuperTesla CCS type of EV charging connector.

EVC_TeslaDestinationnumber

Represents the Tesla Destination type of EV charging connector.

Example
```javascript
console.log(EEVChargingConnector.EVC_J1772); // Outputs: 0x1
console.log(EEVChargingConnector.EVC_Mennekes); // Outputs: 0x2
console.log(EEVChargingConnector.EVC_Type2); // Outputs: 0x4
// ...
```

(constant) ERouteRenderOptions :number

Route display options.

Type:
  • number
Properties
NameTypeDescription
RRS_Mainnumber

Route is main route in collection (i.e., it overlaps all other siblings and has different render settings).

RRS_ShowTrafficnumber

Display traffic status over the route. Default is true.

RRS_ShowTurnArrowsnumber

Display the turn arrows associated with route guidance. Default is true.

RRS_ShowWaypointsnumber

Display the route waypoints. Default is true.

RRS_ShowHighlightsnumber

Enable route highlights. Default is true. Public routes will render segments in color for bus, public & car routes; pedestrian parts are rendered differently.

RRS_ShowUserImagenumber

Display user waypoints images. If enabled, user landmark image will be displayed instead of standard pin image. Default is false.

RRS_ShowDirectionArrowsnumber

Display route direction arrows. If enabled, the direction arrows will be rendered over the route.

Methods

get(position) → {gem.routesAndNavigation.EVCarModel}

A class that represents a list of Electric Vehicle (EV) car models.

Parameters:
NameTypeDescription
positionnumber

The position (index) of the EVCarModel object in the list.

Returns:

The EVCarModel object at the specified position in the list.

Type: 
gem.routesAndNavigation.EVCarModel
Example
```javascript
let evCarModelsList = new gem.routesAndNavigation.EVCarModelsList();
let carModel = evCarModelsList.get(0); // Get the first EVCarModel in the list
```

getRawPointer(color, color, color, innerSize, outerSize) → {Module.gemMarkerCollectionDisplaySettings}

Gets the raw pointer to the Module.gemMarkerCollectionDisplaySettings object.

Parameters:
NameTypeDescription
colorobject

The color to set in RGBA format.

colorobject

The color to set in RGBA format.

colorobject

The color to set in RGBA format.

innerSizenumber

The size to set.

outerSizenumber

The size to set.

Returns:

The raw pointer.

Type: 
Module.gemMarkerCollectionDisplaySettings
Example
```javascript
let displaySettings = new gem.d3Scene.MarkerCollectionDisplaySettings();
displaySettings.setPolylineInnerColor({r: 255, g: 0, b: 0, a: 255});
displaySettings.setPolylineOuterColor({r: 0, g: 255, b: 0, a: 255});
displaySettings.setPolygonFillColor({r: 0, g: 0, b: 255, a: 255});
displaySettings.setPolylineInnerSize(5);
displaySettings.setPolylineOuterSize(10);
console.log(displaySettings.getRawPointer()); // Outputs: Module.gemMarkerCollectionDisplaySettings
```

Type Definitions

callbackEdit(event, pointId, coordinates, parentVector)

Parameters:
NameTypeDescription
eventgem.d3Scene.ECursorEvent

event type

pointIdnumber

point Id

coordinatesgem.core.Coordinates

WGS Coordinates of the cursor.

parentVectorgem.d3Scene.MarkerRef

parent vector

callbackListItem(elMarker, properties)

Parameters:
NameTypeDescription
elMarkerHTMLDivElement

html parent element

propertiesobject

json properties from data source item associated to the list item

callbackMarker(properties)

Parameters:
NameTypeDescription
propertiesstring

marker item properties

callbackMarkerBubble(elMarkerBubble, properties, coords)

Parameters:
NameTypeDescription
elMarkerBubbleHTMLDivElement

html parent element

propertiesobject

properties json

coordsgem.core.Coordinates

WGS coordinates of the marker item

callbackMarkerGroup(groupsize)

Parameters:
NameTypeDescription
groupsizenumber

marker group size

callbackMarkers()

Parameters:
TypeDescription
gem.d3Scene.OverlayItem

markerlist - please convert to a Marker list wrapper

callbackMarkersAreaSelection(area, filters, signal)

Parameters:
NameTypeDescription
areaobject

area coordinates array

filtersobject

filters map

signalAbortController.signal

use in request to cancel if a new request has been triggered

callbackMarkersFeed(mapCenterLon, mapCenterLat, mapLonMin, mapLatMin, mapLonMax, mapLatMax, filters, signal)

Parameters:
NameTypeDescription
mapCenterLonnumber

visible map center longitude

mapCenterLatnumber

visible map center latitude

mapLonMinnumber

visible map minimum longitude

mapLatMinnumber

visible map minimum latitude

mapLonMaxnumber

visible map maximum longitude

mapLatMaxnumber

visible map maximum latitude

filtersobject

filters map

Properties
NameTypeDescription
namestring

unique name of the filter

valuesArray.<object>

filter values

filter.values.keystring

item property key to use for filter option

filter.values.valuestring

item property value to use for filter option

signalAbortController.signal

use in request to cancel if a new request has been triggered

callbackMouse(item, jsonData, coordinates)

Parameters:
NameTypeDescription
itemElement

html element of called evend

jsonDataobject

json data of the properties field

coordinatesgem.core.Coordinates

WGS Coordinates of the item.

callbackSelected()

Parameters:
TypeDescription
Element

html element of selected item

wikipediainfocallback(wikipediacontainer)

Parameters:
NameTypeDescription
wikipediacontainerobject

to use it please create a new gem.core.WikipediaContainer object around it