Module: osmdrawer

open-street-map-drawer module

This is a global object, attached to the window object, it exports all the classes except from the Tool one. Provides a ready method which receive as first argument the callback to invoke when the library is fully loaded

It is also exported as es2016 module.

Properties:
Name Type Description
Map Map Map
PointTool PointTool PointTool
PolylineTool PolygonTool PolylineTool
PolygonTool PolygonTool PolygonTool
CircleTool CircleTool CircleTool
Loader Loader Loader
EventDispatcher EventDispatcher EventDispatcher
Source:

Methods

(static) ready(callback)

Loads the library and executes the given callback only when the it is ready
Parameters:
Name Type Description
callback function
Source:
Returns:
void