- Legend to Symbols

-
Class nokia.maps.map.StandardMarker
Class Summary
A StandardMarker represents a location on the map and visibly identifies that location with an icon. It is very similar in terms of properties and supported functionality to nokia.maps.map.Marker, but in addition, it supports a text label and various text properties for it.
new nokia.maps.map.StandardMarker
(coord, props)
Properties
This interface defines the properties (keys) that can be passed to the
nokia.maps.map.StandardMarker constructor.
Field Summary
Number
CHANGE_SPATIAL
Represents the invalidation type for spatial changes
Number
CHANGE_VISUAL
Represents the invalidation type for visual changes
Number
CHANGE_ZINDEX
Represents the invalidation type for zIndex changes
nokia.maps.util.IPoint
anchor
The anchor point of this marker.
nokia.maps.util.IBrush
brush
This property holds the color of the interior of the shape in which the marker's text label is rendered.
nokia.maps.geo.Coordinate
coordinate
The coordinates the marker points to.
Boolean
draggable
This property indicates if the given event target is draggable and may receive a
dragstart, drag and dragend events (true); false otherwise.
Object
eventListener
This property is either undefined or holds a hash table that, for every event type, contains an array with the values: (listener, useCapture, namespaceURI)(, listener, useCapture, namespaceURI)(,…)
nokia.maps.map.IHitArea
hitArea
The (optional) hit area of the Marker.
nokia.maps.gfx.Image | Image | String
icon
The image that indicates the marker's location on the map (makes the marker visible).
Boolean
isEventTarget
This property indicates whether an object implements the nokia.maps.dom.EventTarget interface (
true>) or not (false).
nokia.maps.dom.EventTarget
parentNode
This property holds a reference to the parent node of the event target (if set).
Object
parentNodes
If this property is set it holds a hash table that contains the "namespaceURI" as key and the corresponding value is the parent node of the given event target.
nokia.maps.util.IPen
pen
This property holds the color of the outline of the shape in which the marker's text label is rendered.
String
shape
This property specifies the shape that is used to display the marker label.
String
text
This property holds the text (label) rendered in the center of the shape.
nokia.maps.util.IPen
textPen
This property holds the color of the text in the marker's label.
Boolean
visibility
A flag that determines the visibility of the given
Object instance.
Number
zIndex
The z-index relative to the container.
Direct Inheritance
Inherited from nokia.maps.map.Marker:
getDisplayBoundingBox
getDisplayOffset
getIconForRendering
hitTest
coordinate
Indirect Inheritance
Inherited from nokia.maps.map.Object:
destroy
getBoundingBox
getDisplays
getParent
isAdded
isVisible
CHANGE_SPATIAL
CHANGE_VISUAL
CHANGE_ZINDEX
Inherited from nokia.maps.dom.DragEventTarget:
drag
dragend
dragenter
dragleave
dragover
dragstart
drop
Inherited from nokia.maps.dom.EventTarget:
addListener
addListenerNS
disableDrag
disableUserSelect
dispatch
enableDrag
enableUserSelect
hitTest
insertListener
insertListenerNS
removeListener
removeListenerNS
draggable
eventListener
isEventTarget
parentNode
parentNodes
Inherited from nokia.maps.dom.MouseEventTarget:
click
dblclick
longpress
mousedown
mouseenter
mouseleave
mousemove
mouseout
mouseover
mouseup
mousewheel
Constructor Detail
This method creates an instance of StandardMarker.
new nokia.maps.map.StandardMarker(coord, props)
Parameters:
| {nokia.maps.geo.Coordinate} | coord | An object containing the geographical coordinates of the marker |
| {nokia.maps.map.StandardMarker.Properties} | props | The initial values of marker properties |