@@ -42,6 +42,13 @@ Add a container `<div>` to your HTML page and initialize the Genesys UI with the
enabled:true,// Enable shopping cart
},
recaptchaSiteKey:'<public key for your site>',// Public ReCaptcha site key
map:{
enabled:true,// Enable map
baseMap:{
url:'https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}/',// tile server url for the base layer
The map is **disabled by default**. To allow users to see map of accession collecting site on accession details page and access the map page you must explicity enable it in your configuration and provide a tile server URL and an attribution data for the base map layer:
|Property|Default|Description|
|---|---|---|
|`enabled`|`false`| Toggle map functionality |
|`baseMap`|`{...}`| See baseMap |
##### baseMap
|Property|Default|Description|
|---|---|---|
|`url`|`https://server.arcgisonline.com/ArcGIS/rest/services/Canvas/World_Light_Gray_Base/MapServer/tile/{z}/{y}/{x}/`| Tile server url for the base layer |