Methods
getAddress() → {string}
Get formated text of Address.
- Type:
- string
getAddressField(addressField) → {string}
Get Address field content by name
Name | Type | Description |
---|---|---|
addressField | gem. | field type |
- Type:
- string
getBoundingBox() → {gem.core.BoundingBox}
get bounding box for the geographic area.
- Type:
- gem.
core. BoundingBox
getContactInfo() → {string}
Get formated text contact info
- Type:
- string
getCoordinates() → {gem.core.Coordinates}
Gets the centroid coordinates.
On return the parameter is set to the actual value. The coordinates may be invalid. This aspect needs to be checked by the API user.
- Type:
- gem.
core. Coordinates
getCountryFlagImage(bitmapContainer) → {boolean}
Get the country flag for the landmark.
Name | Type | Description |
---|---|---|
bitmapContainer | gem. | output image |
- true if the flag was found, false otherwise
- Type:
- boolean
getCountryIsoCode() → {string}
Get Country ISO code
- Type:
- string
getDescription() → {string}
Get the description of this landmark.
- Type:
- string
getExtraInfo() → {string}
Get formated text extra info,each info separated by ','
- Type:
- string
getFormatedDetails() → {string}
Get formatted details
- Type:
- string
getFormatedName() → {string}
Get formatted name
- Type:
- string
getImage(bitmapContainer)
Name | Type | Description |
---|---|---|
bitmapContainer | gem. | output for Landmark image |
getLandmarkId() → {number}
Returns the landmark ID.
- ID >= 0 Success.
- Type:
- number
getName() → {string}
Get the name of this landmark.
- On return the parameter is set to the field value. It may be empty.
- Type:
- string
getUrl() → {string}
Get page url or booking url or Wikipedia page
url
- Type:
- string
getValueForExtraInfo(extrakey) → {string}
Get value for extra info key string
Name | Type | Description |
---|---|---|
extrakey | string | key string |
- Type:
- string
hasWikipediaInfo(externalInfo) → {boolean}
Returns if landmark has wikipedia info
Name | Type | Description |
---|---|---|
externalInfo | gem. | object to handle external info |
- Type:
- boolean
requestWikipediaInfo(callbackfunction, externalInfo) → {gem.core.WikiDescriptionListener}
Request wikipedia info. asnyc function
Name | Type | Description |
---|---|---|
callbackfunction | wikipediainfocallback | |
externalInfo | gem. | object to handle external info |
- wikipedia listener object. Please use delete method on this object, after wikipedia
setCoordinates(coordinates)
Sets the coordinates for the landmark.
Name | Type | Description |
---|---|---|
coordinates | gem. | The new coordinates for the landmark. |
setDescription(description)
Sets the description for the landmark.
Name | Type | Description |
---|---|---|
description | string | The new description for the landmark. |
setImage(usableIconId)
Sets the image for the landmark using an icon ID.
Name | Type | Description |
---|---|---|
usableIconId | number | The ID of the icon to use as the image. |
setImageByString(imageString)
Sets the image for the landmark using an image string.
Name | Type | Description |
---|---|---|
imageString | string | The image string to use as the image. |
setName(name)
Sets the name for the landmark.
Name | Type | Description |
---|---|---|
name | string | The new name for the landmark. |
setWaypointTrackData(pathData)
Sets the waypoint track data for the landmark.
Name | Type | Description |
---|---|---|
pathData | gem. | The new waypoint track data for the landmark. |