Ovi Maps API Reference

Contents

Class ovi.mapsapi.map.component.Copyright

Class Summary

A component which helps to adapt the position of the branding

Method Summary
addObserver (key, callback, [context]) : ovi.mapsapi.util.OObject Register an observer for a property.
attach (mapDisplay) Callback method that is invoked when the component is attached to a map.
detach (mapDisplay) Callback method that is invoked when the component is detached from a map.
get (key) : Variant Returns the value of the property with the given name.
getId () : String Returns a unique identifier of the component.
getVersion () : String Returns the version of the component.
queryReference () : ovi.mapsapi.map.component.Component Queries a new reference to this component.
releaseReference () : Number Release a reference to this component and return the new updated reference count.
remove (key) : ovi.mapsapi.util.OObject Removes the property with the given name.
removeObserver (key, callback, context) : ovi.mapsapi.util.OObject Remove an observer from a key.
set (nameOrObject, [value, [force]]) : ovi.mapsapi.util.OObject Set the value(s) of a property or properties of given name(s) to given value(s).
setPosition (position) Sets the position of the copyright information.
Field Summary
ovi.mapsapi.map.Display mapDisplay A reference to the map to which this component belongs.
Constructor Detail

A component which helps to adapt the position of the branding

new ovi.mapsapi.map.component.Copyright()
Method Detail
setPosition (position)
Sets the position of the copyright information.
Parameters:
{String} position The an anchor point with respect to the map viewport where the copyright will be placed. Allowed values are:
  • topleft
  • topcenter
  • topright
  • bottomleft
  • bottomcenter
  • bottomright
  • middleleft
  • middleright
Documentation generated on Fri Aug 19 2011 13:36:04 GMT+0200 (CEST).