Class eniro.maps.MapTypeId
Defined in: MapTypeId.js.
Constructor Attributes | Constructor Name and Description |
---|---|
eniro.maps.MapTypeId(id, srs)
|
Field Attributes | Field Name and Description |
---|---|
<static> <constant> |
eniro.maps.MapTypeId.AERIAL
Map type for satellite images.
|
<static> <constant> |
eniro.maps.MapTypeId.HYBRID
Map type for satellite images overlaid with roads and names.
|
<static> <constant> |
eniro.maps.MapTypeId.MAP
Map type for 'normal' map showing physical features in a non-photographic
form.
|
<static> <constant> |
eniro.maps.MapTypeId.NAUTICAL
Map type for nautical charts mostly interesting in coastal areas.
|
Method Attributes | Method Name and Description |
---|---|
equals(other)
Compare this instance with another instance.
|
|
getId()
Returns the string identifier of this type.
|
|
getSrs()
Returns the eniro.maps.MapTypeSrs for this map type.
|
|
<static> |
eniro.maps.MapTypeId.valueOf(str)
Returns the corresponding MapTypeId for the given string id.
|
Class Detail
eniro.maps.MapTypeId(id, srs)
- Parameters:
- {string} id
- The id of the map type.
- {eniro.maps.MapTypeSrs} srs
- Spatial reference system of the map type.
Field Detail
<static> <constant>
eniro.maps.MapTypeId.AERIAL
Map type for satellite images.
<static> <constant>
eniro.maps.MapTypeId.HYBRID
Map type for satellite images overlaid with roads and names.
<static> <constant>
eniro.maps.MapTypeId.MAP
Map type for 'normal' map showing physical features in a non-photographic
form.
<static> <constant>
eniro.maps.MapTypeId.NAUTICAL
Map type for nautical charts mostly interesting in coastal areas.
Method Detail
{boolean}
equals(other)
Compare this instance with another instance.
- Parameters:
- {eniro.maps.MapTypeId} other
- The instance to compare this instance to.
- Returns:
- {boolean} true If this instance is equal to the given one.
{string}
getId()
Returns the string identifier of this type.
- Returns:
- {string} identifier of this type.
{eniro.maps.MapTypeSrs}
getSrs()
Returns the eniro.maps.MapTypeSrs for this map type.
- Returns:
- {eniro.maps.MapTypeSrs} The spatial reference system for the map.
<static>
eniro.maps.MapTypeId.valueOf(str)
Returns the corresponding MapTypeId for the given string id.
- Parameters:
- str
- the string to get a MapTypeId for.
- Returns:
- the corresponding object or null if not found.