Global

Methods


addToMap(map, features, projcs)

Parameters:
Name Type Description
map ol.Map

The map on which to display the new layer

features string | Array.<Object>

The features from which to create the new layer

projcs string

The projection

Source:
Returns:

The new layer

Type
ol.layer.Vector

addToMap(map, features [, projcs])

Parameters:
Name Type Argument Description
map L.Map

The map on which to display the new layer

features string | Array.<Object>

The features from which to create the new layer

projcs string <optional>

The projection

Source:
Returns:

The new layer

Type
L.Layer