ALKMaps.Control.EditingToolbar

The EditingToolbar is a panel of 4 controls to draw polygons, lines, points, or to navigate the map by panning.  By default it appears in the upper right corner of the map.

Inherits from

Summary
ALKMaps.Control.EditingToolbarThe EditingToolbar is a panel of 4 controls to draw polygons, lines, points, or to navigate the map by panning.
Properties
citeCompliant{Boolean} If set to true, coordinates of features drawn in a map extent crossing the date line won’t exceed the world bounds.
Constructor
ALKMaps.Control.EditingToolbarCreate an editing toolbar for a given layer.
Functions
drawcalls the default draw, and then activates mouse defaults.

Properties

citeCompliant

{Boolean} If set to true, coordinates of features drawn in a map extent crossing the date line won’t exceed the world bounds.  Default is false.

Constructor

ALKMaps.Control.EditingToolbar

Create an editing toolbar for a given layer.

Parameters

layer{ALKMaps.Layer.Vector}
options{Object}

Functions

draw

draw: function()

calls the default draw, and then activates mouse defaults.

Returns

{DOMElement}

draw: function()
calls the default draw, and then activates mouse defaults.
The Panel control is a container for other controls.
Instances of ALKMaps.Layer.Vector are used to render vector data from a variety of sources.
Close