You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/configure.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,12 +158,12 @@ Behaviors control the look & feel of the map. Changing them will always regenera
158
158
|Method|Parameters|Description|
159
159
|---|---|---|
160
160
|animate|`coordinates`:array, `duration`:number, `properties`:object,`animation`:string|Perform animation on the specified coordinates and for the duration in milliseconds. properties |
161
-
|map||Return the last `map object`|
161
+
|map|[returns `MapObject`]|Return the last `map`|
162
162
|notify|`message`:string, `duration`:number| Show notify `message` at bottom of map. Duration defaults too 2000ms|
163
163
|showPopup|`coordinates`:array,`message`:string|Show a popup at the Coordinates with message
164
-
|setFeatures|`data`:object/string, `layer`:string,`clear`:boolean|Add one ore more GEOJson features to the given layer, when clear is true all features of layer will be deleted before adding.|
165
-
|getFeatures|`layer`:string|Get all features returning a `GEOJson` for the given layer|
164
+
|setFeatures|`data`:object/string, `layer`:string,`clear`:boolean, `merge`:boolean[returns `promise`]|Add one ore more GEOJson features to the given layer, when clear is true all features of layer will be deleted before adding. When `merge` is true merge will done base on feature type and location. |
165
+
|getFeatures|`layer`:string[returns `promise`]|Get all features returning a `GEOJson` for the given layer|
166
166
|clearFeatures|`layer`:string|Clear all features for the given layer|
167
-
|setConfig|`json`:object,`filter`:string/array |Set configuration of the plugin by json, filter by properties. When filter is empty array[] all items will be update, when null only layers is updateor the specified in filter|
168
-
|getConfig|`filter`:string/array |Get configuration of the plugin by returning `json`, filter by properties. When filter is empty array[] all items will be returned, when null only layers is update, or the specified in filter|
169
-
|getZoom||Get current zoom value|
167
+
|setConfig|`json`:object,`filter`:string/array |Set configuration of the plugin by json, filter by properties. When filter is empty array[] all items will be update, when null only layers is update or the specified in filter|
168
+
|getConfig|`filter`:string/array [returns `object`]|Get configuration of the plugin by returning `json`, filter by properties. When filter is empty array[] all items will be returned, when null only layers is update, or the specified in filter|
169
+
|getZoom|[returns `float`]|Get current zoom value|
0 commit comments