JS API
Map Object
QueryEngine Object
Layer Object
Feature Object
Query Object
GeoJson Function Library (Experimental)

Parameters

Name Required Description
elementId Yes The html id for the element (typically a div element) that will host the Mapzania map instance.
mapKey Yes The key of the map to be displayed.
param1 No If param2 is not set and this parameter is a function then it is a parameterless callback function, that is called when the map has finished initialising otherwise it is an object (which can be null) whose properties are used to configure the map. The possible option settings are shown in the table below.
param2 No A parameterless callback function, that is called when the map has finished initialising. This parameter is only used if param1 is set to an options object (which can be null).