ui/locations/entries

Exports a collection of entry methods for location views.

Requires

Methods

(inner) defaults()

The deprectaed defaults entry method was setting the and updating the mapp user to the entry field.

This method has been deprecated in favour of a more general plugin to set and update the user email and datetime.

Deprecated
  • Yes

(inner) legacy_layer(entry) → {function}

The legacy_layer method maps the layer entry method to the deprecated vector_layer and mvt_clone methods.

The type:'layer' will be assigned, overwriting the 'mvt_clone' and 'vector_layer' types.

id will be assigned as default for qID which is required for vector format layers.

The name is assigned from the label property.

Parameters:
NameTypeDescription
entryinfoj-entry

mvt_clone type entry.

Returns:

layer entry method.

Type: 
function