@mapcomponents/react-maplibre 0.1.69 → 0.1.70

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 (522) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/README.md +3 -2
  3. package/dist/components/MlCreatePdfButton/MlCreatePdfButton.d.ts +3 -3
  4. package/dist/components/MlCreatePdfForm/MlCreatePdfForm.d.ts +7 -2
  5. package/dist/components/MlCreatePngButton/MlCreatePngButton.d.ts +22 -0
  6. package/dist/components/MlCreatePngButton/MlCreatePngButton.stories.d.ts +14 -0
  7. package/dist/components/MlGpxViewer/util/{MetadataDrawer.d.ts → Metadata.d.ts} +1 -2
  8. package/dist/components/MlGpxViewer/util/MlGpxDemoLoader.d.ts +1 -1
  9. package/dist/hooks/useExportMap/lib.d.ts +16 -1
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.esm.js +284 -276
  12. package/dist/index.esm.js.map +1 -1
  13. package/dist/ui_components/Sidebar.d.ts +5 -3
  14. package/dist/ui_components/TopToolbar.d.ts +8 -7
  15. package/package.json +1 -2
  16. package/.babelrc +0 -22
  17. package/.editorconfig +0 -19
  18. package/.eslintignore +0 -12
  19. package/.eslintrc.js +0 -30
  20. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -41
  21. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -22
  22. package/.github/workflows/check-catalogue-metadata-schema.yml +0 -19
  23. package/.github/workflows/check-formatting.yml +0 -46
  24. package/.github/workflows/node_version_test.yml +0 -26
  25. package/.github/workflows/publish.yml +0 -21
  26. package/.github/workflows/storybook.yml +0 -28
  27. package/.prettierignore +0 -11
  28. package/.prettierrc.json +0 -6
  29. package/.storybook/.babelrc +0 -26
  30. package/.storybook/main.js +0 -40
  31. package/.storybook/manager.js +0 -6
  32. package/.storybook/mapcomponents_logo.png +0 -0
  33. package/.storybook/preview.js +0 -33
  34. package/.storybook/style.css +0 -15
  35. package/.storybook/wheregroupTheme.js +0 -9
  36. package/config/env.js +0 -106
  37. package/config/jest/babelTransform.js +0 -29
  38. package/config/jest/cssTransform.js +0 -14
  39. package/config/jest/fileTransform.js +0 -40
  40. package/config/paths.js +0 -75
  41. package/coverage/clover.xml +0 -2018
  42. package/coverage/coverage-final.json +0 -60
  43. package/coverage/lcov-report/base.css +0 -224
  44. package/coverage/lcov-report/block-navigation.js +0 -87
  45. package/coverage/lcov-report/favicon.png +0 -0
  46. package/coverage/lcov-report/index.html +0 -731
  47. package/coverage/lcov-report/prettify.css +0 -1
  48. package/coverage/lcov-report/prettify.js +0 -2
  49. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  50. package/coverage/lcov-report/sorter.js +0 -196
  51. package/coverage/lcov-report/src/components/MapLibreMap/MapLibreMap.tsx.html +0 -466
  52. package/coverage/lcov-report/src/components/MapLibreMap/index.html +0 -116
  53. package/coverage/lcov-report/src/components/MlCenterPosition/MlCenterPosition.tsx.html +0 -322
  54. package/coverage/lcov-report/src/components/MlCenterPosition/index.html +0 -116
  55. package/coverage/lcov-report/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx.html +0 -238
  56. package/coverage/lcov-report/src/components/MlCreatePdfButton/index.html +0 -116
  57. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx.html +0 -148
  58. package/coverage/lcov-report/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx.html +0 -196
  59. package/coverage/lcov-report/src/components/MlCreatePdfForm/index.html +0 -131
  60. package/coverage/lcov-report/src/components/MlFeatureEditor/MlFeatureEditor.tsx.html +0 -535
  61. package/coverage/lcov-report/src/components/MlFeatureEditor/index.html +0 -116
  62. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx.html +0 -340
  63. package/coverage/lcov-report/src/components/MlFillExtrusionLayer/index.html +0 -116
  64. package/coverage/lcov-report/src/components/MlFollowGps/MlFollowGps.tsx.html +0 -808
  65. package/coverage/lcov-report/src/components/MlFollowGps/index.html +0 -116
  66. package/coverage/lcov-report/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx.html +0 -469
  67. package/coverage/lcov-report/src/components/MlGeoJsonLayer/index.html +0 -116
  68. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js.html +0 -652
  69. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js.html +0 -649
  70. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx.html +0 -112
  71. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx.html +0 -115
  72. package/coverage/lcov-report/src/components/MlGeoJsonLayer/story_utils/index.html +0 -161
  73. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx.html +0 -469
  74. package/coverage/lcov-report/src/components/MlGeojsonLayerWithSource/index.html +0 -116
  75. package/coverage/lcov-report/src/components/MlGpxViewer/MlGpxViewer.tsx.html +0 -394
  76. package/coverage/lcov-report/src/components/MlGpxViewer/index.html +0 -116
  77. package/coverage/lcov-report/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx.html +0 -385
  78. package/coverage/lcov-report/src/components/MlImageMarkerLayer/index.html +0 -116
  79. package/coverage/lcov-report/src/components/MlLayer/MlLayer.tsx.html +0 -247
  80. package/coverage/lcov-report/src/components/MlLayer/index.html +0 -116
  81. package/coverage/lcov-report/src/components/MlLayerMagnify/MlLayerMagnify.tsx.html +0 -745
  82. package/coverage/lcov-report/src/components/MlLayerMagnify/index.html +0 -116
  83. package/coverage/lcov-report/src/components/MlLayerSwipe/MlLayerSwipe.tsx.html +0 -520
  84. package/coverage/lcov-report/src/components/MlLayerSwipe/index.html +0 -116
  85. package/coverage/lcov-report/src/components/MlLayerSwitcher/MlLayerSwitcher.js.html +0 -736
  86. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/LayerBox.js.html +0 -316
  87. package/coverage/lcov-report/src/components/MlLayerSwitcher/components/index.html +0 -116
  88. package/coverage/lcov-report/src/components/MlLayerSwitcher/index.html +0 -116
  89. package/coverage/lcov-report/src/components/MlMarker/MlMarker.tsx.html +0 -505
  90. package/coverage/lcov-report/src/components/MlMarker/index.html +0 -116
  91. package/coverage/lcov-report/src/components/MlMeasureTool/MlMeasureTool.tsx.html +0 -265
  92. package/coverage/lcov-report/src/components/MlMeasureTool/index.html +0 -116
  93. package/coverage/lcov-report/src/components/MlNavigationCompass/MlNavigationCompass.tsx.html +0 -763
  94. package/coverage/lcov-report/src/components/MlNavigationCompass/index.html +0 -116
  95. package/coverage/lcov-report/src/components/MlNavigationTools/MlNavigationTools.tsx.html +0 -613
  96. package/coverage/lcov-report/src/components/MlNavigationTools/index.html +0 -116
  97. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.js.html +0 -298
  98. package/coverage/lcov-report/src/components/MlOsmLayer/MlOsmLayer.stories_.js.html +0 -232
  99. package/coverage/lcov-report/src/components/MlOsmLayer/index.html +0 -131
  100. package/coverage/lcov-report/src/components/MlScaleReference/MlScaleReference.tsx.html +0 -412
  101. package/coverage/lcov-report/src/components/MlScaleReference/index.html +0 -116
  102. package/coverage/lcov-report/src/components/MlShareMapState/MlShareMapState.tsx.html +0 -892
  103. package/coverage/lcov-report/src/components/MlShareMapState/index.html +0 -116
  104. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/ColorPicker.tsx.html +0 -214
  105. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerList.tsx.html +0 -121
  106. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerListItem.tsx.html +0 -412
  107. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx.html +0 -463
  108. package/coverage/lcov-report/src/components/MlSketchTool/LayerList/index.html +0 -161
  109. package/coverage/lcov-report/src/components/MlSketchTool/MlSketchTool.tsx.html +0 -898
  110. package/coverage/lcov-report/src/components/MlSketchTool/index.html +0 -116
  111. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx.html +0 -514
  112. package/coverage/lcov-report/src/components/MlSpatialElevationProfile/index.html +0 -116
  113. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreeJsLayer.js.html +0 -703
  114. package/coverage/lcov-report/src/components/MlThreeJsLayer/MlThreejsLayer.tsx.html +0 -769
  115. package/coverage/lcov-report/src/components/MlThreeJsLayer/index.html +0 -131
  116. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx.html +0 -406
  117. package/coverage/lcov-report/src/components/MlTransitionGeoJsonLayer/index.html +0 -116
  118. package/coverage/lcov-report/src/components/MlUseMapDebugger/MlUseMapDebugger.js.html +0 -310
  119. package/coverage/lcov-report/src/components/MlUseMapDebugger/index.html +0 -116
  120. package/coverage/lcov-report/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx.html +0 -517
  121. package/coverage/lcov-report/src/components/MlVectorTileLayer/index.html +0 -116
  122. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js.html +0 -277
  123. package/coverage/lcov-report/src/components/MlWmsFeatureInfoPopup/index.html +0 -116
  124. package/coverage/lcov-report/src/components/MlWmsLayer/MlWmsLayer.tsx.html +0 -739
  125. package/coverage/lcov-report/src/components/MlWmsLayer/index.html +0 -116
  126. package/coverage/lcov-report/src/components/MlWmsLoader/MlWmsLoader.tsx.html +0 -1102
  127. package/coverage/lcov-report/src/components/MlWmsLoader/index.html +0 -116
  128. package/coverage/lcov-report/src/contexts/MapContext.tsx.html +0 -403
  129. package/coverage/lcov-report/src/contexts/SimpleDataContext.js.html +0 -103
  130. package/coverage/lcov-report/src/contexts/SimpleDataProvider.js.html +0 -277
  131. package/coverage/lcov-report/src/contexts/index.html +0 -146
  132. package/coverage/lcov-report/src/hooks/index.html +0 -191
  133. package/coverage/lcov-report/src/hooks/useCameraFollowPath/index.html +0 -116
  134. package/coverage/lcov-report/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx.html +0 -661
  135. package/coverage/lcov-report/src/hooks/useExportMap/index.html +0 -131
  136. package/coverage/lcov-report/src/hooks/useExportMap/index.ts.html +0 -175
  137. package/coverage/lcov-report/src/hooks/useExportMap/lib.ts.html +0 -559
  138. package/coverage/lcov-report/src/hooks/useGpx/index.html +0 -116
  139. package/coverage/lcov-report/src/hooks/useGpx/useGpx.tsx.html +0 -295
  140. package/coverage/lcov-report/src/hooks/useLayer.ts.html +0 -787
  141. package/coverage/lcov-report/src/hooks/useLayerEvent.js.html +0 -232
  142. package/coverage/lcov-report/src/hooks/useLayerFilter/index.html +0 -116
  143. package/coverage/lcov-report/src/hooks/useLayerFilter/useLayerFilter.ts.html +0 -184
  144. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/index.html +0 -116
  145. package/coverage/lcov-report/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx.html +0 -334
  146. package/coverage/lcov-report/src/hooks/useMap.ts.html +0 -358
  147. package/coverage/lcov-report/src/hooks/useMapState.ts.html +0 -631
  148. package/coverage/lcov-report/src/hooks/useSource.ts.html +0 -337
  149. package/coverage/lcov-report/src/hooks/useWms.ts.html +0 -397
  150. package/coverage/lcov-report/src/index.html +0 -116
  151. package/coverage/lcov-report/src/index.ts.html +0 -316
  152. package/coverage/lcov.info +0 -3987
  153. package/cypress/support/commands.ts +0 -37
  154. package/cypress/support/component-index.html +0 -12
  155. package/cypress/support/component.ts +0 -46
  156. package/cypress.config.ts +0 -101
  157. package/dist/components/MlCreatePdfButton/lib/createPdf.d.ts +0 -2
  158. package/dist/components/MlCreatePdfButton/lib/nominatimMap.d.ts +0 -2
  159. package/eslintErrorTest.js +0 -10
  160. package/public/assets/3D/godzilla_simple.glb +0 -0
  161. package/public/assets/dop.png +0 -0
  162. package/public/assets/historic.png +0 -0
  163. package/public/assets/marker.png +0 -0
  164. package/public/assets/osm.png +0 -0
  165. package/public/assets/sample.gpx +0 -716
  166. package/public/assets/sample1.gpx +0 -3003
  167. package/public/assets/sample2.gpx +0 -1264
  168. package/public/assets/sample3.gpx +0 -912
  169. package/public/assets/wg-marker.png +0 -0
  170. package/public/catalogue/.gitkeep +0 -0
  171. package/public/catalogue/mc_meta.json +0 -1
  172. package/public/favicon.ico +0 -0
  173. package/public/index.html +0 -39
  174. package/public/logo.png +0 -0
  175. package/public/manifest.json +0 -25
  176. package/public/robots.txt +0 -3
  177. package/public/thumbnails/MapLibreMap.png +0 -0
  178. package/public/thumbnails/MlCameraFollowPath.png +0 -0
  179. package/public/thumbnails/MlCreatePdfButton.png +0 -0
  180. package/public/thumbnails/MlCreatePdfForm.png +0 -0
  181. package/public/thumbnails/MlDeckGlLayer.png +0 -0
  182. package/public/thumbnails/MlDeckGlTerrainLayer.png +0 -0
  183. package/public/thumbnails/MlDemoDashboard.png +0 -0
  184. package/public/thumbnails/MlFeatureEditor.png +0 -0
  185. package/public/thumbnails/MlFillExtrusionLayer.png +0 -0
  186. package/public/thumbnails/MlFollowGps.png +0 -0
  187. package/public/thumbnails/MlGeoJsonLayer.png +0 -0
  188. package/public/thumbnails/MlGpxViewer.png +0 -0
  189. package/public/thumbnails/MlHillshadeLayer.png +0 -0
  190. package/public/thumbnails/MlIconLayer.png +0 -0
  191. package/public/thumbnails/MlLaermkarte.png +0 -0
  192. package/public/thumbnails/MlLayerMagnify.png +0 -0
  193. package/public/thumbnails/MlLayerSwipe.png +0 -0
  194. package/public/thumbnails/MlMapDrawTools.png +0 -0
  195. package/public/thumbnails/MlMeasureTool.png +0 -0
  196. package/public/thumbnails/MlMobilerImker.png +0 -0
  197. package/public/thumbnails/MlNavigationCompass.png +0 -0
  198. package/public/thumbnails/MlNavigationTools.png +0 -0
  199. package/public/thumbnails/MlOsmLayer.png +0 -0
  200. package/public/thumbnails/MlScaleReference.png +0 -0
  201. package/public/thumbnails/MlSketchTool.png +0 -0
  202. package/public/thumbnails/MlSpatialElevationProfile.png +0 -0
  203. package/public/thumbnails/MlThreeJsLayer.png +0 -0
  204. package/public/thumbnails/MlTransitionGeoJsonLayer.png +0 -0
  205. package/public/thumbnails/MlVectorTileLayer.png +0 -0
  206. package/public/thumbnails/MlWanderApp.png +0 -0
  207. package/public/thumbnails/MlWmsLayer.png +0 -0
  208. package/public/thumbnails/MlWmsLoader.png +0 -0
  209. package/public/thumbnails/useCameraFollowPath.png +0 -0
  210. package/rollup.config.js +0 -74
  211. package/scripts/build-catalogue-markdown-docs.js +0 -28
  212. package/scripts/build-catalogue-meta.js +0 -42
  213. package/scripts/create-map-component.sh +0 -36
  214. package/scripts/test.js +0 -53
  215. package/src/@types/assets/index.d.ts +0 -20
  216. package/src/App.css +0 -0
  217. package/src/components/MapLibreMap/MapLibreMap.stories.js +0 -106
  218. package/src/components/MapLibreMap/MapLibreMap.test.js +0 -84
  219. package/src/components/MapLibreMap/MapLibreMap.tsx +0 -127
  220. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.test.js +0 -395
  221. package/src/components/MapLibreMap/lib/MapLibreGlWrapper.ts +0 -691
  222. package/src/components/MlBasicComponent.js +0 -39
  223. package/src/components/MlCenterPosition/MlCenterPosition.doc.de.md +0 -3
  224. package/src/components/MlCenterPosition/MlCenterPosition.meta_.json +0 -14
  225. package/src/components/MlCenterPosition/MlCenterPosition.stories.tsx +0 -20
  226. package/src/components/MlCenterPosition/MlCenterPosition.tsx +0 -79
  227. package/src/components/MlComponentTemplate/MlComponentTemplate.doc.de.md +0 -3
  228. package/src/components/MlComponentTemplate/MlComponentTemplate.meta_.json +0 -14
  229. package/src/components/MlComponentTemplate/MlComponentTemplate.stories.tsx +0 -20
  230. package/src/components/MlComponentTemplate/MlComponentTemplate.tsx +0 -42
  231. package/src/components/MlCreatePdfButton/MlCreatePdfButton.doc.de.md +0 -1
  232. package/src/components/MlCreatePdfButton/MlCreatePdfButton.doc.en.md +0 -1
  233. package/src/components/MlCreatePdfButton/MlCreatePdfButton.meta_.json +0 -14
  234. package/src/components/MlCreatePdfButton/MlCreatePdfButton.stories.tsx +0 -35
  235. package/src/components/MlCreatePdfButton/MlCreatePdfButton.tsx +0 -51
  236. package/src/components/MlCreatePdfButton/lib/createPdf.ts +0 -189
  237. package/src/components/MlCreatePdfButton/lib/nominatimMap.ts +0 -57
  238. package/src/components/MlCreatePdfForm/MlCreatePdfForm.cy.tsx +0 -21
  239. package/src/components/MlCreatePdfForm/MlCreatePdfForm.doc.de.md +0 -3
  240. package/src/components/MlCreatePdfForm/MlCreatePdfForm.meta.json +0 -14
  241. package/src/components/MlCreatePdfForm/MlCreatePdfForm.stories.tsx +0 -165
  242. package/src/components/MlCreatePdfForm/MlCreatePdfForm.tsx +0 -37
  243. package/src/components/MlCreatePdfForm/lib/PdfContext.tsx +0 -51
  244. package/src/components/MlCreatePdfForm/lib/PdfForm.tsx +0 -257
  245. package/src/components/MlCreatePdfForm/lib/PdfPreview.tsx +0 -327
  246. package/src/components/MlCreatePdfForm/lib/_PdfPreview.tsx +0 -399
  247. package/src/components/MlCreatePdfForm/lib/pdf.templates.ts +0 -82
  248. package/src/components/MlCreatePdfForm/lib/pdfContext.d.ts +0 -24
  249. package/src/components/MlCreatePdfForm/lib/preview.css +0 -114
  250. package/src/components/MlFeatureEditor/MlFeatureEditor.css +0 -0
  251. package/src/components/MlFeatureEditor/MlFeatureEditor.doc.de.md +0 -1
  252. package/src/components/MlFeatureEditor/MlFeatureEditor.doc.en.md +0 -1
  253. package/src/components/MlFeatureEditor/MlFeatureEditor.meta.json +0 -14
  254. package/src/components/MlFeatureEditor/MlFeatureEditor.stories.js +0 -91
  255. package/src/components/MlFeatureEditor/MlFeatureEditor.test.js +0 -126
  256. package/src/components/MlFeatureEditor/MlFeatureEditor.tsx +0 -150
  257. package/src/components/MlFeatureEditor/custom-direct-select-mode.js +0 -303
  258. package/src/components/MlFeatureEditor/custom-polygon-mode.js +0 -188
  259. package/src/components/MlFeatureEditor/custom-select-mode.js +0 -406
  260. package/src/components/MlFeatureEditor/lib/LICENSE.md +0 -18
  261. package/src/components/MlFeatureEditor/lib/common_selectors.js +0 -72
  262. package/src/components/MlFeatureEditor/lib/constants.js +0 -104
  263. package/src/components/MlFeatureEditor/lib/constrain_feature_movement.js +0 -72
  264. package/src/components/MlFeatureEditor/lib/create_midpoint.js +0 -42
  265. package/src/components/MlFeatureEditor/lib/create_supplementary_points.js +0 -102
  266. package/src/components/MlFeatureEditor/lib/create_vertex.js +0 -35
  267. package/src/components/MlFeatureEditor/lib/double_click_zoom.js +0 -30
  268. package/src/components/MlFeatureEditor/lib/euclidean_distance.js +0 -9
  269. package/src/components/MlFeatureEditor/lib/features_at.js +0 -52
  270. package/src/components/MlFeatureEditor/lib/get_features_and_set_cursor.js +0 -28
  271. package/src/components/MlFeatureEditor/lib/is_click.js +0 -22
  272. package/src/components/MlFeatureEditor/lib/is_event_at_coordinates.js +0 -10
  273. package/src/components/MlFeatureEditor/lib/is_tap.js +0 -19
  274. package/src/components/MlFeatureEditor/lib/map_event_to_bounding_box.js +0 -18
  275. package/src/components/MlFeatureEditor/lib/mode_handler.js +0 -120
  276. package/src/components/MlFeatureEditor/lib/mouse_event_point.js +0 -23
  277. package/src/components/MlFeatureEditor/lib/move_features.js +0 -47
  278. package/src/components/MlFeatureEditor/lib/sort_features.js +0 -45
  279. package/src/components/MlFeatureEditor/lib/string_set.js +0 -59
  280. package/src/components/MlFeatureEditor/lib/string_sets_are_equal.js +0 -8
  281. package/src/components/MlFeatureEditor/lib/theme.js +0 -236
  282. package/src/components/MlFeatureEditor/lib/to_dense_array.js +0 -15
  283. package/src/components/MlFeatureEditor/lib/utils.js +0 -51
  284. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.doc.de.md +0 -1
  285. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.doc.en.md +0 -1
  286. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.meta.json +0 -14
  287. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.stories.js +0 -24
  288. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.test.js +0 -15
  289. package/src/components/MlFillExtrusionLayer/MlFillExtrusionLayer.tsx +0 -85
  290. package/src/components/MlFollowGps/MlFollowGps.doc.de.md +0 -1
  291. package/src/components/MlFollowGps/MlFollowGps.doc.en.md +0 -1
  292. package/src/components/MlFollowGps/MlFollowGps.meta.json +0 -14
  293. package/src/components/MlFollowGps/MlFollowGps.stories.js +0 -40
  294. package/src/components/MlFollowGps/MlFollowGps.test.js +0 -63
  295. package/src/components/MlFollowGps/MlFollowGps.tsx +0 -241
  296. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.doc.de.md +0 -1
  297. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.doc.en.md +0 -1
  298. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.meta.json +0 -14
  299. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.stories.tsx +0 -191
  300. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.test.js +0 -20
  301. package/src/components/MlGeoJsonLayer/MlGeoJsonLayer.tsx +0 -128
  302. package/src/components/MlGeoJsonLayer/assets/earthquake.json +0 -109937
  303. package/src/components/MlGeoJsonLayer/assets/sample_1.json +0 -140
  304. package/src/components/MlGeoJsonLayer/assets/sample_2.json +0 -142
  305. package/src/components/MlGeoJsonLayer/assets/sample_polygon_1.json +0 -33
  306. package/src/components/MlGeoJsonLayer/assets/wg_locations.json +0 -65
  307. package/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.lineStyler.js +0 -189
  308. package/src/components/MlGeoJsonLayer/story_utils/MlGeoJsonLayer.polygonStyler.js +0 -188
  309. package/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerCircleStyler.tsx +0 -9
  310. package/src/components/MlGeoJsonLayer/story_utils/MlGeojsonLayerHeatMapStyler.tsx +0 -10
  311. package/src/components/MlGeoJsonLayer/util/getDefaultLayerTypeByGeometry.ts +0 -31
  312. package/src/components/MlGeoJsonLayer/util/getDefaultPaintPropsByType.ts +0 -37
  313. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.doc.de.md +0 -3
  314. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.meta_.json +0 -14
  315. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.stories.tsx +0 -19
  316. package/src/components/MlGeojsonLayerWithSource/MlGeojsonLayerWithSource.tsx +0 -128
  317. package/src/components/MlGpxViewer/MlGpxViewer.doc.de.md +0 -1
  318. package/src/components/MlGpxViewer/MlGpxViewer.doc.en.md +0 -1
  319. package/src/components/MlGpxViewer/MlGpxViewer.meta.json +0 -14
  320. package/src/components/MlGpxViewer/MlGpxViewer.stories.tsx +0 -100
  321. package/src/components/MlGpxViewer/MlGpxViewer.test.js +0 -53
  322. package/src/components/MlGpxViewer/MlGpxViewer.tsx +0 -103
  323. package/src/components/MlGpxViewer/util/GeoJsonContext.ts +0 -13
  324. package/src/components/MlGpxViewer/util/GeoJsonProvider.tsx +0 -25
  325. package/src/components/MlGpxViewer/util/MetadataDrawer.tsx +0 -38
  326. package/src/components/MlGpxViewer/util/MlGpxDemoLoader.tsx +0 -130
  327. package/src/components/MlGpxViewer/util/MlGpxViewerInstructions.tsx +0 -71
  328. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.doc.de.md +0 -3
  329. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.meta_.json +0 -14
  330. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.stories.tsx +0 -41
  331. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.test.js +0 -38
  332. package/src/components/MlImageMarkerLayer/MlImageMarkerLayer.tsx +0 -100
  333. package/src/components/MlLayer/MlLayer.doc.de.md +0 -3
  334. package/src/components/MlLayer/MlLayer.meta_.json +0 -14
  335. package/src/components/MlLayer/MlLayer.test.js +0 -117
  336. package/src/components/MlLayer/MlLayer.tsx +0 -54
  337. package/src/components/MlLayerMagnify/MlLayerMagnify.doc.de.md +0 -1
  338. package/src/components/MlLayerMagnify/MlLayerMagnify.doc.en.md +0 -1
  339. package/src/components/MlLayerMagnify/MlLayerMagnify.meta.json +0 -14
  340. package/src/components/MlLayerMagnify/MlLayerMagnify.stories.tsx +0 -44
  341. package/src/components/MlLayerMagnify/MlLayerMagnify.test.tsx +0 -83
  342. package/src/components/MlLayerMagnify/MlLayerMagnify.tsx +0 -220
  343. package/src/components/MlLayerMagnify/style.css +0 -48
  344. package/src/components/MlLayerSwipe/MlLayerSwipe.doc.de.md +0 -1
  345. package/src/components/MlLayerSwipe/MlLayerSwipe.doc.en.md +0 -1
  346. package/src/components/MlLayerSwipe/MlLayerSwipe.meta.json +0 -14
  347. package/src/components/MlLayerSwipe/MlLayerSwipe.stories.tsx +0 -36
  348. package/src/components/MlLayerSwipe/MlLayerSwipe.test.js +0 -86
  349. package/src/components/MlLayerSwipe/MlLayerSwipe.tsx +0 -145
  350. package/src/components/MlLayerSwipe/style.css +0 -48
  351. package/src/components/MlLayerSwitcher/MlLayerSwitcher.css +0 -17
  352. package/src/components/MlLayerSwitcher/MlLayerSwitcher.doc.de.md +0 -3
  353. package/src/components/MlLayerSwitcher/MlLayerSwitcher.js +0 -217
  354. package/src/components/MlLayerSwitcher/MlLayerSwitcher.meta_.json +0 -14
  355. package/src/components/MlLayerSwitcher/MlLayerSwitcher.stories.js +0 -103
  356. package/src/components/MlLayerSwitcher/assets/sample_1.json +0 -26
  357. package/src/components/MlLayerSwitcher/assets/sample_2.json +0 -22
  358. package/src/components/MlLayerSwitcher/components/LayerBox.js +0 -77
  359. package/src/components/MlMarker/MlMarker.doc.de.md +0 -3
  360. package/src/components/MlMarker/MlMarker.meta_.json +0 -14
  361. package/src/components/MlMarker/MlMarker.stories.js +0 -22
  362. package/src/components/MlMarker/MlMarker.tsx +0 -140
  363. package/src/components/MlMeasureTool/MlMeasureTool.doc.de.md +0 -3
  364. package/src/components/MlMeasureTool/MlMeasureTool.meta.json +0 -14
  365. package/src/components/MlMeasureTool/MlMeasureTool.stories.js +0 -96
  366. package/src/components/MlMeasureTool/MlMeasureTool.tsx +0 -60
  367. package/src/components/MlNavigationCompass/MlNavigationCompass.doc.de.md +0 -1
  368. package/src/components/MlNavigationCompass/MlNavigationCompass.doc.en.md +0 -1
  369. package/src/components/MlNavigationCompass/MlNavigationCompass.meta.json +0 -14
  370. package/src/components/MlNavigationCompass/MlNavigationCompass.stories.js +0 -63
  371. package/src/components/MlNavigationCompass/MlNavigationCompass.test.js +0 -68
  372. package/src/components/MlNavigationCompass/MlNavigationCompass.tsx +0 -226
  373. package/src/components/MlNavigationCompass/assets/needle.svg +0 -17
  374. package/src/components/MlNavigationCompass/assets/needle__.svg +0 -19
  375. package/src/components/MlNavigationCompass/assets/rotate_left.svg +0 -13
  376. package/src/components/MlNavigationCompass/assets/rotate_right.svg +0 -15
  377. package/src/components/MlNavigationTools/MlNavigationTools.doc.de.md +0 -1
  378. package/src/components/MlNavigationTools/MlNavigationTools.doc.en.md +0 -1
  379. package/src/components/MlNavigationTools/MlNavigationTools.meta.json +0 -14
  380. package/src/components/MlNavigationTools/MlNavigationTools.stories.js +0 -64
  381. package/src/components/MlNavigationTools/MlNavigationTools.tsx +0 -176
  382. package/src/components/MlOsmLayer/MlOsmLayer.js +0 -71
  383. package/src/components/MlOsmLayer/MlOsmLayer.stories_.js +0 -49
  384. package/src/components/MlOsmLayer/MlOsmLayer.test.js +0 -19
  385. package/src/components/MlScaleReference/MlScaleReference.doc.de.md +0 -1
  386. package/src/components/MlScaleReference/MlScaleReference.doc.en.md +0 -1
  387. package/src/components/MlScaleReference/MlScaleReference.meta.json +0 -14
  388. package/src/components/MlScaleReference/MlScaleReference.stories.js +0 -51
  389. package/src/components/MlScaleReference/MlScaleReference.tsx +0 -109
  390. package/src/components/MlShareMapState/MlShareMapState.doc.de.md +0 -3
  391. package/src/components/MlShareMapState/MlShareMapState.meta_.json +0 -14
  392. package/src/components/MlShareMapState/MlShareMapState.stories.tsx +0 -100
  393. package/src/components/MlShareMapState/MlShareMapState.tsx +0 -269
  394. package/src/components/MlSketchTool/LayerList/ColorPicker.tsx +0 -43
  395. package/src/components/MlSketchTool/LayerList/LayerList.tsx +0 -12
  396. package/src/components/MlSketchTool/LayerList/LayerListItem.tsx +0 -109
  397. package/src/components/MlSketchTool/LayerList/LayerPropertyForm.tsx +0 -126
  398. package/src/components/MlSketchTool/MlSketchTool.doc.de.md +0 -3
  399. package/src/components/MlSketchTool/MlSketchTool.meta.json +0 -14
  400. package/src/components/MlSketchTool/MlSketchTool.stories.tsx +0 -26
  401. package/src/components/MlSketchTool/MlSketchTool.tsx +0 -271
  402. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.doc.de.md +0 -1
  403. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.doc.en.md +0 -1
  404. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.meta.json +0 -14
  405. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.stories.tsx +0 -121
  406. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.test.js +0 -48
  407. package/src/components/MlSpatialElevationProfile/MlSpatialElevationProfile.tsx +0 -143
  408. package/src/components/MlSpatialElevationProfile/util/getElevationData.tsx +0 -103
  409. package/src/components/MlThreeJsLayer/MlThreeJsLayer.doc.de.md +0 -1
  410. package/src/components/MlThreeJsLayer/MlThreeJsLayer.doc.en.md +0 -1
  411. package/src/components/MlThreeJsLayer/MlThreeJsLayer.js +0 -207
  412. package/src/components/MlThreeJsLayer/MlThreeJsLayer.meta.json +0 -14
  413. package/src/components/MlThreeJsLayer/MlThreeJsLayer.stories.tsx +0 -37
  414. package/src/components/MlThreeJsLayer/MlThreeJsLayer.test.js +0 -33
  415. package/src/components/MlThreeJsLayer/MlThreejsLayer.tsx +0 -228
  416. package/src/components/MlThreeJsLayer/lib/GLTFLoader.js +0 -3331
  417. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.doc.de.md +0 -3
  418. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.meta.json +0 -14
  419. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.stories.js +0 -52
  420. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.test.js +0 -20
  421. package/src/components/MlTransitionGeoJsonLayer/MlTransitionGeoJsonLayer.tsx +0 -107
  422. package/src/components/MlTransitionGeoJsonLayer/assets/sample_1.json +0 -26
  423. package/src/components/MlTransitionGeoJsonLayer/assets/sample_2.json +0 -22
  424. package/src/components/MlTransitionGeoJsonLayer/assets/sample_polygon_1.json +0 -33
  425. package/src/components/MlTransitionGeoJsonLayer/util/transitionFunctions.js +0 -221
  426. package/src/components/MlUseMapDebugger/MlUseMapDebugger.doc.de.md +0 -3
  427. package/src/components/MlUseMapDebugger/MlUseMapDebugger.js +0 -75
  428. package/src/components/MlUseMapDebugger/MlUseMapDebugger.meta_.json +0 -14
  429. package/src/components/MlUseMapDebugger/MlUseMapDebugger.stories.js +0 -30
  430. package/src/components/MlVectorTileLayer/MlVectorTileLayer.doc.de.md +0 -1
  431. package/src/components/MlVectorTileLayer/MlVectorTileLayer.doc.en.md +0 -1
  432. package/src/components/MlVectorTileLayer/MlVectorTileLayer.meta.json +0 -14
  433. package/src/components/MlVectorTileLayer/MlVectorTileLayer.stories.js +0 -52
  434. package/src/components/MlVectorTileLayer/MlVectorTileLayer.test.js +0 -40
  435. package/src/components/MlVectorTileLayer/MlVectorTileLayer.tsx +0 -144
  436. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.doc.de.md +0 -3
  437. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.js +0 -64
  438. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.meta_.json +0 -14
  439. package/src/components/MlWmsFeatureInfoPopup/MlWmsFeatureInfoPopup.stories.tsx +0 -22
  440. package/src/components/MlWmsLayer/MlWmsLayer.stories.js +0 -49
  441. package/src/components/MlWmsLayer/MlWmsLayer.test.js +0 -19
  442. package/src/components/MlWmsLayer/MlWmsLayer.tsx +0 -218
  443. package/src/components/MlWmsLoader/MlWmsLoader.doc.de.md +0 -1
  444. package/src/components/MlWmsLoader/MlWmsLoader.doc.en.md +0 -1
  445. package/src/components/MlWmsLoader/MlWmsLoader.meta.json +0 -14
  446. package/src/components/MlWmsLoader/MlWmsLoader.stories.tsx +0 -81
  447. package/src/components/MlWmsLoader/MlWmsLoader.tsx +0 -339
  448. package/src/components/MlWmsLoader/utils/MlWmsLoaderInstructions.tsx +0 -50
  449. package/src/components/MlWmsLoader/utils/WMSLinks.tsx +0 -128
  450. package/src/contexts/MapComponentsProvider.test.js +0 -260
  451. package/src/contexts/MapContext.tsx +0 -106
  452. package/src/contexts/SimpleDataContext.js +0 -6
  453. package/src/contexts/SimpleDataProvider.js +0 -64
  454. package/src/contexts/SimpleDataProvider.test.js +0 -68
  455. package/src/custom.d.ts +0 -4
  456. package/src/decorators/EmptyMapDecorator.js +0 -38
  457. package/src/decorators/MapContextDecorator.js +0 -39
  458. package/src/decorators/MapContextDecoratorHooks.js +0 -39
  459. package/src/decorators/MultiMapContextDecorator.js +0 -80
  460. package/src/decorators/NoNavToolsDecorator.js +0 -33
  461. package/src/decorators/ThemeDecorator.js +0 -24
  462. package/src/decorators/style.css +0 -34
  463. package/src/hooks/assets/pointWG.json +0 -13
  464. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.de.md +0 -4
  465. package/src/hooks/useCameraFollowPath/useCameraFollowPath.doc.en.md +0 -1
  466. package/src/hooks/useCameraFollowPath/useCameraFollowPath.meta.json +0 -14
  467. package/src/hooks/useCameraFollowPath/useCameraFollowPath.stories.tsx +0 -192
  468. package/src/hooks/useCameraFollowPath/useCameraFollowPath.tsx +0 -192
  469. package/src/hooks/useExportMap/index.ts +0 -30
  470. package/src/hooks/useExportMap/lib.ts +0 -158
  471. package/src/hooks/useGpx/lib/gpxConverter.js +0 -521
  472. package/src/hooks/useGpx/useGpx.doc.de.md +0 -3
  473. package/src/hooks/useGpx/useGpx.meta_.json +0 -15
  474. package/src/hooks/useGpx/useGpx.stories.js +0 -20
  475. package/src/hooks/useGpx/useGpx.tsx +0 -70
  476. package/src/hooks/useLayer.test.js +0 -205
  477. package/src/hooks/useLayer.ts +0 -234
  478. package/src/hooks/useLayerEvent.js +0 -49
  479. package/src/hooks/useLayerFilter/useLayerFilter.doc.de.md +0 -3
  480. package/src/hooks/useLayerFilter/useLayerFilter.meta_.json +0 -14
  481. package/src/hooks/useLayerFilter/useLayerFilter.stories.tsx +0 -40
  482. package/src/hooks/useLayerFilter/useLayerFilter.ts +0 -33
  483. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.doc.de.md +0 -3
  484. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.meta_.json +0 -15
  485. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.stories.js +0 -20
  486. package/src/hooks/useLayerHoverPopup/useLayerHoverPopup.tsx +0 -83
  487. package/src/hooks/useMap.test.tsx +0 -48
  488. package/src/hooks/useMap.ts +0 -91
  489. package/src/hooks/useMapState.stories.js +0 -120
  490. package/src/hooks/useMapState.ts +0 -182
  491. package/src/hooks/useSource.ts +0 -84
  492. package/src/hooks/useSources.stories.js +0 -232
  493. package/src/hooks/useWms.ts +0 -104
  494. package/src/index.ts +0 -78
  495. package/src/setupTests.js +0 -113
  496. package/src/stories/components/Readme.js +0 -7
  497. package/src/ui_components/Dropzone.tsx +0 -104
  498. package/src/ui_components/ImageLoader.tsx +0 -83
  499. package/src/ui_components/LayerList/LayerList.stories.tsx +0 -136
  500. package/src/ui_components/LayerList/LayerList.tsx +0 -12
  501. package/src/ui_components/LayerList/LayerListFolder.tsx +0 -82
  502. package/src/ui_components/LayerList/LayerListItem.tsx +0 -180
  503. package/src/ui_components/LayerList/assets/sample_1.json +0 -26
  504. package/src/ui_components/LayerList/assets/sample_2.json +0 -22
  505. package/src/ui_components/LayerList/assets/sample_polygon_1.json +0 -33
  506. package/src/ui_components/LayerList/assets/style.json +0 -2599
  507. package/src/ui_components/LayerList/util/LayerListItemVectorLayer.tsx +0 -92
  508. package/src/ui_components/LayerList/util/LayerPropertyForm.tsx +0 -125
  509. package/src/ui_components/LayerList/util/input/ColorPicker.tsx +0 -44
  510. package/src/ui_components/LoadingOverlay.css +0 -9
  511. package/src/ui_components/LoadingOverlayContext.tsx +0 -79
  512. package/src/ui_components/MapcomponentsTheme.tsx +0 -133
  513. package/src/ui_components/Sidebar.tsx +0 -87
  514. package/src/ui_components/Tooltip.tsx +0 -17
  515. package/src/ui_components/TopToolbar.tsx +0 -24
  516. package/src/ui_components/UploadButton.tsx +0 -57
  517. package/src/util/BubbleForInstructions.js +0 -48
  518. package/src/util/Instructions.tsx +0 -60
  519. package/src/util/index.js +0 -4
  520. package/src/util/layerRemovalTest.js +0 -121
  521. package/src/util/sourceRemovalTest.js +0 -113
  522. package/tsconfig.json +0 -34
@@ -1,2599 +0,0 @@
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
- }