From c00b0f2fda70803ace62bbad916005bc867a8f8f Mon Sep 17 00:00:00 2001 From: meeki007 Date: Tue, 25 Aug 2020 13:03:19 -0400 Subject: [PATCH] Update README.md (#145) Missing Square Bracket in example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b3bf733..c741d11 100644 --- a/README.md +++ b/README.md @@ -372,7 +372,7 @@ Optional properties include - **layer** - set map to specified base layer name - `{"command":{"layer":"Esri"}}` - **search** - search markers on map for name containing `string`. If not found in existing markers, will then try geocoding looking using Nominatim. An empty string `""` clears the search results. - `{"command":{"search":"Winchester"}}` - **showlayer** - show the named overlay(s) - `{"command":{"showlayer":"foo"}}` or `{"command":{"showlayer":["foo","bar"]}}` - - **hidelayer** - hide the named overlay(s) - `{"command":{"hidelayer":"bar"}}` or `{"command":{"hidelayer":["bar","another"}}` + - **hidelayer** - hide the named overlay(s) - `{"command":{"hidelayer":"bar"}}` or `{"command":{"hidelayer":["bar","another"]}}` - **side** - add a second map alongside with slide between them. Use the name of a *baselayer* to add - or "none" to remove the control. - `{"command":{"side":"Esri Satellite"}}` - **split** - once you have split the screen - the split value is the % across the screen of the split line. - `{"command":{"split":50}}` - **map** - Object containing details of a new map layer: