@vidro/map-handler 1.2.146 → 1.2.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +12 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Map Handler
2
2
 
3
- #### Version 1.2.145 - June 2024
3
+ #### Version 1.2.146 - June 2024
4
4
 
5
5
  Tool to achieve the easiest way of communication with the map iframe.
6
6
 
@@ -450,7 +450,17 @@ Removes a layer
450
450
  > E.G.
451
451
 
452
452
  ```
453
- setActiveLayer('somelayer_name');
453
+ removeLayer('somelayer_name');
454
+ ```
455
+
456
+ ##### displayLayer(layer_name)
457
+
458
+ Displays a layer
459
+
460
+ > E.G.
461
+
462
+ ```
463
+ displayLayer('somelayer_name');
454
464
  ```
455
465
 
456
466
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vidro/map-handler",
3
- "version": "1.2.146",
3
+ "version": "1.2.148",
4
4
  "description": "Tool to achieve the easiest way of communication with the map",
5
5
  "homepage": "https://github.com/Vidro-Software-SL/maphandler",
6
6
  "repository": {