Class nokia.maps.map.component.InfoBubbles
Class Summary
If added to the map, this component manages info bubbles.
The component is responsible for adding and removing info bubbles. Each info bubble
must have an instance of nokia.maps.geo.Coordinate and its contents can be
either a string or a nokia.maps.search.Location object.
Method Summary
attach
(mapDisplay)
This method is a callback invoked when the component is attached to a map.
bubbleExists
(hBubble)
: boolean
This method checks whether a (previously opened) bubble (still) exists.
destroy
()
This method is called from Display when Display is destroyed.
detach
(mapDisplay)
This method is a callback invoked when the component is detached from a map.
get
(key)
: Variant
This method retrieves the value of the property with the name provided by the caller.
getId
()
: String
This method retrieves the unique identifier of the component.
getVersion
()
: String
This method retrieves the version of the component.
releaseReference
()
: Number
This method release a reference to the given component by decrementing the reference count.
removeBubble
(hBubble)
This method closes (removes) an info bubble which is (or is not) currently shown on the map.
set
(nameOrObject, [value, [force]])
: nokia.maps.util.OObject
This method sets property values, using the property names and values supplied by the caller.
updateBubble
(hBubble, content, [coordinate])
This method updates the content of an info bubble which is currently shown on the map.
Field Summary
String
ALIGNMENT_ABOVE
This identifier specifies a vertical alignment above the bubble's anchor.
String
ALIGNMENT_AUTO
This identifier specifies a horizontal or vertical alignment which is automatically determined.
String
ALIGNMENT_BELOW
This identifier specifies a vertical alignment below the bubble's anchor.
String
ALIGNMENT_LEFT
This identifier specifies a horizontal alignment to the left of the bubble's anchor.
String
ALIGNMENT_RIGHT
This identifier specifies a horizontal alignment to the right of the bubble's anchor.
String
DIMENSION_AUTO
This identifier specifies a width or height which is automatically determined.
Direct Inheritance
Indirect Inheritance
Constructor Detail
This method initializes an instance of nokia.maps.map.component.InfoBubbles
which can be added to a map Display.
new nokia.maps.map.component.InfoBubbles([props])
Method Detail
bubbleExists
(hBubble)
: boolean
updateBubble
(hBubble, content, [coordinate])
Documentation generated on Thu Feb 09 2012 12:59:03 GMT+0100 (CET).