Module: control/url

Handle url parameters / map position

Source:
control/url.js

Methods


<inner> getUrlParameter( [key])

Get parameter from url

Parameters:
Name Type Argument Description
key string <optional>

if none returns all url parmeters

Source:
control/url.js
Returns:
Type
string

<inner> getUrlPosition()

Get initial position from the url

Source:
control/url.js
Returns:

lon, lat, z and r

Type
Object

<inner> hasUrlParameter( [key])

Check parameter from url

Parameters:
Name Type Argument Description
key string <optional>

if none returns all url parmeters

Source:
control/url.js
Returns:
Type
string

<inner> resetUrlPosition()

Reset the url position

Source:
control/url.js