You are viewing an older version of MapQuest-GL.js. Check out the latest version.
The MapQuest-GL map can be instantiated with an options object as the third argument in the map constructor.
Any of the following values may be provided.
The bearing or rotation in degrees to be applied to the map.
A Lng,Lat array to be used as the map's center.
The pitch or tilt in degrees to be applied to the map.
The initial zoom level of the map.
The minimum zoom level the map can support.
The maximum zoom level the map can support.
The padding to be applied to generated points and shapes when the fitBounds
function is
called.
Specifies whether the MapQuest Open APIs should be used for the map.
The type and position of the control to be added to the map.
Accepted values are:
typeRefer to the geocoding control documentation for more information.
An object describing traffic configuration.
Accepted values are:
Accepted filter
values are:
Array of scale bar identifiers to be added to the map.
Accepted values are:
The style to be applied to the map.
Accepted values are: