Nokia Maps API Reference

Contents

Class nokia.maps.map.component.objects.DragMarker

Class Summary

This component implements the default draggability for markers. If this component is added to the map, all markers and standard markers on which the property "draggable" is set to true can be dragged by the user.

Method Summary
addObserver (key, callback, [context]) : nokia.maps.util.OObject This method registers an observer for the property named by the caller.
attach (mapDisplay) This method will be invoked when the component is attached to a map and is not meant to be called directly.
destroy () This method is called from Display when Display is destroyed.
detach (mapDisplay) This method will be invoked when the component is detached from a map and is not meant to be called directly
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.
remove (key) : nokia.maps.util.OObject This method removes the property with the name provided by the caller.
removeObserver (key, callback, context) : nokia.maps.util.OObject This method removes the observer for the property named by the caller.
set (nameOrObject, [value, [force]]) : nokia.maps.util.OObject This method sets property values, using the property names and values supplied by the caller.
Field Summary
Boolean enabled This Boolean property is set to true if the component is enabled, false otherwise.
nokia.maps.map.Display mapDisplay This property holds a reference to the map.Display instance to which the given component belongs.
Constructor Detail

This method initializes an instance of DragMarker, using the properties supplied by the caller. The method is a virtual constructor for the component.

new nokia.maps.map.component.objects.DragMarker(props)
Parameters:
{Object} props The default observable key-value pairs for this component (see nokia.maps.util.OObject).
Field Detail
Boolean enabled
This Boolean property is set to true if the component is enabled, false otherwise.
Documentation generated on Wed Jun 27 2012 16:54:31 GMT+0200 (CEST).