From 0c8d0388e4cd96bbb2611a541a810e0d1a7f4122 Mon Sep 17 00:00:00 2001 From: Malvoz <26493779+Malvoz@users.noreply.github.com> Date: Thu, 14 May 2020 02:08:43 +0200 Subject: [PATCH 1/3] Introduce `scoped` styles --- examples/add-custom-control.html | 31 +- examples/alternative-layers.html | 35 +- examples/animate-view-change.html | 71 +-- examples/change-bearing-map.html | 33 +- examples/create-map.html | 82 ++-- examples/custom-map.html | 35 +- examples/example-template.html | 5 +- examples/examples.css | 559 +++++++++++------------- examples/generate-vector-features.html | 5 +- examples/heatmap.html | 5 +- examples/html-annotations.html | 50 +-- examples/layers.html | 5 +- examples/multiple-location-markers.html | 50 +-- examples/poly-features.html | 50 +-- examples/reset-map-view.html | 5 +- examples/set-layer-visibility.html | 37 +- examples/set-view-zoom.html | 100 ++--- examples/single-location.html | 82 ++-- examples/specify-data-source-map.html | 5 +- examples/static-map.html | 23 +- examples/style-scope.js | 32 ++ examples/technical-drawings.html | 27 +- examples/tomtom/maps-extract.css | 13 - examples/view-change-events.html | 5 +- 24 files changed, 639 insertions(+), 706 deletions(-) create mode 100644 examples/style-scope.js delete mode 100644 examples/tomtom/maps-extract.css diff --git a/examples/add-custom-control.html b/examples/add-custom-control.html index 82bc321..5fb6aa3 100644 --- a/examples/add-custom-control.html +++ b/examples/add-custom-control.html @@ -7,6 +7,7 @@ Add Custom Control — Maps for HTML reference examples + @@ -28,7 +29,7 @@

Examples for