Add custom data settings modal with file picker or vector tile url

This commit is contained in:
Bryan Housel
2018-08-17 17:26:12 -04:00
parent 4b446e9e78
commit 0ae4099ff6
7 changed files with 207 additions and 28 deletions
+10
View File
@@ -519,6 +519,16 @@ en:
instructions: "Enter a tile URL template. Valid tokens are:\n {zoom} or {z}, {x}, {y} for Z/X/Y tile scheme\n {-y} or {ty} for flipped TMS-style Y coordinates\n {u} for quadtile scheme\n {switch:a,b,c} for DNS server multiplexing\n\nExample:\n{example}"
template:
placeholder: Enter a url template
custom_data:
tooltip: Edit custom data layer
header: Custom Data Settings
file:
instructions: "Choose a local data file. Supported types are:\n .gpx, .kml, .geojson/.json, .pbf, .mvt"
label: "Browse files"
or: "Or"
template:
instructions: "Enter a vector tile URL template. Valid tokens are:\n {zoom} or {z}, {x}, {y} for Z/X/Y tile scheme"
placeholder: Enter a url template
restore:
heading: You have unsaved changes
description: "Do you wish to restore unsaved changes from a previous editing session?"