diff --git a/Customizations/JSON/LayerConfigJson.ts b/Customizations/JSON/LayerConfigJson.ts index 83d0a15..8520120 100644 --- a/Customizations/JSON/LayerConfigJson.ts +++ b/Customizations/JSON/LayerConfigJson.ts @@ -126,15 +126,21 @@ export interface LayerConfigJson { passAllFeatures?:boolean /** - * Presets for this layer + * Presets for this layer. + * A preset shows up when clicking the map on a without data (or when right-clicking/long-pressing); + * it will prompt the user to add a new point. + * + * The most important aspect are the tags, which define which tags the new point will have; + * The title is shown in the dialog, along with the first sentence of the description. + * + * Upon confirmation, the full description is shown beneath the buttons - perfect to add pictures and examples. + * + * Note: the icon of the preset is determined automatically based on the tags and the icon above. Don't worry about that! + * NB: if no presets are defined, the popup to add new points doesn't show up at all */ presets?: { title: string | any, tags: string[], - /** - * The first sentence is shown in small letters beneath the button to add a new one. - * The full text is shown in the full popup - */ description?: string | any, }[], diff --git a/assets/layers/nature_reserve/nature_reserve.json b/assets/layers/nature_reserve/nature_reserve.json index c825380..da54443 100644 --- a/assets/layers/nature_reserve/nature_reserve.json +++ b/assets/layers/nature_reserve/nature_reserve.json @@ -341,7 +341,7 @@ } ], "hideUnderlayingFeaturesMinPercentage": 10, - "wayHandling": 1, + "wayHandling": 2, "icon": { "render": "./assets/themes/buurtnatuur/nature_reserve.svg" },