@mapcomponents/react-maplibre 0.1.67 → 0.1.68

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 (258) hide show
  1. package/coverage/clover.xml +172 -174
  2. package/coverage/coverage-final.json +7 -7
  3. package/coverage/lcov-report/index.html +38 -38
  4. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +43 -25
  5. package/coverage/lcov-report/src/components/MapLibreMap/index.html +10 -10
  6. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +30 -51
  7. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +3 -3
  8. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +1 -1
  9. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +1 -1
  10. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +1 -1
  11. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +1 -1
  12. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +1 -1
  13. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +1 -1
  14. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +1 -1
  15. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +1 -1
  16. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +1 -1
  17. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +41 -98
  18. package/coverage/lcov-report/src/components/MlFollowGps/index.html +15 -15
  19. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +2 -2
  20. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +1 -1
  21. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +1 -1
  22. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +1 -1
  23. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx.html +1 -1
  24. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx.html +1 -1
  25. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +1 -1
  26. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +1 -1
  27. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +1 -1
  28. package/coverage/lcov-report/src/components/MlGpxViewer/MlGpxViewer.tsx.html +1 -1
  29. package/coverage/lcov-report/src/components/MlGpxViewer/index.html +1 -1
  30. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +1 -1
  31. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +1 -1
  32. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +1 -1
  33. package/coverage/lcov-report/src/components/MlLayer/index.html +1 -1
  34. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +1 -1
  35. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +1 -1
  36. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +1 -1
  37. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +1 -1
  38. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +1 -1
  39. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +1 -1
  40. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +1 -1
  41. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +1 -1
  42. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +1 -1
  43. package/coverage/lcov-report/src/components/MlMarker/index.html +1 -1
  44. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +1 -1
  45. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +1 -1
  46. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +1 -1
  47. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +1 -1
  48. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +41 -113
  49. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +15 -15
  50. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +1 -1
  51. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +1 -1
  52. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +1 -1
  53. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.tsx.html +1 -1
  54. package/coverage/lcov-report/src/components/MlScaleReference/index.html +1 -1
  55. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.tsx.html +1 -1
  56. package/coverage/lcov-report/src/components/MlShareMapState/index.html +1 -1
  57. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +1 -1
  58. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +1 -1
  59. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +1 -1
  60. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +2 -2
  61. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +1 -1
  62. package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +2 -2
  63. package/coverage/lcov-report/src/components/MlSketchTool/index.html +1 -1
  64. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx.html +1 -1
  65. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +1 -1
  66. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +1 -1
  67. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreejsLayer.tsx.html +1 -1
  68. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +1 -1
  69. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +1 -1
  70. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +1 -1
  71. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +1 -1
  72. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +1 -1
  73. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +22 -10
  74. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +13 -13
  75. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +1 -1
  76. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +1 -1
  77. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +1 -1
  78. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +1 -1
  79. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +1 -1
  80. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +1 -1
  81. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +24 -3
  82. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +1 -1
  83. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +1 -1
  84. package/coverage/lcov-report/src/contexts/index.html +1 -1
  85. package/coverage/lcov-report/src/hooks/index.html +1 -1
  86. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +1 -1
  87. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +1 -1
  88. package/coverage/lcov-report/src/hooks/useExportMap/index.html +1 -1
  89. package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +1 -1
  90. package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +2 -2
  91. package/coverage/lcov-report/src/hooks/useGpx/index.html +1 -1
  92. package/coverage/lcov-report/src/hooks/useGpx/useGpx.tsx.html +1 -1
  93. package/coverage/lcov-report/src/hooks/useLayer.ts.html +1 -1
  94. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +1 -1
  95. package/coverage/lcov-report/src/hooks/useLayerFilter/index.html +1 -1
  96. package/coverage/lcov-report/src/hooks/useLayerFilter/useLayerFilter.ts.html +1 -1
  97. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/index.html +1 -1
  98. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx.html +1 -1
  99. package/coverage/lcov-report/src/hooks/useMap.ts.html +1 -1
  100. package/coverage/lcov-report/src/hooks/useMapState.ts.html +1 -1
  101. package/coverage/lcov-report/src/hooks/useSource.ts.html +1 -1
  102. package/coverage/lcov-report/src/hooks/useWms.ts.html +1 -1
  103. package/coverage/lcov-report/src/index.html +1 -1
  104. package/coverage/lcov-report/src/index.ts.html +27 -3
  105. package/coverage/lcov.info +326 -342
  106. package/dist/components/MapLibreMap/MapLibreMap.d.ts +3 -3
  107. package/dist/components/MapLibreMap/MapLibreMap.stories.d.ts +2 -0
  108. package/dist/components/MapLibreMap/lib/MapLibreGlWrapper.d.ts +1 -1
  109. package/dist/components/MlCenterPosition/MlCenterPosition.d.ts +2 -15
  110. package/dist/components/MlCenterPosition/MlCenterPosition.stories.d.ts +1 -14
  111. package/dist/components/MlComponentTemplate/MlComponentTemplate.d.ts +1 -0
  112. package/dist/components/MlComponentTemplate/MlComponentTemplate.stories.d.ts +1 -0
  113. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +1 -0
  114. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.stories.d.ts +1 -0
  115. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +1 -0
  116. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.stories.d.ts +1 -0
  117. package/dist/components/MlCreatePdfForm/lib/PdfForm.d.ts +1 -0
  118. package/dist/components/MlCreatePdfForm/lib/_PdfPreview.d.ts +1 -0
  119. package/dist/components/MlFeatureEditor/MlFeatureEditor.d.ts +1 -0
  120. package/dist/components/MlFillExtrusionLayer/MlFillExtrusionLayer.d.ts +1 -0
  121. package/dist/components/MlFollowGps/MlFollowGps.d.ts +5 -23
  122. package/dist/components/MlFollowGps/MlFollowGps.stories.d.ts +2 -2
  123. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.d.ts +1 -0
  124. package/dist/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.d.ts +1 -0
  125. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.d.ts +1 -0
  126. package/dist/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.d.ts +1 -0
  127. package/dist/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.d.ts +4 -1
  128. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.d.ts +1 -0
  129. package/dist/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.d.ts +1 -0
  130. package/dist/components/MlGpxViewer/MlGpxViewer.d.ts +1 -0
  131. package/dist/components/MlGpxViewer/MlGpxViewer.stories.d.ts +1 -0
  132. package/dist/components/MlGpxViewer/util/GeoJsonProvider.d.ts +1 -0
  133. package/dist/components/MlGpxViewer/util/MetadataDrawer.d.ts +1 -0
  134. package/dist/components/MlGpxViewer/util/MlGpxDemoLoader.d.ts +1 -0
  135. package/dist/components/MlGpxViewer/util/MlGpxViewerInstructions.d.ts +1 -0
  136. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.d.ts +1 -0
  137. package/dist/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.d.ts +1 -0
  138. package/dist/components/MlLayer/MlLayer.d.ts +1 -0
  139. package/dist/components/MlLayerMagnify/MlLayerMagnify.stories.d.ts +1 -0
  140. package/dist/components/MlLayerSwipe/MlLayerSwipe.stories.d.ts +1 -0
  141. package/dist/components/MlMarker/MlMarker.d.ts +1 -0
  142. package/dist/components/MlMeasureTool/MlMeasureTool.d.ts +1 -0
  143. package/dist/components/MlNavigationCompass/MlNavigationCompass.d.ts +1 -0
  144. package/dist/components/MlNavigationTools/MlNavigationTools.d.ts +5 -0
  145. package/dist/components/MlScaleReference/MlScaleReference.d.ts +1 -0
  146. package/dist/components/MlShareMapState/MlShareMapState.d.ts +1 -0
  147. package/dist/components/MlShareMapState/MlShareMapState.stories.d.ts +1 -0
  148. package/dist/components/MlSketchTool/LayerList/ColorPicker.d.ts +1 -0
  149. package/dist/components/MlSketchTool/LayerList/LayerList.d.ts +1 -0
  150. package/dist/components/MlSketchTool/LayerList/LayerListItem.d.ts +1 -0
  151. package/dist/components/MlSketchTool/LayerList/LayerPropertyForm.d.ts +1 -0
  152. package/dist/components/MlSketchTool/MlSketchTool.d.ts +1 -0
  153. package/dist/components/MlSketchTool/MlSketchTool.stories.d.ts +1 -0
  154. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.d.ts +1 -0
  155. package/dist/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.d.ts +1 -0
  156. package/dist/components/MlThreeJsLayer/MlThreeJsLayer.stories.d.ts +1 -0
  157. package/dist/components/MlThreeJsLayer/MlThreejsLayer.d.ts +1 -0
  158. package/dist/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.d.ts +1 -0
  159. package/dist/components/MlVectorTileLayer/MlVectorTileLayer.d.ts +3 -2
  160. package/dist/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.d.ts +1 -0
  161. package/dist/components/MlWmsLayer/MlWmsLayer.d.ts +1 -0
  162. package/dist/components/MlWmsLoader/MlWmsLoader.d.ts +1 -0
  163. package/dist/components/MlWmsLoader/MlWmsLoader.stories.d.ts +1 -0
  164. package/dist/components/MlWmsLoader/utils/MlWmsLoaderInstructions.d.ts +1 -0
  165. package/dist/components/MlWmsLoader/utils/WMSLinks.d.ts +1 -0
  166. package/dist/decorators/EmptyMapDecorator.d.ts +2 -0
  167. package/dist/decorators/ThemeDecorator.d.ts +2 -0
  168. package/dist/hooks/useCameraFollowPath/useCameraFollowPath.stories.d.ts +1 -0
  169. package/dist/hooks/useExportMap/lib.d.ts +1 -1
  170. package/dist/hooks/useLayerFilter/useLayerFilter.stories.d.ts +1 -0
  171. package/dist/hooks/useLayerHoverPopup/useLayerHoverPopup.d.ts +1 -0
  172. package/dist/index.d.ts +7 -0
  173. package/dist/index.esm.css +0 -97
  174. package/dist/index.esm.js +5495 -14503
  175. package/dist/index.esm.js.map +1 -1
  176. package/dist/ui_components/Dropzone.d.ts +1 -0
  177. package/dist/ui_components/ImageLoader.d.ts +1 -0
  178. package/dist/ui_components/LayerList/LayerList.d.ts +6 -0
  179. package/dist/ui_components/LayerList/LayerList.stories.d.ts +12 -0
  180. package/dist/ui_components/LayerList/LayerListFolder.d.ts +9 -0
  181. package/dist/ui_components/LayerList/LayerListItem.d.ts +18 -0
  182. package/dist/ui_components/LayerList/util/LayerListItemVectorLayer.d.ts +15 -0
  183. package/dist/ui_components/LayerList/util/LayerPropertyForm.d.ts +10 -0
  184. package/dist/ui_components/LayerList/util/input/ColorPicker.d.ts +10 -0
  185. package/dist/ui_components/LoadingOverlayContext.d.ts +0 -1
  186. package/dist/ui_components/MapcomponentsTheme.d.ts +7 -0
  187. package/dist/ui_components/Tooltip.d.ts +1 -0
  188. package/dist/ui_components/TopToolbar.d.ts +1 -0
  189. package/dist/ui_components/UploadButton.d.ts +1 -0
  190. package/dist/util/Instructions.d.ts +1 -0
  191. package/package.json +24 -31
  192. package/rollup.config.js +61 -44
  193. package/src/@types/assets/index.d.ts +1 -1
  194. package/src/App.css +0 -55
  195. package/src/components/MapLibreMap/MapLibreMap.stories.js +36 -37
  196. package/src/components/MapLibreMap/MapLibreMap.tsx +23 -17
  197. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +1 -1
  198. package/src/components/MlCenterPosition/MlCenterPosition.tsx +22 -29
  199. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +6 -6
  200. package/src/components/MlFollowGps/MlFollowGps.stories.js +28 -10
  201. package/src/components/MlFollowGps/MlFollowGps.tsx +31 -50
  202. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +1 -1
  203. package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +16 -10
  204. package/src/components/MlGpxViewer/MlGpxViewer.stories.tsx +4 -13
  205. package/src/components/MlGpxViewer/util/MlGpxDemoLoader.tsx +3 -1
  206. package/src/components/MlNavigationTools/MlNavigationTools.stories.js +4 -5
  207. package/src/components/MlNavigationTools/MlNavigationTools.tsx +30 -54
  208. package/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx +1 -1
  209. package/src/components/MlSketchTool/MlSketchTool.tsx +1 -1
  210. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +7 -3
  211. package/src/components/MlWmsLoader/MlWmsLoader.stories.tsx +3 -11
  212. package/src/components/MlWmsLoader/utils/MlWmsLoaderInstructions.tsx +2 -2
  213. package/src/components/MlWmsLoader/utils/WMSLinks.tsx +1 -1
  214. package/src/contexts/MapContext.tsx +8 -1
  215. package/src/custom.d.ts +4 -5
  216. package/src/decorators/EmptyMapDecorator.js +38 -0
  217. package/src/decorators/MapContextDecorator.js +10 -16
  218. package/src/decorators/MapContextDecoratorHooks.js +25 -30
  219. package/src/decorators/MultiMapContextDecorator.js +8 -18
  220. package/src/decorators/NoNavToolsDecorator.js +8 -15
  221. package/src/decorators/ThemeDecorator.js +24 -0
  222. package/src/decorators/style.css +0 -2
  223. package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +13 -19
  224. package/src/hooks/useExportMap/lib.ts +1 -1
  225. package/src/hooks/useGpx/useGpx.stories.js +1 -1
  226. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.stories.js +1 -1
  227. package/src/hooks/useMapState.stories.js +1 -1
  228. package/src/hooks/useSources.stories.js +1 -1
  229. package/src/index.ts +9 -0
  230. package/src/ui_components/LayerList/LayerList.stories.tsx +136 -0
  231. package/src/ui_components/LayerList/LayerList.tsx +12 -0
  232. package/src/ui_components/LayerList/LayerListFolder.tsx +82 -0
  233. package/src/ui_components/LayerList/LayerListItem.tsx +180 -0
  234. package/src/ui_components/LayerList/assets/sample_1.json +26 -0
  235. package/src/ui_components/LayerList/assets/sample_2.json +22 -0
  236. package/src/ui_components/LayerList/assets/sample_polygon_1.json +33 -0
  237. package/src/ui_components/LayerList/assets/style.json +2599 -0
  238. package/src/ui_components/LayerList/util/LayerListItemVectorLayer.tsx +92 -0
  239. package/src/ui_components/LayerList/util/LayerPropertyForm.tsx +125 -0
  240. package/src/ui_components/LayerList/util/input/ColorPicker.tsx +44 -0
  241. package/src/ui_components/MapcomponentsTheme.tsx +133 -0
  242. package/src/ui_components/Sidebar.tsx +16 -11
  243. package/src/ui_components/TopToolbar.tsx +1 -3
  244. package/src/util/BubbleForInstructions.js +14 -12
  245. package/tsconfig.json +3 -10
  246. package/dist/components/MlGPXViewer/MlGPXViewer.d.ts +0 -29
  247. package/dist/components/MlGPXViewer/MlGPXViewer.stories.d.ts +0 -16
  248. package/dist/components/MlGPXViewer/MlGPXViewer.test.d.ts +0 -1
  249. package/dist/components/MlGPXViewer/gpxConverter.d.ts +0 -11
  250. package/dist/components/MlGPXViewer/util/GeoJsonContext.d.ts +0 -10
  251. package/dist/components/MlGPXViewer/util/GeoJsonProvider.d.ts +0 -4
  252. package/dist/components/MlLayer/MlLayer.stories.d.ts +0 -10
  253. package/dist/custom.d.d.ts +0 -22
  254. package/dist/decorators/ThemeWrapper.d.ts +0 -1
  255. package/dist/hooks/exportMap/index.d.ts +0 -11
  256. package/dist/hooks/exportMap/lib.d.ts +0 -36
  257. package/dist/ui_components/Legend.d.ts +0 -1
  258. package/dist/ui_components/LoadingOverlay.d.ts +0 -2
@@ -0,0 +1,2599 @@
1
+ {
2
+ "version": 8,
3
+ "name": "OSM Bright",
4
+ "metadata": {
5
+ "mapbox:type": "template",
6
+ "mapbox:groups": {
7
+ "1444849364238.8171": { "collapsed": false, "name": "Buildings" },
8
+ "1444849354174.1904": { "collapsed": true, "name": "Tunnels" },
9
+ "1444849388993.3071": { "collapsed": false, "name": "Land" },
10
+ "1444849242106.713": { "collapsed": false, "name": "Places" },
11
+ "1444849382550.77": { "collapsed": false, "name": "Water" },
12
+ "1444849345966.4436": { "collapsed": false, "name": "Roads" },
13
+ "1444849334699.1902": { "collapsed": true, "name": "Bridges" }
14
+ },
15
+ "mapbox:autocomposite": false,
16
+ "openmaptiles:version": "3.x",
17
+ "openmaptiles:mapbox:owner": "openmaptiles",
18
+ "openmaptiles:mapbox:source:url": "mapbox://openmaptiles.4qljc88t"
19
+ },
20
+ "center": [8.542, 47.372],
21
+ "zoom": 11.6,
22
+ "bearing": 0,
23
+ "pitch": 0,
24
+ "sources": {
25
+ "openmaptiles": {
26
+ "type": "vector",
27
+ "url": "https://wms.wheregroup.com/tileserver/tile/world-0-14.json"
28
+ }
29
+ },
30
+ "sprite": "https://wms.wheregroup.com/tileserver/sprites/osm-bright",
31
+ "glyphs": "https://wms.wheregroup.com/tileserver/fonts/{fontstack}/{range}.pbf",
32
+ "layers": [
33
+ { "id": "background", "type": "background", "paint": { "background-color": "#fff1bd" } },
34
+ {
35
+ "id": "landcover-glacier",
36
+ "type": "fill",
37
+ "metadata": { "mapbox:group": "1444849388993.3071" },
38
+ "source": "openmaptiles",
39
+ "source-layer": "landcover",
40
+ "filter": ["==", "subclass", "glacier"],
41
+ "layout": { "visibility": "visible" },
42
+ "paint": {
43
+ "fill-color": "#90EE90",
44
+ "fill-opacity": {
45
+ "base": 1,
46
+ "stops": [
47
+ [0, 0.9],
48
+ [10, 0.3]
49
+ ]
50
+ }
51
+ }
52
+ },
53
+ {
54
+ "id": "landuse-residential",
55
+ "type": "fill",
56
+ "metadata": { "mapbox:group": "1444849388993.3071" },
57
+ "source": "openmaptiles",
58
+ "source-layer": "landuse",
59
+ "filter": ["==", "class", "residential"],
60
+ "paint": { "fill-color": "#98FB98" }
61
+ },
62
+ {
63
+ "id": "landuse-commercial",
64
+ "type": "fill",
65
+ "metadata": { "mapbox:group": "1444849388993.3071" },
66
+ "source": "openmaptiles",
67
+ "source-layer": "landuse",
68
+ "filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "commercial"]],
69
+ "paint": { "fill-color": "#a2fba2" }
70
+ },
71
+ {
72
+ "id": "landuse-industrial",
73
+ "type": "fill",
74
+ "metadata": { "mapbox:group": "1444849388993.3071" },
75
+ "source": "openmaptiles",
76
+ "source-layer": "landuse",
77
+ "filter": ["all", ["==", "$type", "Polygon"], ["==", "class", "industrial"]],
78
+ "paint": { "fill-color": "#adfcad" }
79
+ },
80
+ {
81
+ "id": "park",
82
+ "type": "fill",
83
+ "metadata": { "mapbox:group": "1444849388993.3071" },
84
+ "source": "openmaptiles",
85
+ "source-layer": "park",
86
+ "filter": ["==", "$type", "Polygon"],
87
+ "paint": {
88
+ "fill-color": "#98FB98",
89
+ "fill-opacity": {
90
+ "base": 1.8,
91
+ "stops": [
92
+ [9, 0.5],
93
+ [12, 0.2]
94
+ ]
95
+ }
96
+ }
97
+ },
98
+ {
99
+ "id": "park-outline",
100
+ "type": "line",
101
+ "metadata": { "mapbox:group": "1444849388993.3071" },
102
+ "source": "openmaptiles",
103
+ "source-layer": "park",
104
+ "filter": ["==", "$type", "Polygon"],
105
+ "layout": {},
106
+ "paint": { "line-color": "rgba(152,251,152,0.6)", "line-dasharray": [3, 3] }
107
+ },
108
+ {
109
+ "id": "landuse-cemetery",
110
+ "type": "fill",
111
+ "metadata": { "mapbox:group": "1444849388993.3071" },
112
+ "source": "openmaptiles",
113
+ "source-layer": "landuse",
114
+ "filter": ["==", "class", "cemetery"],
115
+ "paint": { "fill-color": "#9dfb9d" }
116
+ },
117
+ {
118
+ "id": "landuse-hospital",
119
+ "type": "fill",
120
+ "metadata": { "mapbox:group": "1444849388993.3071" },
121
+ "source": "openmaptiles",
122
+ "source-layer": "landuse",
123
+ "filter": ["==", "class", "hospital"],
124
+ "paint": { "fill-color": "#FFFFE0" }
125
+ },
126
+ {
127
+ "id": "landuse-school",
128
+ "type": "fill",
129
+ "metadata": { "mapbox:group": "1444849388993.3071" },
130
+ "source": "openmaptiles",
131
+ "source-layer": "landuse",
132
+ "filter": ["==", "class", "school"],
133
+ "paint": { "fill-color": "rgba(255,255,224,0.8)" }
134
+ },
135
+ {
136
+ "id": "landuse-railway",
137
+ "type": "fill",
138
+ "metadata": { "mapbox:group": "1444849388993.3071" },
139
+ "source": "openmaptiles",
140
+ "source-layer": "landuse",
141
+ "filter": ["==", "class", "railway"],
142
+ "paint": { "fill-color": "rgba(173,156,92,0.4)" }
143
+ },
144
+ {
145
+ "id": "landcover-wood",
146
+ "type": "fill",
147
+ "metadata": { "mapbox:group": "1444849388993.3071" },
148
+ "source": "openmaptiles",
149
+ "source-layer": "landcover",
150
+ "filter": ["==", "class", "wood"],
151
+ "paint": {
152
+ "fill-color": "#90EE90",
153
+ "fill-opacity": 0.1,
154
+ "fill-outline-color": "hsla(0, 0%, 0%, 0.03)",
155
+ "fill-antialias": {
156
+ "base": 1,
157
+ "stops": [
158
+ [0, false],
159
+ [9, true]
160
+ ]
161
+ }
162
+ }
163
+ },
164
+ {
165
+ "id": "landcover-grass",
166
+ "type": "fill",
167
+ "metadata": { "mapbox:group": "1444849388993.3071" },
168
+ "source": "openmaptiles",
169
+ "source-layer": "landcover",
170
+ "filter": ["==", "class", "grass"],
171
+ "paint": { "fill-color": "#98FB98", "fill-opacity": 1 }
172
+ },
173
+ {
174
+ "id": "landcover-grass-park",
175
+ "type": "fill",
176
+ "metadata": { "mapbox:group": "1444849388993.3071" },
177
+ "source": "openmaptiles",
178
+ "source-layer": "park",
179
+ "filter": ["==", "class", "public_park"],
180
+ "paint": { "fill-color": "#98FB98", "fill-opacity": 0.8 }
181
+ },
182
+ {
183
+ "id": "waterway-other",
184
+ "type": "line",
185
+ "metadata": { "mapbox:group": "1444849382550.77" },
186
+ "source": "openmaptiles",
187
+ "source-layer": "waterway",
188
+ "filter": ["!in", "class", "canal", "river", "stream"],
189
+ "layout": { "line-cap": "round" },
190
+ "paint": {
191
+ "line-color": "#87CEFA",
192
+ "line-width": {
193
+ "base": 1.3,
194
+ "stops": [
195
+ [13, 0.5],
196
+ [20, 2]
197
+ ]
198
+ }
199
+ }
200
+ },
201
+ {
202
+ "id": "waterway-stream-canal",
203
+ "type": "line",
204
+ "metadata": { "mapbox:group": "1444849382550.77" },
205
+ "source": "openmaptiles",
206
+ "source-layer": "waterway",
207
+ "filter": ["in", "class", "canal", "stream"],
208
+ "layout": { "line-cap": "round" },
209
+ "paint": {
210
+ "line-color": "#87CEFA",
211
+ "line-width": {
212
+ "base": 1.3,
213
+ "stops": [
214
+ [13, 0.5],
215
+ [20, 6]
216
+ ]
217
+ }
218
+ }
219
+ },
220
+ {
221
+ "id": "waterway-river",
222
+ "type": "line",
223
+ "metadata": { "mapbox:group": "1444849382550.77" },
224
+ "source": "openmaptiles",
225
+ "source-layer": "waterway",
226
+ "filter": ["==", "class", "river"],
227
+ "layout": { "line-cap": "round" },
228
+ "paint": {
229
+ "line-color": "#87CEFA",
230
+ "line-width": {
231
+ "base": 1.2,
232
+ "stops": [
233
+ [10, 0.8],
234
+ [20, 6]
235
+ ]
236
+ }
237
+ }
238
+ },
239
+ {
240
+ "id": "water-offset",
241
+ "type": "fill",
242
+ "metadata": { "mapbox:group": "1444849382550.77" },
243
+ "source": "openmaptiles",
244
+ "source-layer": "water",
245
+ "maxzoom": 8,
246
+ "filter": ["==", "$type", "Polygon"],
247
+ "layout": { "visibility": "visible" },
248
+ "paint": {
249
+ "fill-opacity": 1,
250
+ "fill-color": "#87CEFA",
251
+ "fill-translate": {
252
+ "base": 1,
253
+ "stops": [
254
+ [6, [2, 0]],
255
+ [8, [0, 0]]
256
+ ]
257
+ }
258
+ }
259
+ },
260
+ {
261
+ "id": "water",
262
+ "type": "fill",
263
+ "metadata": { "mapbox:group": "1444849382550.77" },
264
+ "source": "openmaptiles",
265
+ "source-layer": "water",
266
+ "layout": { "visibility": "visible" },
267
+ "paint": { "fill-color": "#8fccf3" }
268
+ },
269
+ {
270
+ "id": "water-pattern",
271
+ "type": "fill",
272
+ "metadata": { "mapbox:group": "1444849382550.77" },
273
+ "source": "openmaptiles",
274
+ "source-layer": "water",
275
+ "layout": { "visibility": "visible" },
276
+ "paint": { "fill-translate": [0, 2.5], "fill-pattern": "wave" }
277
+ },
278
+ {
279
+ "id": "landcover-ice-shelf",
280
+ "type": "fill",
281
+ "metadata": { "mapbox:group": "1444849382550.77" },
282
+ "source": "openmaptiles",
283
+ "source-layer": "landcover",
284
+ "filter": ["==", "subclass", "ice_shelf"],
285
+ "layout": { "visibility": "visible" },
286
+ "paint": {
287
+ "fill-color": "#90EE90",
288
+ "fill-opacity": {
289
+ "base": 1,
290
+ "stops": [
291
+ [0, 0.9],
292
+ [10, 0.3]
293
+ ]
294
+ }
295
+ }
296
+ },
297
+ {
298
+ "id": "building",
299
+ "type": "fill",
300
+ "metadata": { "mapbox:group": "1444849364238.8171" },
301
+ "source": "openmaptiles",
302
+ "source-layer": "building",
303
+ "paint": { "fill-color": "#F0E68C", "fill-antialias": true }
304
+ },
305
+ {
306
+ "id": "building-top",
307
+ "type": "fill",
308
+ "metadata": { "mapbox:group": "1444849364238.8171" },
309
+ "source": "openmaptiles",
310
+ "source-layer": "building",
311
+ "layout": { "visibility": "visible" },
312
+ "paint": {
313
+ "fill-translate": {
314
+ "base": 1,
315
+ "stops": [
316
+ [14, [0, 0]],
317
+ [16, [-2, -2]]
318
+ ]
319
+ },
320
+ "fill-outline-color": "#dfdbd7",
321
+ "fill-color": "#fcfae6",
322
+ "fill-opacity": {
323
+ "base": 1,
324
+ "stops": [
325
+ [13, 0],
326
+ [16, 1]
327
+ ]
328
+ }
329
+ }
330
+ },
331
+ {
332
+ "id": "tunnel-service-track-casing",
333
+ "type": "line",
334
+ "metadata": { "mapbox:group": "1444849354174.1904" },
335
+ "source": "openmaptiles",
336
+ "source-layer": "transportation",
337
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "service", "track"]],
338
+ "layout": { "line-join": "round" },
339
+ "paint": {
340
+ "line-color": "#cfc5a0",
341
+ "line-dasharray": [0.5, 0.25],
342
+ "line-width": {
343
+ "base": 1.2,
344
+ "stops": [
345
+ [15, 1],
346
+ [16, 4],
347
+ [20, 11]
348
+ ]
349
+ }
350
+ }
351
+ },
352
+ {
353
+ "id": "tunnel-minor-casing",
354
+ "type": "line",
355
+ "metadata": { "mapbox:group": "1444849354174.1904" },
356
+ "source": "openmaptiles",
357
+ "source-layer": "transportation",
358
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "minor"]],
359
+ "layout": { "line-join": "round" },
360
+ "paint": {
361
+ "line-color": "#cfc5a0",
362
+ "line-opacity": {
363
+ "stops": [
364
+ [12, 0],
365
+ [12.5, 1]
366
+ ]
367
+ },
368
+ "line-width": {
369
+ "base": 1.2,
370
+ "stops": [
371
+ [12, 0.5],
372
+ [13, 1],
373
+ [14, 4],
374
+ [20, 15]
375
+ ]
376
+ }
377
+ }
378
+ },
379
+ {
380
+ "id": "tunnel-secondary-tertiary-casing",
381
+ "type": "line",
382
+ "metadata": { "mapbox:group": "1444849354174.1904" },
383
+ "source": "openmaptiles",
384
+ "source-layer": "transportation",
385
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "secondary", "tertiary"]],
386
+ "layout": { "line-join": "round" },
387
+ "paint": {
388
+ "line-color": "#cfc5a0",
389
+ "line-opacity": 1,
390
+ "line-width": {
391
+ "base": 1.2,
392
+ "stops": [
393
+ [8, 1.5],
394
+ [20, 17]
395
+ ]
396
+ }
397
+ }
398
+ },
399
+ {
400
+ "id": "tunnel-trunk-primary-casing",
401
+ "type": "line",
402
+ "metadata": { "mapbox:group": "1444849354174.1904" },
403
+ "source": "openmaptiles",
404
+ "source-layer": "transportation",
405
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "primary", "trunk"]],
406
+ "layout": { "line-join": "round" },
407
+ "paint": {
408
+ "line-color": "#cfc5a0",
409
+ "line-width": {
410
+ "base": 1.2,
411
+ "stops": [
412
+ [5, 0.4],
413
+ [6, 0.6],
414
+ [7, 1.5],
415
+ [20, 22]
416
+ ]
417
+ }
418
+ }
419
+ },
420
+ {
421
+ "id": "tunnel-motorway-casing",
422
+ "type": "line",
423
+ "metadata": { "mapbox:group": "1444849354174.1904" },
424
+ "source": "openmaptiles",
425
+ "source-layer": "transportation",
426
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "motorway"]],
427
+ "layout": { "line-join": "round", "visibility": "visible" },
428
+ "paint": {
429
+ "line-color": "#cfc5a0",
430
+ "line-dasharray": [0.5, 0.25],
431
+ "line-width": {
432
+ "base": 1.2,
433
+ "stops": [
434
+ [5, 0.4],
435
+ [6, 0.6],
436
+ [7, 1.5],
437
+ [20, 22]
438
+ ]
439
+ }
440
+ }
441
+ },
442
+ {
443
+ "id": "tunnel-path",
444
+ "type": "line",
445
+ "metadata": { "mapbox:group": "1444849354174.1904" },
446
+ "source": "openmaptiles",
447
+ "source-layer": "transportation",
448
+ "filter": [
449
+ "all",
450
+ ["==", "$type", "LineString"],
451
+ ["all", ["==", "brunnel", "tunnel"], ["==", "class", "path"]]
452
+ ],
453
+ "paint": {
454
+ "line-color": "#ccc199",
455
+ "line-dasharray": [1.5, 0.75],
456
+ "line-width": {
457
+ "base": 1.2,
458
+ "stops": [
459
+ [15, 1.2],
460
+ [20, 4]
461
+ ]
462
+ }
463
+ }
464
+ },
465
+ {
466
+ "id": "tunnel-service-track",
467
+ "type": "line",
468
+ "metadata": { "mapbox:group": "1444849354174.1904" },
469
+ "source": "openmaptiles",
470
+ "source-layer": "transportation",
471
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "service", "track"]],
472
+ "layout": { "line-join": "round" },
473
+ "paint": {
474
+ "line-color": "#ccc199",
475
+ "line-width": {
476
+ "base": 1.2,
477
+ "stops": [
478
+ [15.5, 0],
479
+ [16, 2],
480
+ [20, 7.5]
481
+ ]
482
+ }
483
+ }
484
+ },
485
+ {
486
+ "id": "tunnel-minor",
487
+ "type": "line",
488
+ "metadata": { "mapbox:group": "1444849354174.1904" },
489
+ "source": "openmaptiles",
490
+ "source-layer": "transportation",
491
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "minor_road"]],
492
+ "layout": { "line-join": "round" },
493
+ "paint": {
494
+ "line-color": "#ccc199",
495
+ "line-opacity": 1,
496
+ "line-width": {
497
+ "base": 1.2,
498
+ "stops": [
499
+ [13.5, 0],
500
+ [14, 2.5],
501
+ [20, 11.5]
502
+ ]
503
+ }
504
+ }
505
+ },
506
+ {
507
+ "id": "tunnel-secondary-tertiary",
508
+ "type": "line",
509
+ "metadata": { "mapbox:group": "1444849354174.1904" },
510
+ "source": "openmaptiles",
511
+ "source-layer": "transportation",
512
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "secondary", "tertiary"]],
513
+ "layout": { "line-join": "round" },
514
+ "paint": {
515
+ "line-color": "#bbac77",
516
+ "line-width": {
517
+ "base": 1.2,
518
+ "stops": [
519
+ [6.5, 0],
520
+ [7, 0.5],
521
+ [20, 10]
522
+ ]
523
+ }
524
+ }
525
+ },
526
+ {
527
+ "id": "tunnel-trunk-primary",
528
+ "type": "line",
529
+ "metadata": { "mapbox:group": "1444849354174.1904" },
530
+ "source": "openmaptiles",
531
+ "source-layer": "transportation",
532
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["in", "class", "primary", "trunk"]],
533
+ "layout": { "line-join": "round" },
534
+ "paint": {
535
+ "line-color": "#cfc5a0",
536
+ "line-width": {
537
+ "base": 1.2,
538
+ "stops": [
539
+ [6.5, 0],
540
+ [7, 0.5],
541
+ [20, 18]
542
+ ]
543
+ }
544
+ }
545
+ },
546
+ {
547
+ "id": "tunnel-motorway",
548
+ "type": "line",
549
+ "metadata": { "mapbox:group": "1444849354174.1904" },
550
+ "source": "openmaptiles",
551
+ "source-layer": "transportation",
552
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "motorway"]],
553
+ "layout": { "line-join": "round", "visibility": "visible" },
554
+ "paint": {
555
+ "line-color": "#ead485",
556
+ "line-width": {
557
+ "base": 1.2,
558
+ "stops": [
559
+ [6.5, 0],
560
+ [7, 0.5],
561
+ [20, 18]
562
+ ]
563
+ }
564
+ }
565
+ },
566
+ {
567
+ "id": "tunnel-railway",
568
+ "type": "line",
569
+ "metadata": { "mapbox:group": "1444849354174.1904" },
570
+ "source": "openmaptiles",
571
+ "source-layer": "transportation",
572
+ "filter": ["all", ["==", "brunnel", "tunnel"], ["==", "class", "rail"]],
573
+ "paint": {
574
+ "line-color": "#ccc199",
575
+ "line-width": {
576
+ "base": 1.4,
577
+ "stops": [
578
+ [14, 0.4],
579
+ [15, 0.75],
580
+ [20, 2]
581
+ ]
582
+ },
583
+ "line-dasharray": [2, 2]
584
+ }
585
+ },
586
+ {
587
+ "id": "aeroway-taxiway-casing",
588
+ "type": "line",
589
+ "metadata": { "mapbox:group": "1444849345966.4436" },
590
+ "source": "openmaptiles",
591
+ "source-layer": "aeroway",
592
+ "minzoom": 12,
593
+ "filter": ["all", ["in", "class", "taxiway"]],
594
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
595
+ "paint": {
596
+ "line-color": "#ccc199",
597
+ "line-width": {
598
+ "base": 1.5,
599
+ "stops": [
600
+ [11, 2],
601
+ [17, 12]
602
+ ]
603
+ },
604
+ "line-opacity": 1
605
+ }
606
+ },
607
+ {
608
+ "id": "aeroway-runway-casing",
609
+ "type": "line",
610
+ "metadata": { "mapbox:group": "1444849345966.4436" },
611
+ "source": "openmaptiles",
612
+ "source-layer": "aeroway",
613
+ "minzoom": 12,
614
+ "filter": ["all", ["in", "class", "runway"]],
615
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
616
+ "paint": {
617
+ "line-color": "#ccc199",
618
+ "line-width": {
619
+ "base": 1.5,
620
+ "stops": [
621
+ [11, 5],
622
+ [17, 55]
623
+ ]
624
+ },
625
+ "line-opacity": 1
626
+ }
627
+ },
628
+ {
629
+ "id": "aeroway-area",
630
+ "type": "fill",
631
+ "metadata": { "mapbox:group": "1444849345966.4436" },
632
+ "source": "openmaptiles",
633
+ "source-layer": "aeroway",
634
+ "minzoom": 4,
635
+ "filter": ["all", ["==", "$type", "Polygon"], ["in", "class", "runway", "taxiway"]],
636
+ "layout": { "visibility": "visible" },
637
+ "paint": {
638
+ "fill-opacity": {
639
+ "base": 1,
640
+ "stops": [
641
+ [13, 0],
642
+ [14, 1]
643
+ ]
644
+ },
645
+ "fill-color": "rgba(207,197,16,0.5)"
646
+ }
647
+ },
648
+ {
649
+ "id": "aeroway-taxiway",
650
+ "type": "line",
651
+ "metadata": { "mapbox:group": "1444849345966.4436" },
652
+ "source": "openmaptiles",
653
+ "source-layer": "aeroway",
654
+ "minzoom": 4,
655
+ "filter": ["all", ["in", "class", "taxiway"], ["==", "$type", "LineString"]],
656
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
657
+ "paint": {
658
+ "line-color": "#ccc199",
659
+ "line-width": {
660
+ "base": 1.5,
661
+ "stops": [
662
+ [11, 1],
663
+ [17, 10]
664
+ ]
665
+ },
666
+ "line-opacity": {
667
+ "base": 1,
668
+ "stops": [
669
+ [11, 0],
670
+ [12, 1]
671
+ ]
672
+ }
673
+ }
674
+ },
675
+ {
676
+ "id": "aeroway-runway",
677
+ "type": "line",
678
+ "metadata": { "mapbox:group": "1444849345966.4436" },
679
+ "source": "openmaptiles",
680
+ "source-layer": "aeroway",
681
+ "minzoom": 4,
682
+ "filter": ["all", ["in", "class", "runway"], ["==", "$type", "LineString"]],
683
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
684
+ "paint": {
685
+ "line-color": "#ccc199",
686
+ "line-width": {
687
+ "base": 1.5,
688
+ "stops": [
689
+ [11, 4],
690
+ [17, 50]
691
+ ]
692
+ },
693
+ "line-opacity": {
694
+ "base": 1,
695
+ "stops": [
696
+ [11, 0],
697
+ [12, 1]
698
+ ]
699
+ }
700
+ }
701
+ },
702
+ {
703
+ "id": "highway-area",
704
+ "type": "fill",
705
+ "metadata": { "mapbox:group": "1444849345966.4436" },
706
+ "source": "openmaptiles",
707
+ "source-layer": "transportation",
708
+ "filter": ["==", "$type", "Polygon"],
709
+ "layout": { "visibility": "visible" },
710
+ "paint": {
711
+ "fill-color": "#ccc199",
712
+ "fill-outline-color": "#cfcdca",
713
+ "fill-opacity": 0.9,
714
+ "fill-antialias": false
715
+ }
716
+ },
717
+ {
718
+ "id": "highway-motorway-link-casing",
719
+ "type": "line",
720
+ "metadata": { "mapbox:group": "1444849345966.4436" },
721
+ "source": "openmaptiles",
722
+ "source-layer": "transportation",
723
+ "minzoom": 12,
724
+ "filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway_link"]],
725
+ "layout": { "line-cap": "round", "line-join": "round" },
726
+ "paint": {
727
+ "line-color": "#cfc5a0",
728
+ "line-opacity": 1,
729
+ "line-width": {
730
+ "base": 1.2,
731
+ "stops": [
732
+ [12, 1],
733
+ [13, 3],
734
+ [14, 4],
735
+ [20, 15]
736
+ ]
737
+ }
738
+ }
739
+ },
740
+ {
741
+ "id": "highway-link-casing",
742
+ "type": "line",
743
+ "metadata": { "mapbox:group": "1444849345966.4436" },
744
+ "source": "openmaptiles",
745
+ "source-layer": "transportation",
746
+ "minzoom": 13,
747
+ "filter": [
748
+ "all",
749
+ ["!in", "brunnel", "bridge", "tunnel"],
750
+ ["in", "class", "primary_link", "secondary_link", "tertiary_link", "trunk_link"]
751
+ ],
752
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
753
+ "paint": {
754
+ "line-color": "#cfc5a0",
755
+ "line-opacity": 1,
756
+ "line-width": {
757
+ "base": 1.2,
758
+ "stops": [
759
+ [12, 1],
760
+ [13, 3],
761
+ [14, 4],
762
+ [20, 15]
763
+ ]
764
+ }
765
+ }
766
+ },
767
+ {
768
+ "id": "highway-minor-casing",
769
+ "type": "line",
770
+ "metadata": { "mapbox:group": "1444849345966.4436" },
771
+ "source": "openmaptiles",
772
+ "source-layer": "transportation",
773
+ "filter": [
774
+ "all",
775
+ ["==", "$type", "LineString"],
776
+ ["all", ["!=", "brunnel", "tunnel"], ["in", "class", "minor", "service", "track"]]
777
+ ],
778
+ "layout": { "line-cap": "round", "line-join": "round" },
779
+ "paint": {
780
+ "line-color": "#e2d08d",
781
+ "line-opacity": {
782
+ "stops": [
783
+ [12, 0],
784
+ [12.5, 1]
785
+ ]
786
+ },
787
+ "line-width": {
788
+ "base": 1.2,
789
+ "stops": [
790
+ [12, 0.5],
791
+ [13, 1],
792
+ [14, 4],
793
+ [20, 15]
794
+ ]
795
+ }
796
+ }
797
+ },
798
+ {
799
+ "id": "highway-secondary-tertiary-casing",
800
+ "type": "line",
801
+ "metadata": { "mapbox:group": "1444849345966.4436" },
802
+ "source": "openmaptiles",
803
+ "source-layer": "transportation",
804
+ "filter": [
805
+ "all",
806
+ ["!in", "brunnel", "bridge", "tunnel"],
807
+ ["in", "class", "secondary", "tertiary"]
808
+ ],
809
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
810
+ "paint": {
811
+ "line-color": "#cfc5a0",
812
+ "line-opacity": 1,
813
+ "line-width": {
814
+ "base": 1.2,
815
+ "stops": [
816
+ [8, 1.5],
817
+ [20, 17]
818
+ ]
819
+ }
820
+ }
821
+ },
822
+ {
823
+ "id": "highway-primary-casing",
824
+ "type": "line",
825
+ "metadata": { "mapbox:group": "1444849345966.4436" },
826
+ "source": "openmaptiles",
827
+ "source-layer": "transportation",
828
+ "minzoom": 5,
829
+ "filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary"]],
830
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
831
+ "paint": {
832
+ "line-color": "#cfc5a0",
833
+ "line-opacity": {
834
+ "stops": [
835
+ [7, 0],
836
+ [8, 1]
837
+ ]
838
+ },
839
+ "line-width": {
840
+ "base": 1.2,
841
+ "stops": [
842
+ [7, 0],
843
+ [8, 0.6],
844
+ [9, 1.5],
845
+ [20, 22]
846
+ ]
847
+ }
848
+ }
849
+ },
850
+ {
851
+ "id": "highway-trunk-casing",
852
+ "type": "line",
853
+ "metadata": { "mapbox:group": "1444849345966.4436" },
854
+ "source": "openmaptiles",
855
+ "source-layer": "transportation",
856
+ "minzoom": 5,
857
+ "filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "trunk"]],
858
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
859
+ "paint": {
860
+ "line-color": "#cfc5a0",
861
+ "line-opacity": {
862
+ "stops": [
863
+ [5, 0],
864
+ [6, 1]
865
+ ]
866
+ },
867
+ "line-width": {
868
+ "base": 1.2,
869
+ "stops": [
870
+ [5, 0],
871
+ [6, 0.6],
872
+ [7, 1.5],
873
+ [20, 22]
874
+ ]
875
+ }
876
+ }
877
+ },
878
+ {
879
+ "id": "highway-motorway-casing",
880
+ "type": "line",
881
+ "metadata": { "mapbox:group": "1444849345966.4436" },
882
+ "source": "openmaptiles",
883
+ "source-layer": "transportation",
884
+ "minzoom": 4,
885
+ "filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"]],
886
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
887
+ "paint": {
888
+ "line-color": "#cfc5a0",
889
+ "line-width": {
890
+ "base": 1.2,
891
+ "stops": [
892
+ [4, 0],
893
+ [5, 0.4],
894
+ [6, 0.6],
895
+ [7, 1.5],
896
+ [20, 22]
897
+ ]
898
+ },
899
+ "line-opacity": {
900
+ "stops": [
901
+ [4, 0],
902
+ [5, 1]
903
+ ]
904
+ }
905
+ }
906
+ },
907
+ {
908
+ "id": "highway-path",
909
+ "type": "line",
910
+ "metadata": { "mapbox:group": "1444849345966.4436" },
911
+ "source": "openmaptiles",
912
+ "source-layer": "transportation",
913
+ "filter": [
914
+ "all",
915
+ ["==", "$type", "LineString"],
916
+ ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "path"]]
917
+ ],
918
+ "paint": {
919
+ "line-color": "#FFB6C1",
920
+ "line-dasharray": [1.5, 0.75],
921
+ "line-width": {
922
+ "base": 1.2,
923
+ "stops": [
924
+ [15, 1.2],
925
+ [20, 4]
926
+ ]
927
+ }
928
+ }
929
+ },
930
+ {
931
+ "id": "highway-motorway-link",
932
+ "type": "line",
933
+ "metadata": { "mapbox:group": "1444849345966.4436" },
934
+ "source": "openmaptiles",
935
+ "source-layer": "transportation",
936
+ "minzoom": 12,
937
+ "filter": ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway_link"]],
938
+ "layout": { "line-cap": "round", "line-join": "round" },
939
+ "paint": {
940
+ "line-color": "#f8dc77",
941
+ "line-width": {
942
+ "base": 1.2,
943
+ "stops": [
944
+ [12.5, 0],
945
+ [13, 1.5],
946
+ [14, 2.5],
947
+ [20, 11.5]
948
+ ]
949
+ }
950
+ }
951
+ },
952
+ {
953
+ "id": "highway-link",
954
+ "type": "line",
955
+ "metadata": { "mapbox:group": "1444849345966.4436" },
956
+ "source": "openmaptiles",
957
+ "source-layer": "transportation",
958
+ "minzoom": 13,
959
+ "filter": [
960
+ "all",
961
+ ["!in", "brunnel", "bridge", "tunnel"],
962
+ ["in", "class", "primary_link", "secondary_link", "tertiary_link", "trunk_link"]
963
+ ],
964
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
965
+ "paint": {
966
+ "line-color": "#cfc5a0",
967
+ "line-width": {
968
+ "base": 1.2,
969
+ "stops": [
970
+ [12.5, 0],
971
+ [13, 1.5],
972
+ [14, 2.5],
973
+ [20, 11.5]
974
+ ]
975
+ }
976
+ }
977
+ },
978
+ {
979
+ "id": "highway-minor",
980
+ "type": "line",
981
+ "metadata": { "mapbox:group": "1444849345966.4436" },
982
+ "source": "openmaptiles",
983
+ "source-layer": "transportation",
984
+ "filter": [
985
+ "all",
986
+ ["==", "$type", "LineString"],
987
+ ["all", ["!=", "brunnel", "tunnel"], ["in", "class", "minor", "service", "track"]]
988
+ ],
989
+ "layout": { "line-cap": "round", "line-join": "round" },
990
+ "paint": {
991
+ "line-color": "#ddd6bb",
992
+ "line-opacity": 1,
993
+ "line-width": {
994
+ "base": 1.2,
995
+ "stops": [
996
+ [13.5, 0],
997
+ [14, 2.5],
998
+ [20, 11.5]
999
+ ]
1000
+ }
1001
+ }
1002
+ },
1003
+ {
1004
+ "id": "highway-secondary-tertiary",
1005
+ "type": "line",
1006
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1007
+ "source": "openmaptiles",
1008
+ "source-layer": "transportation",
1009
+ "filter": [
1010
+ "all",
1011
+ ["!in", "brunnel", "bridge", "tunnel"],
1012
+ ["in", "class", "secondary", "tertiary"]
1013
+ ],
1014
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
1015
+ "paint": {
1016
+ "line-color": "#cfc5a0",
1017
+ "line-width": {
1018
+ "base": 1.2,
1019
+ "stops": [
1020
+ [6.5, 0],
1021
+ [8, 0.5],
1022
+ [20, 13]
1023
+ ]
1024
+ }
1025
+ }
1026
+ },
1027
+ {
1028
+ "id": "highway-primary",
1029
+ "type": "line",
1030
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1031
+ "source": "openmaptiles",
1032
+ "source-layer": "transportation",
1033
+ "filter": [
1034
+ "all",
1035
+ ["==", "$type", "LineString"],
1036
+ ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "primary"]]
1037
+ ],
1038
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
1039
+ "paint": {
1040
+ "line-color": "#cfc5a0",
1041
+ "line-width": {
1042
+ "base": 1.2,
1043
+ "stops": [
1044
+ [8.5, 0],
1045
+ [9, 0.5],
1046
+ [20, 18]
1047
+ ]
1048
+ }
1049
+ }
1050
+ },
1051
+ {
1052
+ "id": "highway-trunk",
1053
+ "type": "line",
1054
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1055
+ "source": "openmaptiles",
1056
+ "source-layer": "transportation",
1057
+ "filter": [
1058
+ "all",
1059
+ ["==", "$type", "LineString"],
1060
+ ["all", ["!in", "brunnel", "bridge", "tunnel"], ["in", "class", "trunk"]]
1061
+ ],
1062
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
1063
+ "paint": {
1064
+ "line-color": "#cfc5a0",
1065
+ "line-width": {
1066
+ "base": 1.2,
1067
+ "stops": [
1068
+ [6.5, 0],
1069
+ [7, 0.5],
1070
+ [20, 18]
1071
+ ]
1072
+ }
1073
+ }
1074
+ },
1075
+ {
1076
+ "id": "highway-motorway",
1077
+ "type": "line",
1078
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1079
+ "source": "openmaptiles",
1080
+ "source-layer": "transportation",
1081
+ "minzoom": 5,
1082
+ "filter": [
1083
+ "all",
1084
+ ["==", "$type", "LineString"],
1085
+ ["all", ["!in", "brunnel", "bridge", "tunnel"], ["==", "class", "motorway"]]
1086
+ ],
1087
+ "layout": { "line-cap": "round", "line-join": "round", "visibility": "visible" },
1088
+ "paint": {
1089
+ "line-color": "#f8dc77",
1090
+ "line-width": {
1091
+ "base": 1.2,
1092
+ "stops": [
1093
+ [6.5, 0],
1094
+ [7, 0.5],
1095
+ [20, 18]
1096
+ ]
1097
+ }
1098
+ }
1099
+ },
1100
+ {
1101
+ "id": "railway-service",
1102
+ "type": "line",
1103
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1104
+ "source": "openmaptiles",
1105
+ "source-layer": "transportation",
1106
+ "filter": [
1107
+ "all",
1108
+ ["==", "$type", "LineString"],
1109
+ ["all", ["==", "class", "rail"], ["has", "service"]]
1110
+ ],
1111
+ "paint": {
1112
+ "line-color": "rgba(204,193,153,0.7)",
1113
+ "line-width": {
1114
+ "base": 1.4,
1115
+ "stops": [
1116
+ [14, 0.4],
1117
+ [20, 1]
1118
+ ]
1119
+ }
1120
+ }
1121
+ },
1122
+ {
1123
+ "id": "railway-service-hatching",
1124
+ "type": "line",
1125
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1126
+ "source": "openmaptiles",
1127
+ "source-layer": "transportation",
1128
+ "filter": [
1129
+ "all",
1130
+ ["==", "$type", "LineString"],
1131
+ ["all", ["==", "class", "rail"], ["has", "service"]]
1132
+ ],
1133
+ "layout": { "visibility": "visible" },
1134
+ "paint": {
1135
+ "line-color": "rgba(204,193,153,0.7)",
1136
+ "line-dasharray": [0.2, 8],
1137
+ "line-width": {
1138
+ "base": 1.4,
1139
+ "stops": [
1140
+ [14.5, 0],
1141
+ [15, 2],
1142
+ [20, 6]
1143
+ ]
1144
+ }
1145
+ }
1146
+ },
1147
+ {
1148
+ "id": "railway",
1149
+ "type": "line",
1150
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1151
+ "source": "openmaptiles",
1152
+ "source-layer": "transportation",
1153
+ "filter": [
1154
+ "all",
1155
+ ["==", "$type", "LineString"],
1156
+ [
1157
+ "all",
1158
+ ["!has", "service"],
1159
+ ["!in", "brunnel", "bridge", "tunnel"],
1160
+ ["==", "class", "rail"]
1161
+ ]
1162
+ ],
1163
+ "paint": {
1164
+ "line-color": "#887944",
1165
+ "line-width": {
1166
+ "base": 1.4,
1167
+ "stops": [
1168
+ [14, 0.4],
1169
+ [15, 0.75],
1170
+ [20, 2]
1171
+ ]
1172
+ }
1173
+ }
1174
+ },
1175
+ {
1176
+ "id": "railway-hatching",
1177
+ "type": "line",
1178
+ "metadata": { "mapbox:group": "1444849345966.4436" },
1179
+ "source": "openmaptiles",
1180
+ "source-layer": "transportation",
1181
+ "filter": [
1182
+ "all",
1183
+ ["==", "$type", "LineString"],
1184
+ [
1185
+ "all",
1186
+ ["!has", "service"],
1187
+ ["!in", "brunnel", "bridge", "tunnel"],
1188
+ ["==", "class", "rail"]
1189
+ ]
1190
+ ],
1191
+ "paint": {
1192
+ "line-color": "#887944",
1193
+ "line-dasharray": [0.2, 8],
1194
+ "line-width": {
1195
+ "base": 1.4,
1196
+ "stops": [
1197
+ [14.5, 0],
1198
+ [15, 3],
1199
+ [20, 8]
1200
+ ]
1201
+ }
1202
+ }
1203
+ },
1204
+ {
1205
+ "id": "bridge-motorway-link-casing",
1206
+ "type": "line",
1207
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1208
+ "source": "openmaptiles",
1209
+ "source-layer": "transportation",
1210
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "motorway_link"]],
1211
+ "layout": { "line-join": "round" },
1212
+ "paint": {
1213
+ "line-color": "#cfc5a0",
1214
+ "line-opacity": 1,
1215
+ "line-width": {
1216
+ "base": 1.2,
1217
+ "stops": [
1218
+ [12, 1],
1219
+ [13, 3],
1220
+ [14, 4],
1221
+ [20, 15]
1222
+ ]
1223
+ }
1224
+ }
1225
+ },
1226
+ {
1227
+ "id": "bridge-link-casing",
1228
+ "type": "line",
1229
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1230
+ "source": "openmaptiles",
1231
+ "source-layer": "transportation",
1232
+ "filter": [
1233
+ "all",
1234
+ ["==", "brunnel", "bridge"],
1235
+ ["in", "class", "primary_link", "secondary_link", "tertiary_link", "trunk_link"]
1236
+ ],
1237
+ "layout": { "line-join": "round" },
1238
+ "paint": {
1239
+ "line-color": "#cfc5a0",
1240
+ "line-opacity": 1,
1241
+ "line-width": {
1242
+ "base": 1.2,
1243
+ "stops": [
1244
+ [12, 1],
1245
+ [13, 3],
1246
+ [14, 4],
1247
+ [20, 15]
1248
+ ]
1249
+ }
1250
+ }
1251
+ },
1252
+ {
1253
+ "id": "bridge-secondary-tertiary-casing",
1254
+ "type": "line",
1255
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1256
+ "source": "openmaptiles",
1257
+ "source-layer": "transportation",
1258
+ "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "secondary", "tertiary"]],
1259
+ "layout": { "line-join": "round" },
1260
+ "paint": {
1261
+ "line-color": "#cfc5a0",
1262
+ "line-opacity": 1,
1263
+ "line-width": {
1264
+ "base": 1.2,
1265
+ "stops": [
1266
+ [8, 1.5],
1267
+ [20, 28]
1268
+ ]
1269
+ }
1270
+ }
1271
+ },
1272
+ {
1273
+ "id": "bridge-trunk-primary-casing",
1274
+ "type": "line",
1275
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1276
+ "source": "openmaptiles",
1277
+ "source-layer": "transportation",
1278
+ "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "primary", "trunk"]],
1279
+ "layout": { "line-join": "round" },
1280
+ "paint": {
1281
+ "line-color": "#cfc5a0",
1282
+ "line-width": {
1283
+ "base": 1.2,
1284
+ "stops": [
1285
+ [5, 0.4],
1286
+ [6, 0.6],
1287
+ [7, 1.5],
1288
+ [20, 26]
1289
+ ]
1290
+ }
1291
+ }
1292
+ },
1293
+ {
1294
+ "id": "bridge-motorway-casing",
1295
+ "type": "line",
1296
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1297
+ "source": "openmaptiles",
1298
+ "source-layer": "transportation",
1299
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "motorway"]],
1300
+ "layout": { "line-join": "round" },
1301
+ "paint": {
1302
+ "line-color": "#cfc5a0",
1303
+ "line-width": {
1304
+ "base": 1.2,
1305
+ "stops": [
1306
+ [5, 0.4],
1307
+ [6, 0.6],
1308
+ [7, 1.5],
1309
+ [20, 22]
1310
+ ]
1311
+ }
1312
+ }
1313
+ },
1314
+ {
1315
+ "id": "bridge-path-casing",
1316
+ "type": "line",
1317
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1318
+ "source": "openmaptiles",
1319
+ "source-layer": "transportation",
1320
+ "filter": [
1321
+ "all",
1322
+ ["==", "$type", "LineString"],
1323
+ ["all", ["==", "brunnel", "bridge"], ["==", "class", "path"]]
1324
+ ],
1325
+ "paint": {
1326
+ "line-color": "#bbac77",
1327
+ "line-width": {
1328
+ "base": 1.2,
1329
+ "stops": [
1330
+ [15, 1.2],
1331
+ [20, 18]
1332
+ ]
1333
+ }
1334
+ }
1335
+ },
1336
+ {
1337
+ "id": "bridge-path",
1338
+ "type": "line",
1339
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1340
+ "source": "openmaptiles",
1341
+ "source-layer": "transportation",
1342
+ "filter": [
1343
+ "all",
1344
+ ["==", "$type", "LineString"],
1345
+ ["all", ["==", "brunnel", "bridge"], ["==", "class", "path"]]
1346
+ ],
1347
+ "paint": {
1348
+ "line-color": "#FFB6C1",
1349
+ "line-width": {
1350
+ "base": 1.2,
1351
+ "stops": [
1352
+ [15, 1.2],
1353
+ [20, 4]
1354
+ ]
1355
+ },
1356
+ "line-dasharray": [1.5, 0.75]
1357
+ }
1358
+ },
1359
+ {
1360
+ "id": "bridge-motorway-link",
1361
+ "type": "line",
1362
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1363
+ "source": "openmaptiles",
1364
+ "source-layer": "transportation",
1365
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "motorway_link"]],
1366
+ "layout": { "line-join": "round" },
1367
+ "paint": {
1368
+ "line-color": "#e2d08d",
1369
+ "line-width": {
1370
+ "base": 1.2,
1371
+ "stops": [
1372
+ [12.5, 0],
1373
+ [13, 1.5],
1374
+ [14, 2.5],
1375
+ [20, 11.5]
1376
+ ]
1377
+ }
1378
+ }
1379
+ },
1380
+ {
1381
+ "id": "bridge-link",
1382
+ "type": "line",
1383
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1384
+ "source": "openmaptiles",
1385
+ "source-layer": "transportation",
1386
+ "filter": [
1387
+ "all",
1388
+ ["==", "brunnel", "bridge"],
1389
+ ["in", "class", "primary_link", "secondary_link", "tertiary_link", "trunk_link"]
1390
+ ],
1391
+ "layout": { "line-join": "round" },
1392
+ "paint": {
1393
+ "line-color": "#cfc5a0",
1394
+ "line-width": {
1395
+ "base": 1.2,
1396
+ "stops": [
1397
+ [12.5, 0],
1398
+ [13, 1.5],
1399
+ [14, 2.5],
1400
+ [20, 11.5]
1401
+ ]
1402
+ }
1403
+ }
1404
+ },
1405
+ {
1406
+ "id": "bridge-secondary-tertiary",
1407
+ "type": "line",
1408
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1409
+ "source": "openmaptiles",
1410
+ "source-layer": "transportation",
1411
+ "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "secondary", "tertiary"]],
1412
+ "layout": { "line-join": "round" },
1413
+ "paint": {
1414
+ "line-color": "#cfc5a0",
1415
+ "line-width": {
1416
+ "base": 1.2,
1417
+ "stops": [
1418
+ [6.5, 0],
1419
+ [7, 0.5],
1420
+ [20, 20]
1421
+ ]
1422
+ }
1423
+ }
1424
+ },
1425
+ {
1426
+ "id": "bridge-trunk-primary",
1427
+ "type": "line",
1428
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1429
+ "source": "openmaptiles",
1430
+ "source-layer": "transportation",
1431
+ "filter": ["all", ["==", "brunnel", "bridge"], ["in", "class", "primary", "trunk"]],
1432
+ "layout": { "line-join": "round" },
1433
+ "paint": {
1434
+ "line-color": "#cfc5a0",
1435
+ "line-width": {
1436
+ "base": 1.2,
1437
+ "stops": [
1438
+ [6.5, 0],
1439
+ [7, 0.5],
1440
+ [20, 18]
1441
+ ]
1442
+ }
1443
+ }
1444
+ },
1445
+ {
1446
+ "id": "bridge-motorway",
1447
+ "type": "line",
1448
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1449
+ "source": "openmaptiles",
1450
+ "source-layer": "transportation",
1451
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "motorway"]],
1452
+ "layout": { "line-join": "round" },
1453
+ "paint": {
1454
+ "line-color": "#e2d08d",
1455
+ "line-width": {
1456
+ "base": 1.2,
1457
+ "stops": [
1458
+ [6.5, 0],
1459
+ [7, 0.5],
1460
+ [20, 18]
1461
+ ]
1462
+ }
1463
+ }
1464
+ },
1465
+ {
1466
+ "id": "bridge-railway",
1467
+ "type": "line",
1468
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1469
+ "source": "openmaptiles",
1470
+ "source-layer": "transportation",
1471
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "rail"]],
1472
+ "paint": {
1473
+ "line-color": "#665b33",
1474
+ "line-width": {
1475
+ "base": 1.4,
1476
+ "stops": [
1477
+ [14, 0.4],
1478
+ [15, 0.75],
1479
+ [20, 2]
1480
+ ]
1481
+ }
1482
+ }
1483
+ },
1484
+ {
1485
+ "id": "bridge-railway-hatching",
1486
+ "type": "line",
1487
+ "metadata": { "mapbox:group": "1444849334699.1902" },
1488
+ "source": "openmaptiles",
1489
+ "source-layer": "transportation",
1490
+ "filter": ["all", ["==", "brunnel", "bridge"], ["==", "class", "rail"]],
1491
+ "paint": {
1492
+ "line-color": "#887944",
1493
+ "line-dasharray": [0.2, 8],
1494
+ "line-width": {
1495
+ "base": 1.4,
1496
+ "stops": [
1497
+ [14.5, 0],
1498
+ [15, 3],
1499
+ [20, 8]
1500
+ ]
1501
+ }
1502
+ }
1503
+ },
1504
+ {
1505
+ "id": "boundary-land-level-4",
1506
+ "type": "line",
1507
+ "source": "openmaptiles",
1508
+ "source-layer": "boundary",
1509
+ "filter": ["all", ["in", "admin_level", 4, 6, 8], ["!=", "maritime", 1]],
1510
+ "layout": { "line-join": "round" },
1511
+ "paint": {
1512
+ "line-color": "#FFA07A",
1513
+ "line-dasharray": [3, 1, 1, 1],
1514
+ "line-width": {
1515
+ "base": 1.4,
1516
+ "stops": [
1517
+ [4, 0.4],
1518
+ [5, 1],
1519
+ [12, 3]
1520
+ ]
1521
+ }
1522
+ }
1523
+ },
1524
+ {
1525
+ "id": "boundary-land-level-2",
1526
+ "type": "line",
1527
+ "source": "openmaptiles",
1528
+ "source-layer": "boundary",
1529
+ "filter": ["all", ["==", "admin_level", 2], ["!=", "maritime", 1]],
1530
+ "layout": { "line-cap": "round", "line-join": "round" },
1531
+ "paint": {
1532
+ "line-color": "#FFA07A",
1533
+ "line-width": {
1534
+ "base": 1,
1535
+ "stops": [
1536
+ [0, 0.6],
1537
+ [4, 1.4],
1538
+ [5, 2],
1539
+ [12, 8]
1540
+ ]
1541
+ }
1542
+ }
1543
+ },
1544
+ {
1545
+ "id": "boundary-water",
1546
+ "type": "line",
1547
+ "source": "openmaptiles",
1548
+ "source-layer": "boundary",
1549
+ "filter": ["all", ["in", "admin_level", 2, 4], ["==", "maritime", 1]],
1550
+ "layout": { "line-cap": "round", "line-join": "round" },
1551
+ "paint": {
1552
+ "line-color": "#87CEFA",
1553
+ "line-width": {
1554
+ "base": 1,
1555
+ "stops": [
1556
+ [0, 0.6],
1557
+ [4, 1.4],
1558
+ [5, 2],
1559
+ [12, 8]
1560
+ ]
1561
+ },
1562
+ "line-opacity": {
1563
+ "stops": [
1564
+ [6, 0.6],
1565
+ [10, 1]
1566
+ ]
1567
+ }
1568
+ }
1569
+ },
1570
+ {
1571
+ "id": "waterway-name",
1572
+ "type": "symbol",
1573
+ "source": "openmaptiles",
1574
+ "source-layer": "waterway",
1575
+ "minzoom": 13,
1576
+ "filter": ["all", ["==", "$type", "LineString"], ["has", "name"], ["!has", "name:de"]],
1577
+ "layout": {
1578
+ "text-font": ["Open Sans Italic"],
1579
+ "text-size": 14,
1580
+ "text-field": "{name:latin} {name:nonlatin}",
1581
+ "text-max-width": 5,
1582
+ "text-rotation-alignment": "map",
1583
+ "symbol-placement": "line",
1584
+ "text-letter-spacing": 0.2,
1585
+ "symbol-spacing": 350
1586
+ },
1587
+ "paint": {
1588
+ "text-color": "#74aee9",
1589
+ "text-halo-width": 1.5,
1590
+ "text-halo-color": "rgba(255,255,255,0.7)"
1591
+ }
1592
+ },
1593
+ {
1594
+ "id": "waterway-name-en",
1595
+ "type": "symbol",
1596
+ "source": "openmaptiles",
1597
+ "source-layer": "waterway",
1598
+ "minzoom": 13,
1599
+ "filter": ["all", ["==", "$type", "LineString"], ["has", "name"], ["has", "name:de"]],
1600
+ "layout": {
1601
+ "text-font": ["Open Sans Italic"],
1602
+ "text-size": 14,
1603
+ "text-field": "{name:de} {name:nonlatin}",
1604
+ "text-max-width": 5,
1605
+ "text-rotation-alignment": "map",
1606
+ "symbol-placement": "line",
1607
+ "text-letter-spacing": 0.2,
1608
+ "symbol-spacing": 350
1609
+ },
1610
+ "paint": {
1611
+ "text-color": "#74aee9",
1612
+ "text-halo-width": 1.5,
1613
+ "text-halo-color": "rgba(255,255,255,0.7)"
1614
+ }
1615
+ },
1616
+ {
1617
+ "id": "water-name-lakeline",
1618
+ "type": "symbol",
1619
+ "source": "openmaptiles",
1620
+ "source-layer": "water_name",
1621
+ "filter": ["all", ["==", "$type", "LineString"], ["!has", "name:de"]],
1622
+ "layout": {
1623
+ "text-font": ["Open Sans Italic"],
1624
+ "text-size": 14,
1625
+ "text-field": "{name:latin} {name:nonlatin}",
1626
+ "text-max-width": 5,
1627
+ "text-rotation-alignment": "map",
1628
+ "symbol-placement": "line",
1629
+ "symbol-spacing": 350,
1630
+ "text-letter-spacing": 0.2
1631
+ },
1632
+ "paint": {
1633
+ "text-color": "#74aee9",
1634
+ "text-halo-width": 1.5,
1635
+ "text-halo-color": "rgba(255,255,255,0.7)"
1636
+ }
1637
+ },
1638
+ {
1639
+ "id": "water-name-lakeline-en",
1640
+ "type": "symbol",
1641
+ "source": "openmaptiles",
1642
+ "source-layer": "water_name",
1643
+ "filter": ["all", ["==", "$type", "LineString"], ["has", "name:de"]],
1644
+ "layout": {
1645
+ "text-font": ["Open Sans Italic"],
1646
+ "text-size": 14,
1647
+ "text-field": "{name:de} {name:nonlatin}",
1648
+ "text-max-width": 5,
1649
+ "text-rotation-alignment": "map",
1650
+ "symbol-placement": "line",
1651
+ "symbol-spacing": 350,
1652
+ "text-letter-spacing": 0.2
1653
+ },
1654
+ "paint": {
1655
+ "text-color": "#74aee9",
1656
+ "text-halo-width": 1.5,
1657
+ "text-halo-color": "rgba(255,255,255,0.7)"
1658
+ }
1659
+ },
1660
+ {
1661
+ "id": "water-name-ocean",
1662
+ "type": "symbol",
1663
+ "source": "openmaptiles",
1664
+ "source-layer": "water_name",
1665
+ "filter": ["all", ["==", "$type", "Point"], ["==", "class", "ocean"], ["!has", "name:de"]],
1666
+ "layout": {
1667
+ "text-font": ["Open Sans Italic"],
1668
+ "text-size": 14,
1669
+ "text-field": "{name:latin}\n{name:nonlatin}",
1670
+ "text-max-width": 5,
1671
+ "text-rotation-alignment": "map",
1672
+ "symbol-placement": "point",
1673
+ "symbol-spacing": 350,
1674
+ "text-letter-spacing": 0.2
1675
+ },
1676
+ "paint": {
1677
+ "text-color": "#74aee9",
1678
+ "text-halo-width": 1.5,
1679
+ "text-halo-color": "rgba(255,255,255,0.7)"
1680
+ }
1681
+ },
1682
+ {
1683
+ "id": "water-name-ocean-en",
1684
+ "type": "symbol",
1685
+ "source": "openmaptiles",
1686
+ "source-layer": "water_name",
1687
+ "filter": ["all", ["==", "$type", "Point"], ["==", "class", "ocean"], ["has", "name:de"]],
1688
+ "layout": {
1689
+ "text-font": ["Open Sans Italic"],
1690
+ "text-size": 14,
1691
+ "text-field": "{name:de}\n{name:nonlatin}",
1692
+ "text-max-width": 5,
1693
+ "text-rotation-alignment": "map",
1694
+ "symbol-placement": "point",
1695
+ "symbol-spacing": 350,
1696
+ "text-letter-spacing": 0.2
1697
+ },
1698
+ "paint": {
1699
+ "text-color": "#74aee9",
1700
+ "text-halo-width": 1.5,
1701
+ "text-halo-color": "rgba(255,255,255,0.7)"
1702
+ }
1703
+ },
1704
+ {
1705
+ "id": "water-name-other",
1706
+ "type": "symbol",
1707
+ "source": "openmaptiles",
1708
+ "source-layer": "water_name",
1709
+ "filter": ["all", ["==", "$type", "Point"], ["!in", "class", "ocean"], ["!has", "name:de"]],
1710
+ "layout": {
1711
+ "text-font": ["Open Sans Italic"],
1712
+ "text-size": {
1713
+ "stops": [
1714
+ [0, 10],
1715
+ [6, 14]
1716
+ ]
1717
+ },
1718
+ "text-field": "{name:latin}\n{name:nonlatin}",
1719
+ "text-max-width": 5,
1720
+ "text-rotation-alignment": "map",
1721
+ "symbol-placement": "point",
1722
+ "symbol-spacing": 350,
1723
+ "text-letter-spacing": 0.2,
1724
+ "visibility": "visible"
1725
+ },
1726
+ "paint": {
1727
+ "text-color": "#74aee9",
1728
+ "text-halo-width": 1.5,
1729
+ "text-halo-color": "rgba(255,255,255,0.7)"
1730
+ }
1731
+ },
1732
+ {
1733
+ "id": "water-name-other-en",
1734
+ "type": "symbol",
1735
+ "source": "openmaptiles",
1736
+ "source-layer": "water_name",
1737
+ "filter": ["all", ["==", "$type", "Point"], ["!in", "class", "ocean"], ["has", "name:de"]],
1738
+ "layout": {
1739
+ "text-font": ["Open Sans Italic"],
1740
+ "text-size": {
1741
+ "stops": [
1742
+ [0, 10],
1743
+ [6, 14]
1744
+ ]
1745
+ },
1746
+ "text-field": "{name:de}\n{name:nonlatin}",
1747
+ "text-max-width": 5,
1748
+ "text-rotation-alignment": "map",
1749
+ "symbol-placement": "point",
1750
+ "symbol-spacing": 350,
1751
+ "text-letter-spacing": 0.2,
1752
+ "visibility": "visible"
1753
+ },
1754
+ "paint": {
1755
+ "text-color": "#74aee9",
1756
+ "text-halo-width": 1.5,
1757
+ "text-halo-color": "rgba(255,255,255,0.7)"
1758
+ }
1759
+ },
1760
+ {
1761
+ "id": "poi-level-3",
1762
+ "type": "symbol",
1763
+ "source": "openmaptiles",
1764
+ "source-layer": "poi",
1765
+ "minzoom": 16,
1766
+ "filter": ["all", ["==", "$type", "Point"], [">=", "rank", 25], ["!has", "name:de"]],
1767
+ "layout": {
1768
+ "text-padding": 2,
1769
+ "text-font": ["Open Sans Semibold"],
1770
+ "text-anchor": "top",
1771
+ "icon-image": "{class}_11",
1772
+ "text-field": "{name:latin}\n{name:nonlatin}",
1773
+ "text-offset": [0, 0.6],
1774
+ "text-size": 12,
1775
+ "text-max-width": 9
1776
+ },
1777
+ "paint": {
1778
+ "text-halo-blur": 0.5,
1779
+ "text-color": "#fdfdfd",
1780
+ "text-halo-width": 1,
1781
+ "text-halo-color": "#633"
1782
+ }
1783
+ },
1784
+ {
1785
+ "id": "poi-level-3-en",
1786
+ "type": "symbol",
1787
+ "source": "openmaptiles",
1788
+ "source-layer": "poi",
1789
+ "minzoom": 16,
1790
+ "filter": ["all", ["==", "$type", "Point"], [">=", "rank", 25], ["has", "name:de"]],
1791
+ "layout": {
1792
+ "text-padding": 2,
1793
+ "text-font": ["Open Sans Semibold"],
1794
+ "text-anchor": "top",
1795
+ "icon-image": "{class}_11",
1796
+ "text-field": "{name:de}\n{name:nonlatin}",
1797
+ "text-offset": [0, 0.6],
1798
+ "text-size": 12,
1799
+ "text-max-width": 9
1800
+ },
1801
+ "paint": {
1802
+ "text-halo-blur": 0.5,
1803
+ "text-color": "#fdfdfd",
1804
+ "text-halo-width": 1,
1805
+ "text-halo-color": "#633"
1806
+ }
1807
+ },
1808
+ {
1809
+ "id": "poi-level-2",
1810
+ "type": "symbol",
1811
+ "source": "openmaptiles",
1812
+ "source-layer": "poi",
1813
+ "minzoom": 15,
1814
+ "filter": [
1815
+ "all",
1816
+ ["==", "$type", "Point"],
1817
+ ["all", ["<=", "rank", 24], [">=", "rank", 15]],
1818
+ ["!has", "name:de"]
1819
+ ],
1820
+ "layout": {
1821
+ "text-padding": 2,
1822
+ "text-font": ["Open Sans Semibold"],
1823
+ "text-anchor": "top",
1824
+ "icon-image": "{class}_11",
1825
+ "text-field": "{name:latin}\n{name:nonlatin}",
1826
+ "text-offset": [0, 0.6],
1827
+ "text-size": 12,
1828
+ "text-max-width": 9
1829
+ },
1830
+ "paint": {
1831
+ "text-halo-blur": 0.5,
1832
+ "text-color": "#fdfdfd",
1833
+ "text-halo-width": 1,
1834
+ "text-halo-color": "#633"
1835
+ }
1836
+ },
1837
+ {
1838
+ "id": "poi-level-2-en",
1839
+ "type": "symbol",
1840
+ "source": "openmaptiles",
1841
+ "source-layer": "poi",
1842
+ "minzoom": 15,
1843
+ "filter": [
1844
+ "all",
1845
+ ["==", "$type", "Point"],
1846
+ ["all", ["<=", "rank", 24], [">=", "rank", 15]],
1847
+ ["has", "name:de"]
1848
+ ],
1849
+ "layout": {
1850
+ "text-padding": 2,
1851
+ "text-font": ["Open Sans Semibold"],
1852
+ "text-anchor": "top",
1853
+ "icon-image": "{class}_11",
1854
+ "text-field": "{name:de}\n{name:nonlatin}",
1855
+ "text-offset": [0, 0.6],
1856
+ "text-size": 12,
1857
+ "text-max-width": 9
1858
+ },
1859
+ "paint": {
1860
+ "text-halo-blur": 0.5,
1861
+ "text-color": "#fdfdfd",
1862
+ "text-halo-width": 1,
1863
+ "text-halo-color": "#633"
1864
+ }
1865
+ },
1866
+ {
1867
+ "id": "poi-level-1",
1868
+ "type": "symbol",
1869
+ "source": "openmaptiles",
1870
+ "source-layer": "poi",
1871
+ "minzoom": 14,
1872
+ "filter": [
1873
+ "all",
1874
+ ["==", "$type", "Point"],
1875
+ ["all", ["<=", "rank", 14], ["has", "name"]],
1876
+ ["!has", "name:de"]
1877
+ ],
1878
+ "layout": {
1879
+ "text-padding": 2,
1880
+ "text-font": ["Open Sans Semibold"],
1881
+ "text-anchor": "top",
1882
+ "icon-image": "{class}_11",
1883
+ "text-field": "{name:latin}\n{name:nonlatin}",
1884
+ "text-offset": [0, 0.6],
1885
+ "text-size": 12,
1886
+ "text-max-width": 9
1887
+ },
1888
+ "paint": {
1889
+ "text-halo-blur": 0.5,
1890
+ "text-color": "#fdfdfd",
1891
+ "text-halo-width": 1,
1892
+ "text-halo-color": "#633"
1893
+ }
1894
+ },
1895
+ {
1896
+ "id": "poi-level-1-en",
1897
+ "type": "symbol",
1898
+ "source": "openmaptiles",
1899
+ "source-layer": "poi",
1900
+ "minzoom": 14,
1901
+ "filter": [
1902
+ "all",
1903
+ ["==", "$type", "Point"],
1904
+ ["all", ["<=", "rank", 14], ["has", "name"]],
1905
+ ["has", "name:de"]
1906
+ ],
1907
+ "layout": {
1908
+ "text-padding": 2,
1909
+ "text-font": ["Open Sans Semibold"],
1910
+ "text-anchor": "top",
1911
+ "icon-image": "{class}_11",
1912
+ "text-field": "{name:de}\n{name:nonlatin}",
1913
+ "text-offset": [0, 0.6],
1914
+ "text-size": 12,
1915
+ "text-max-width": 9
1916
+ },
1917
+ "paint": {
1918
+ "text-halo-blur": 0.5,
1919
+ "text-color": "#fdfdfd",
1920
+ "text-halo-width": 1,
1921
+ "text-halo-color": "#633"
1922
+ }
1923
+ },
1924
+ {
1925
+ "id": "highway-name-path",
1926
+ "type": "symbol",
1927
+ "source": "openmaptiles",
1928
+ "source-layer": "transportation_name",
1929
+ "minzoom": 15.5,
1930
+ "filter": ["all", ["==", "class", "path"], ["!has", "name:de"]],
1931
+ "layout": {
1932
+ "text-size": {
1933
+ "base": 1,
1934
+ "stops": [
1935
+ [13, 12],
1936
+ [14, 13]
1937
+ ]
1938
+ },
1939
+ "text-font": ["Open Sans Regular"],
1940
+ "text-field": "{name:latin} {name:nonlatin}",
1941
+ "symbol-placement": "line",
1942
+ "text-rotation-alignment": "map"
1943
+ },
1944
+ "paint": {
1945
+ "text-halo-color": "#f8f4f0",
1946
+ "text-color": "hsl(30, 23%, 62%)",
1947
+ "text-halo-width": 0.5
1948
+ }
1949
+ },
1950
+ {
1951
+ "id": "highway-name-path-en",
1952
+ "type": "symbol",
1953
+ "source": "openmaptiles",
1954
+ "source-layer": "transportation_name",
1955
+ "minzoom": 15.5,
1956
+ "filter": ["all", ["==", "class", "path"], ["has", "name:de"]],
1957
+ "layout": {
1958
+ "text-size": {
1959
+ "base": 1,
1960
+ "stops": [
1961
+ [13, 12],
1962
+ [14, 13]
1963
+ ]
1964
+ },
1965
+ "text-font": ["Open Sans Regular"],
1966
+ "text-field": "{name:de} {name:nonlatin}",
1967
+ "symbol-placement": "line",
1968
+ "text-rotation-alignment": "map"
1969
+ },
1970
+ "paint": {
1971
+ "text-halo-color": "#f8f4f0",
1972
+ "text-color": "hsl(30, 23%, 62%)",
1973
+ "text-halo-width": 0.5
1974
+ }
1975
+ },
1976
+ {
1977
+ "id": "highway-name-minor",
1978
+ "type": "symbol",
1979
+ "source": "openmaptiles",
1980
+ "source-layer": "transportation_name",
1981
+ "minzoom": 15,
1982
+ "filter": [
1983
+ "all",
1984
+ ["==", "$type", "LineString"],
1985
+ ["in", "class", "minor", "service", "track"],
1986
+ ["!has", "name:de"]
1987
+ ],
1988
+ "layout": {
1989
+ "text-size": {
1990
+ "base": 1,
1991
+ "stops": [
1992
+ [13, 12],
1993
+ [14, 13]
1994
+ ]
1995
+ },
1996
+ "text-font": ["Open Sans Regular"],
1997
+ "text-field": "{name:latin} {name:nonlatin}",
1998
+ "symbol-placement": "line",
1999
+ "text-rotation-alignment": "map"
2000
+ },
2001
+ "paint": { "text-halo-blur": 0.5, "text-color": "#765", "text-halo-width": 1 }
2002
+ },
2003
+ {
2004
+ "id": "highway-name-minor-en",
2005
+ "type": "symbol",
2006
+ "source": "openmaptiles",
2007
+ "source-layer": "transportation_name",
2008
+ "minzoom": 15,
2009
+ "filter": [
2010
+ "all",
2011
+ ["==", "$type", "LineString"],
2012
+ ["in", "class", "minor", "service", "track"],
2013
+ ["has", "name:de"]
2014
+ ],
2015
+ "layout": {
2016
+ "text-size": {
2017
+ "base": 1,
2018
+ "stops": [
2019
+ [13, 12],
2020
+ [14, 13]
2021
+ ]
2022
+ },
2023
+ "text-font": ["Open Sans Regular"],
2024
+ "text-field": "{name:de} {name:nonlatin}",
2025
+ "symbol-placement": "line",
2026
+ "text-rotation-alignment": "map"
2027
+ },
2028
+ "paint": { "text-halo-blur": 0.5, "text-color": "#765", "text-halo-width": 1 }
2029
+ },
2030
+ {
2031
+ "id": "highway-name-major",
2032
+ "type": "symbol",
2033
+ "source": "openmaptiles",
2034
+ "source-layer": "transportation_name",
2035
+ "minzoom": 12.2,
2036
+ "filter": [
2037
+ "all",
2038
+ ["in", "class", "primary", "secondary", "tertiary", "trunk"],
2039
+ ["!has", "name:de"]
2040
+ ],
2041
+ "layout": {
2042
+ "text-size": {
2043
+ "base": 1,
2044
+ "stops": [
2045
+ [13, 12],
2046
+ [14, 13]
2047
+ ]
2048
+ },
2049
+ "text-font": ["Open Sans Regular"],
2050
+ "text-field": "{name:latin} {name:nonlatin}",
2051
+ "symbol-placement": "line",
2052
+ "text-rotation-alignment": "map"
2053
+ },
2054
+ "paint": { "text-halo-blur": 0.5, "text-color": "#765", "text-halo-width": 1 }
2055
+ },
2056
+ {
2057
+ "id": "highway-name-major-en",
2058
+ "type": "symbol",
2059
+ "source": "openmaptiles",
2060
+ "source-layer": "transportation_name",
2061
+ "minzoom": 12.2,
2062
+ "filter": [
2063
+ "all",
2064
+ ["in", "class", "primary", "secondary", "tertiary", "trunk"],
2065
+ ["has", "name:de"]
2066
+ ],
2067
+ "layout": {
2068
+ "text-size": {
2069
+ "base": 1,
2070
+ "stops": [
2071
+ [13, 12],
2072
+ [14, 13]
2073
+ ]
2074
+ },
2075
+ "text-font": ["Open Sans Regular"],
2076
+ "text-field": "{name:de} {name:nonlatin}",
2077
+ "symbol-placement": "line",
2078
+ "text-rotation-alignment": "map"
2079
+ },
2080
+ "paint": { "text-halo-blur": 0.5, "text-color": "#765", "text-halo-width": 1 }
2081
+ },
2082
+ {
2083
+ "id": "highway-shield",
2084
+ "type": "symbol",
2085
+ "source": "openmaptiles",
2086
+ "source-layer": "transportation_name",
2087
+ "minzoom": 8,
2088
+ "filter": [
2089
+ "all",
2090
+ ["<=", "ref_length", 6],
2091
+ ["==", "$type", "LineString"],
2092
+ ["!in", "network", "us-interstate", "us-highway", "us-state"]
2093
+ ],
2094
+ "layout": {
2095
+ "text-size": 10,
2096
+ "icon-image": "road_{ref_length}",
2097
+ "icon-rotation-alignment": "viewport",
2098
+ "symbol-spacing": 200,
2099
+ "text-font": ["Open Sans Semibold"],
2100
+ "symbol-placement": {
2101
+ "base": 1,
2102
+ "stops": [
2103
+ [10, "point"],
2104
+ [11, "line"]
2105
+ ]
2106
+ },
2107
+ "text-rotation-alignment": "viewport",
2108
+ "icon-size": 1,
2109
+ "text-field": "{ref}"
2110
+ },
2111
+ "paint": {}
2112
+ },
2113
+ {
2114
+ "id": "highway-shield-us-interstate",
2115
+ "type": "symbol",
2116
+ "source": "openmaptiles",
2117
+ "source-layer": "transportation_name",
2118
+ "minzoom": 7,
2119
+ "filter": [
2120
+ "all",
2121
+ ["<=", "ref_length", 6],
2122
+ ["==", "$type", "LineString"],
2123
+ ["in", "network", "us-interstate"]
2124
+ ],
2125
+ "layout": {
2126
+ "text-size": 10,
2127
+ "icon-image": "{network}_{ref_length}",
2128
+ "icon-rotation-alignment": "viewport",
2129
+ "symbol-spacing": 200,
2130
+ "text-font": ["Open Sans Semibold"],
2131
+ "symbol-placement": {
2132
+ "base": 1,
2133
+ "stops": [
2134
+ [7, "point"],
2135
+ [7, "line"],
2136
+ [8, "line"]
2137
+ ]
2138
+ },
2139
+ "text-rotation-alignment": "viewport",
2140
+ "icon-size": 1,
2141
+ "text-field": "{ref}"
2142
+ },
2143
+ "paint": { "text-color": "rgba(0, 0, 0, 1)" }
2144
+ },
2145
+ {
2146
+ "id": "highway-shield-us-other",
2147
+ "type": "symbol",
2148
+ "source": "openmaptiles",
2149
+ "source-layer": "transportation_name",
2150
+ "minzoom": 9,
2151
+ "filter": [
2152
+ "all",
2153
+ ["<=", "ref_length", 6],
2154
+ ["==", "$type", "LineString"],
2155
+ ["in", "network", "us-highway", "us-state"]
2156
+ ],
2157
+ "layout": {
2158
+ "text-size": 10,
2159
+ "icon-image": "{network}_{ref_length}",
2160
+ "icon-rotation-alignment": "viewport",
2161
+ "symbol-spacing": 200,
2162
+ "text-font": ["Open Sans Semibold"],
2163
+ "symbol-placement": {
2164
+ "base": 1,
2165
+ "stops": [
2166
+ [10, "point"],
2167
+ [11, "line"]
2168
+ ]
2169
+ },
2170
+ "text-rotation-alignment": "viewport",
2171
+ "icon-size": 1,
2172
+ "text-field": "{ref}"
2173
+ },
2174
+ "paint": { "text-color": "rgba(0, 0, 0, 1)" }
2175
+ },
2176
+ {
2177
+ "id": "place-other",
2178
+ "type": "symbol",
2179
+ "metadata": { "mapbox:group": "1444849242106.713" },
2180
+ "source": "openmaptiles",
2181
+ "source-layer": "place",
2182
+ "filter": ["all", ["!in", "class", "city", "town", "village"], ["!has", "name:de"]],
2183
+ "layout": {
2184
+ "text-letter-spacing": 0.1,
2185
+ "text-size": {
2186
+ "base": 1.2,
2187
+ "stops": [
2188
+ [12, 10],
2189
+ [15, 14]
2190
+ ]
2191
+ },
2192
+ "text-font": ["Open Sans Bold"],
2193
+ "text-field": "{name:latin}\n{name:nonlatin}",
2194
+ "text-transform": "uppercase",
2195
+ "text-max-width": 9
2196
+ },
2197
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2198
+ },
2199
+ {
2200
+ "id": "place-other-en",
2201
+ "type": "symbol",
2202
+ "metadata": { "mapbox:group": "1444849242106.713" },
2203
+ "source": "openmaptiles",
2204
+ "source-layer": "place",
2205
+ "filter": ["all", ["!in", "class", "city", "town", "village"], ["has", "name:de"]],
2206
+ "layout": {
2207
+ "text-letter-spacing": 0.1,
2208
+ "text-size": {
2209
+ "base": 1.2,
2210
+ "stops": [
2211
+ [12, 10],
2212
+ [15, 14]
2213
+ ]
2214
+ },
2215
+ "text-font": ["Open Sans Bold"],
2216
+ "text-field": "{name:de}\n{name:nonlatin}",
2217
+ "text-transform": "uppercase",
2218
+ "text-max-width": 9
2219
+ },
2220
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2221
+ },
2222
+ {
2223
+ "id": "place-village",
2224
+ "type": "symbol",
2225
+ "metadata": { "mapbox:group": "1444849242106.713" },
2226
+ "source": "openmaptiles",
2227
+ "source-layer": "place",
2228
+ "filter": ["all", ["==", "class", "village"], ["!has", "name:de"]],
2229
+ "layout": {
2230
+ "text-font": ["Open Sans Regular"],
2231
+ "text-size": {
2232
+ "base": 1.2,
2233
+ "stops": [
2234
+ [10, 12],
2235
+ [15, 22]
2236
+ ]
2237
+ },
2238
+ "text-field": "{name:latin}\n{name:nonlatin}",
2239
+ "text-max-width": 8
2240
+ },
2241
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2242
+ },
2243
+ {
2244
+ "id": "place-village-en",
2245
+ "type": "symbol",
2246
+ "metadata": { "mapbox:group": "1444849242106.713" },
2247
+ "source": "openmaptiles",
2248
+ "source-layer": "place",
2249
+ "filter": ["all", ["==", "class", "village"], ["has", "name:de"]],
2250
+ "layout": {
2251
+ "text-font": ["Open Sans Regular"],
2252
+ "text-size": {
2253
+ "base": 1.2,
2254
+ "stops": [
2255
+ [10, 12],
2256
+ [15, 22]
2257
+ ]
2258
+ },
2259
+ "text-field": "{name:de}\n{name:nonlatin}",
2260
+ "text-max-width": 8
2261
+ },
2262
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2263
+ },
2264
+ {
2265
+ "id": "place-town",
2266
+ "type": "symbol",
2267
+ "metadata": { "mapbox:group": "1444849242106.713" },
2268
+ "source": "openmaptiles",
2269
+ "source-layer": "place",
2270
+ "filter": ["all", ["==", "class", "town"], ["!has", "name:de"]],
2271
+ "layout": {
2272
+ "text-font": ["Open Sans Regular"],
2273
+ "text-size": {
2274
+ "base": 1.2,
2275
+ "stops": [
2276
+ [10, 14],
2277
+ [15, 24]
2278
+ ]
2279
+ },
2280
+ "text-field": "{name:latin}\n{name:nonlatin}",
2281
+ "text-max-width": 8
2282
+ },
2283
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2284
+ },
2285
+ {
2286
+ "id": "place-town-en",
2287
+ "type": "symbol",
2288
+ "metadata": { "mapbox:group": "1444849242106.713" },
2289
+ "source": "openmaptiles",
2290
+ "source-layer": "place",
2291
+ "filter": ["all", ["==", "class", "town"], ["has", "name:de"]],
2292
+ "layout": {
2293
+ "text-font": ["Open Sans Regular"],
2294
+ "text-size": {
2295
+ "base": 1.2,
2296
+ "stops": [
2297
+ [10, 14],
2298
+ [15, 24]
2299
+ ]
2300
+ },
2301
+ "text-field": "{name:de}\n{name:nonlatin}",
2302
+ "text-max-width": 8
2303
+ },
2304
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2305
+ },
2306
+ {
2307
+ "id": "place-city",
2308
+ "type": "symbol",
2309
+ "metadata": { "mapbox:group": "1444849242106.713" },
2310
+ "source": "openmaptiles",
2311
+ "source-layer": "place",
2312
+ "filter": ["all", ["!=", "capital", 2], ["==", "class", "city"], ["!has", "name:de"]],
2313
+ "layout": {
2314
+ "text-font": ["Open Sans Semibold"],
2315
+ "text-size": {
2316
+ "base": 1.2,
2317
+ "stops": [
2318
+ [7, 14],
2319
+ [11, 24]
2320
+ ]
2321
+ },
2322
+ "text-field": "{name:latin}\n{name:nonlatin}",
2323
+ "text-max-width": 8
2324
+ },
2325
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2326
+ },
2327
+ {
2328
+ "id": "place-city-en",
2329
+ "type": "symbol",
2330
+ "metadata": { "mapbox:group": "1444849242106.713" },
2331
+ "source": "openmaptiles",
2332
+ "source-layer": "place",
2333
+ "filter": ["all", ["!=", "capital", 2], ["==", "class", "city"], ["has", "name:de"]],
2334
+ "layout": {
2335
+ "text-font": ["Open Sans Semibold"],
2336
+ "text-size": {
2337
+ "base": 1.2,
2338
+ "stops": [
2339
+ [7, 14],
2340
+ [11, 24]
2341
+ ]
2342
+ },
2343
+ "text-field": "{name:de}\n{name:nonlatin}",
2344
+ "text-max-width": 8
2345
+ },
2346
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2347
+ },
2348
+ {
2349
+ "id": "place-city-capital",
2350
+ "type": "symbol",
2351
+ "metadata": { "mapbox:group": "1444849242106.713" },
2352
+ "source": "openmaptiles",
2353
+ "source-layer": "place",
2354
+ "filter": ["all", ["==", "capital", 2], ["==", "class", "city"], ["!has", "name:de"]],
2355
+ "layout": {
2356
+ "text-font": ["Open Sans Semibold"],
2357
+ "text-size": {
2358
+ "base": 1.2,
2359
+ "stops": [
2360
+ [7, 14],
2361
+ [11, 24]
2362
+ ]
2363
+ },
2364
+ "text-field": "{name:latin}\n{name:nonlatin}",
2365
+ "text-max-width": 8,
2366
+ "icon-image": "star_11",
2367
+ "text-offset": [0.4, 0],
2368
+ "icon-size": 0.8,
2369
+ "text-anchor": "left"
2370
+ },
2371
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2372
+ },
2373
+ {
2374
+ "id": "place-city-capital-en",
2375
+ "type": "symbol",
2376
+ "metadata": { "mapbox:group": "1444849242106.713" },
2377
+ "source": "openmaptiles",
2378
+ "source-layer": "place",
2379
+ "filter": ["all", ["==", "capital", 2], ["==", "class", "city"], ["has", "name:de"]],
2380
+ "layout": {
2381
+ "text-font": ["Open Sans Semibold"],
2382
+ "text-size": {
2383
+ "base": 1.2,
2384
+ "stops": [
2385
+ [7, 14],
2386
+ [11, 24]
2387
+ ]
2388
+ },
2389
+ "text-field": "{name:de}\n{name:nonlatin}",
2390
+ "text-max-width": 8,
2391
+ "icon-image": "star_11",
2392
+ "text-offset": [0.4, 0],
2393
+ "icon-size": 0.8,
2394
+ "text-anchor": "left"
2395
+ },
2396
+ "paint": { "text-color": "#fdfdfd", "text-halo-width": 1.2, "text-halo-color": "#433" }
2397
+ },
2398
+ {
2399
+ "id": "place-country-3",
2400
+ "type": "symbol",
2401
+ "metadata": { "mapbox:group": "1444849242106.713" },
2402
+ "source": "openmaptiles",
2403
+ "source-layer": "place",
2404
+ "filter": ["all", ["==", "class", "country"], [">=", "rank", 3], ["!has", "name:de"]],
2405
+ "layout": {
2406
+ "text-font": ["Open Sans Bold"],
2407
+ "text-field": "{name:latin}\n{name:nonlatin}",
2408
+ "text-size": {
2409
+ "stops": [
2410
+ [3, 11],
2411
+ [7, 17]
2412
+ ]
2413
+ },
2414
+ "text-transform": "uppercase",
2415
+ "text-max-width": 6.25
2416
+ },
2417
+ "paint": {
2418
+ "text-halo-blur": 1,
2419
+ "text-color": "#fdfdfd",
2420
+ "text-halo-width": 2,
2421
+ "text-halo-color": "#433"
2422
+ }
2423
+ },
2424
+ {
2425
+ "id": "place-country-3-en",
2426
+ "type": "symbol",
2427
+ "metadata": { "mapbox:group": "1444849242106.713" },
2428
+ "source": "openmaptiles",
2429
+ "source-layer": "place",
2430
+ "filter": ["all", ["==", "class", "country"], [">=", "rank", 3], ["has", "name:de"]],
2431
+ "layout": {
2432
+ "text-font": ["Open Sans Bold"],
2433
+ "text-field": "{name:de}\n{name:nonlatin}",
2434
+ "text-size": {
2435
+ "stops": [
2436
+ [3, 11],
2437
+ [7, 17]
2438
+ ]
2439
+ },
2440
+ "text-transform": "uppercase",
2441
+ "text-max-width": 6.25
2442
+ },
2443
+ "paint": {
2444
+ "text-halo-blur": 1,
2445
+ "text-color": "#fdfdfd",
2446
+ "text-halo-width": 2,
2447
+ "text-halo-color": "#433"
2448
+ }
2449
+ },
2450
+ {
2451
+ "id": "place-country-2",
2452
+ "type": "symbol",
2453
+ "metadata": { "mapbox:group": "1444849242106.713" },
2454
+ "source": "openmaptiles",
2455
+ "source-layer": "place",
2456
+ "filter": ["all", ["==", "class", "country"], ["==", "rank", 2], ["!has", "name:de"]],
2457
+ "layout": {
2458
+ "text-font": ["Open Sans Bold"],
2459
+ "text-field": "{name:latin}\n{name:nonlatin}",
2460
+ "text-size": {
2461
+ "stops": [
2462
+ [2, 11],
2463
+ [5, 17]
2464
+ ]
2465
+ },
2466
+ "text-transform": "uppercase",
2467
+ "text-max-width": 6.25
2468
+ },
2469
+ "paint": {
2470
+ "text-halo-blur": 1,
2471
+ "text-color": "#fdfdfd",
2472
+ "text-halo-width": 2,
2473
+ "text-halo-color": "#433"
2474
+ }
2475
+ },
2476
+ {
2477
+ "id": "place-country-2-en",
2478
+ "type": "symbol",
2479
+ "metadata": { "mapbox:group": "1444849242106.713" },
2480
+ "source": "openmaptiles",
2481
+ "source-layer": "place",
2482
+ "filter": ["all", ["==", "class", "country"], ["==", "rank", 2], ["has", "name:de"]],
2483
+ "layout": {
2484
+ "text-font": ["Open Sans Bold"],
2485
+ "text-field": "{name:de}\n{name:nonlatin}",
2486
+ "text-size": {
2487
+ "stops": [
2488
+ [2, 11],
2489
+ [5, 17]
2490
+ ]
2491
+ },
2492
+ "text-transform": "uppercase",
2493
+ "text-max-width": 6.25
2494
+ },
2495
+ "paint": {
2496
+ "text-halo-blur": 1,
2497
+ "text-color": "#fdfdfd",
2498
+ "text-halo-width": 2,
2499
+ "text-halo-color": "#433"
2500
+ }
2501
+ },
2502
+ {
2503
+ "id": "place-country-1",
2504
+ "type": "symbol",
2505
+ "metadata": { "mapbox:group": "1444849242106.713" },
2506
+ "source": "openmaptiles",
2507
+ "source-layer": "place",
2508
+ "filter": ["all", ["==", "class", "country"], ["==", "rank", 1], ["!has", "name:de"]],
2509
+ "layout": {
2510
+ "text-font": ["Open Sans Bold"],
2511
+ "text-field": "{name:latin}\n{name:nonlatin}",
2512
+ "text-size": {
2513
+ "stops": [
2514
+ [1, 11],
2515
+ [4, 17]
2516
+ ]
2517
+ },
2518
+ "text-transform": "uppercase",
2519
+ "text-max-width": 6.25
2520
+ },
2521
+ "paint": {
2522
+ "text-halo-blur": 1,
2523
+ "text-color": "#fdfdfd",
2524
+ "text-halo-width": 2,
2525
+ "text-halo-color": "#433"
2526
+ }
2527
+ },
2528
+ {
2529
+ "id": "place-country-1-en",
2530
+ "type": "symbol",
2531
+ "metadata": { "mapbox:group": "1444849242106.713" },
2532
+ "source": "openmaptiles",
2533
+ "source-layer": "place",
2534
+ "filter": ["all", ["==", "class", "country"], ["==", "rank", 1], ["has", "name:de"]],
2535
+ "layout": {
2536
+ "text-font": ["Open Sans Bold"],
2537
+ "text-field": "{name:de}\n{name:nonlatin}",
2538
+ "text-size": {
2539
+ "stops": [
2540
+ [1, 11],
2541
+ [4, 17]
2542
+ ]
2543
+ },
2544
+ "text-transform": "uppercase",
2545
+ "text-max-width": 6.25
2546
+ },
2547
+ "paint": {
2548
+ "text-halo-blur": 1,
2549
+ "text-color": "#fdfdfd",
2550
+ "text-halo-width": 2,
2551
+ "text-halo-color": "#433"
2552
+ }
2553
+ },
2554
+ {
2555
+ "id": "place-continent",
2556
+ "type": "symbol",
2557
+ "metadata": { "mapbox:group": "1444849242106.713" },
2558
+ "source": "openmaptiles",
2559
+ "source-layer": "place",
2560
+ "maxzoom": 1,
2561
+ "filter": ["all", ["==", "class", "continent"], ["!has", "name:de"]],
2562
+ "layout": {
2563
+ "text-font": ["Open Sans Bold"],
2564
+ "text-field": "{name:latin}\n{name:nonlatin}",
2565
+ "text-size": 14,
2566
+ "text-max-width": 6.25,
2567
+ "text-transform": "uppercase"
2568
+ },
2569
+ "paint": {
2570
+ "text-halo-blur": 1,
2571
+ "text-color": "#fdfdfd",
2572
+ "text-halo-width": 2,
2573
+ "text-halo-color": "#433"
2574
+ }
2575
+ },
2576
+ {
2577
+ "id": "place-continent-en",
2578
+ "type": "symbol",
2579
+ "metadata": { "mapbox:group": "1444849242106.713" },
2580
+ "source": "openmaptiles",
2581
+ "source-layer": "place",
2582
+ "maxzoom": 1,
2583
+ "filter": ["all", ["==", "class", "continent"], ["has", "name:de"]],
2584
+ "layout": {
2585
+ "text-font": ["Open Sans Bold"],
2586
+ "text-field": "{name:de}\n{name:nonlatin}",
2587
+ "text-size": 14,
2588
+ "text-max-width": 6.25,
2589
+ "text-transform": "uppercase"
2590
+ },
2591
+ "paint": {
2592
+ "text-halo-blur": 1,
2593
+ "text-color": "#fdfdfd",
2594
+ "text-halo-width": 2,
2595
+ "text-halo-color": "#433"
2596
+ }
2597
+ }
2598
+ ]
2599
+ }