Namespace: utils

vef.map.utils

A super module that collects available sub-modules.
Source:

Methods

(static) exports.formatLatLng(lat, lng) → {string}

Format lat/lng to a readable string with decimal degrees
Parameters:
Name Type Description
lat number
lng number
Source:
Returns:
formatted lat/lng
Type
string

(static) loadLayer(config) → {Layer}

Static method to load a layer from a json config
Parameters:
Name Type Description
config object
Source:
Returns:
loaded layer instance
Type
Layer