Nokia Maps API Reference

Contents

Class nokia.maps.map.Rectangle

Class Summary

The class defines a map object with a rectangular shape.

new nokia.maps.map.Rectangle (bounds, props)
Properties This interface defines the properties (keys) that can be passed to the constructor for nokia.maps.map.Rectangle.
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.geo.BoundingBox boundingBox The bounds of the rectangle.
nokia.maps.util.IBrush brush This property specifies the brush used to fill the shape of the polygon.
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)(,…)
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.geo.Shape path The path to define the shape.
Number simplify The value of this property is specified as a number of pixels and indicates if and how much the rendering result is to be simplified.
Number simplify The value of this property is specified as a number of pixels and indicates if and how much the rendering result is to be simplified.
Boolean visibility A flag that determines the visibility of the given Object instance.
Number zIndex The z-index relative to the container.
Constructor Detail

This method initializes an instance of nokia.maps.map.Rectangle setting the bounding box for the object and other properties specified by the caller.

new nokia.maps.map.Rectangle(bounds, props)
Parameters:
{nokia.maps.geo.BoundingBox} bounds A bounding box object that determines the location of the rectangle and its sixe
{nokia.maps.map.Rectangle.Properties} props An object that names the properties of the rectangle to initialize and provides their values
Field Detail
The bounds of the rectangle.
Documentation generated on Thu Dec 15 2011 15:14:37 GMT+0100 (CET).