@basemaps/landing 6.27.0 → 6.29.0

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 (54) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/build/{__test__ → __tests__}/config.debug.test.d.ts +0 -0
  3. package/build/__tests__/config.debug.test.d.ts.map +1 -0
  4. package/build/{__test__ → __tests__}/config.debug.test.js +0 -0
  5. package/build/{__test__ → __tests__}/config.test.d.ts +0 -0
  6. package/build/__tests__/config.test.d.ts.map +1 -0
  7. package/build/{__test__ → __tests__}/config.test.js +0 -0
  8. package/build/{__test__ → __tests__}/geojson.test.d.ts +0 -0
  9. package/build/__tests__/geojson.test.d.ts.map +1 -0
  10. package/build/{__test__ → __tests__}/geojson.test.js +0 -0
  11. package/build/{__test__ → __tests__}/map.config.test.d.ts +0 -0
  12. package/build/__tests__/map.config.test.d.ts.map +1 -0
  13. package/build/{__test__ → __tests__}/map.config.test.js +0 -0
  14. package/build/{__test__ → __tests__}/tile.matrix.test.d.ts +0 -0
  15. package/build/__tests__/tile.matrix.test.d.ts.map +1 -0
  16. package/build/{__test__ → __tests__}/tile.matrix.test.js +0 -0
  17. package/dist/android-chrome-192x192.png +0 -0
  18. package/dist/android-chrome-512x512.png +0 -0
  19. package/dist/apple-touch-icon.png +0 -0
  20. package/dist/assets/fonts/OpenSans-Bold.woff2 +0 -0
  21. package/dist/assets/fonts/OpenSans-Italic.woff2 +0 -0
  22. package/dist/assets/fonts/OpenSans-Light.woff2 +0 -0
  23. package/dist/assets/fonts/OpenSans-Regular.woff2 +0 -0
  24. package/dist/assets/fonts/OpenSans-SemiBold.woff2 +0 -0
  25. package/dist/assets/logo-linz.svg +256 -0
  26. package/dist/assets/logo-nz-govt.svg +11 -0
  27. package/dist/basemaps-card.jpeg +0 -0
  28. package/dist/examples/index.html +33 -0
  29. package/dist/examples/index.leaflet.xyz.3857.html +43 -0
  30. package/dist/examples/index.maplibre.compare.3857.html +111 -0
  31. package/dist/examples/index.maplibre.opacity.3857.html +218 -0
  32. package/dist/examples/index.maplibre.vector.3857.html +48 -0
  33. package/dist/examples/index.openlayers.attribution.wmts.3857.html +55 -0
  34. package/dist/examples/index.openlayers.wmts.3857.html +49 -0
  35. package/dist/examples/index.openlayers.xyz.3857.html +49 -0
  36. package/dist/favicon-16x16.png +0 -0
  37. package/dist/favicon-32x32.png +0 -0
  38. package/dist/favicon.ico +0 -0
  39. package/dist/index-6.29.0-053c6b9b5e501b18.js +575 -0
  40. package/dist/index-6.29.0-433a0509539c3f0c.js +35288 -0
  41. package/dist/index-6.29.0-f61958521df787d6.css +4317 -0
  42. package/dist/index.css +4317 -0
  43. package/dist/index.html +26 -0
  44. package/dist/index.js +575 -0
  45. package/dist/json-schema/stac-basemaps-extension/1.0/schema.json +144 -0
  46. package/dist/lib/attribution-6.29.0-431936fcac8e2647.js +2318 -0
  47. package/dist/lib/attribution-6.29.0-a5dcb359f35150b9.js +10 -0
  48. package/dist/lib/attribution.js +10 -0
  49. package/package.json +7 -7
  50. package/build/__test__/config.debug.test.d.ts.map +0 -1
  51. package/build/__test__/config.test.d.ts.map +0 -1
  52. package/build/__test__/geojson.test.d.ts.map +0 -1
  53. package/build/__test__/map.config.test.d.ts.map +0 -1
  54. package/build/__test__/tile.matrix.test.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,34 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [6.29.0](https://github.com/linz/basemaps/compare/v6.28.1...v6.29.0) (2022-06-27)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **cli:** ensure cli can run inside of docker ([#2273](https://github.com/linz/basemaps/issues/2273)) ([8184167](https://github.com/linz/basemaps/commit/81841674efba2f86d9a39d01af62fccb1fe6f70f))
12
+ * **landing:** ensure the bundled assets are exported ([#2244](https://github.com/linz/basemaps/issues/2244)) ([863c374](https://github.com/linz/basemaps/commit/863c37435dabdb26b0540b071004160c882b6011))
13
+
14
+
15
+
16
+
17
+
18
+ ## [6.28.1](https://github.com/linz/basemaps/compare/v6.28.0...v6.28.1) (2022-06-07)
19
+
20
+ **Note:** Version bump only for package @basemaps/landing
21
+
22
+
23
+
24
+
25
+
26
+ # [6.28.0](https://github.com/linz/basemaps/compare/v6.27.0...v6.28.0) (2022-06-06)
27
+
28
+ **Note:** Version bump only for package @basemaps/landing
29
+
30
+
31
+
32
+
33
+
6
34
  # [6.27.0](https://github.com/linz/basemaps/compare/v6.26.0...v6.27.0) (2022-05-29)
7
35
 
8
36
 
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.debug.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/config.debug.test.ts"],"names":[],"mappings":""}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/config.test.ts"],"names":[],"mappings":""}
File without changes
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"geojson.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/geojson.test.ts"],"names":[],"mappings":""}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"map.config.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/map.config.test.ts"],"names":[],"mappings":""}
File without changes
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tile.matrix.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/tile.matrix.test.ts"],"names":[],"mappings":""}
Binary file
Binary file
Binary file
@@ -0,0 +1,256 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 25.2.3, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_3" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ width="300px" height="70px" viewBox="0 0 300 70" style="enable-background:new 0 0 300 70;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#FFFFFF;}
7
+ .st1{fill:url(#SVGID_1_);}
8
+ .st2{fill:url(#SVGID_2_);}
9
+ .st3{fill:url(#SVGID_3_);}
10
+ .st4{fill:url(#SVGID_4_);}
11
+ .st5{fill:url(#SVGID_5_);}
12
+ .st6{opacity:0.4;fill:url(#SVGID_6_);enable-background:new ;}
13
+ </style>
14
+ <g id="Layer_2_2_">
15
+ <g id="Toitu_Logos">
16
+ <g id="Badge_Toitu">
17
+ <g id="_Group_">
18
+ <path class="st0" d="M95.9,5.6c-2.1,0-3.9-0.1-6.3-0.1c0,0.6,0,1.4,0,1.8v10.5c0,1.1,0,3.3,0.1,4.1h-5c0.1-1.4,0.2-5.1,0.2-7v-5
19
+ c0-1.1,0-3-0.1-4.5c-2.4,0-4.4,0-6.4,0.1c0.1-1.2,0.1-2.7,0.1-4c2.7,0.1,5.4,0.1,8.7,0.1s6.1-0.1,8.8-0.1
20
+ C96,3,95.9,4.3,95.9,5.6z"/>
21
+ <path class="st0" d="M100,22.6c-3.7,0.1-6.9-2.8-7-6.5c0-0.2,0-0.3,0-0.5c0-4.4,2.9-7.7,7.3-7.7c3.7-0.1,6.9,2.8,7,6.5
22
+ c0,0.2,0,0.3,0,0.5C107.4,19.3,104.5,22.6,100,22.6z M100.3,11.1c-1.8,0-3,1.5-3,4c0,3,1.2,4.2,2.9,4.2c1.9,0,3-1.5,3-4
23
+ C103.2,12.3,101.9,11.1,100.3,11.1z"/>
24
+ <path class="st0" d="M111.8,5.8c-1.3,0.1-2.4-0.9-2.5-2.2c0,0,0-0.1,0-0.1c0-1.4,1.1-2.4,2.5-2.4c0,0,0.1,0,0.1,0
25
+ c1.3-0.1,2.4,0.9,2.5,2.3c0,0,0,0,0,0c0,1.3-1.1,2.4-2.5,2.4C111.8,5.8,111.8,5.8,111.8,5.8z M109.3,22.1
26
+ c0.1-1.6,0.2-3.1,0.2-4.7v-4.1c0-1.7-0.1-3.7-0.2-4.9c1,0,3.8-0.2,4.7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2c0.1,2.1,1.4,3.2,3.7,3.2c1.8,0,3.6-0.6,5.2-1.6l-0.1,3.3c-1.7,1.1-3.6,1.6-5.6,1.6
38
+ c-5,0-7.4-3.2-7.4-7.1c0-4.4,3-7.6,7.4-7.6c4.4,0,6.2,3,6.2,6.8L175.1,15.8z M172.6,13.8c-0.2-1.8-0.9-2.8-2.5-2.8
39
+ c-1.7,0-2.7,1.3-3,3L172.6,13.8z"/>
40
+ <path class="st0" d="M205.8,16.6c-0.9,2.5-1.4,4-1.9,5.7l-3,0.3l-4.6-13.3l-2.7,8c-0.5,1.6-1.2,3.3-1.8,5.2h-3l-5.1-14.7
41
+ c-0.6-1.8-1.4-4.1-2.1-5.9l5-0.2l4.1,13.6l2.8-8.8c0.4-1.2,1.2-3.6,1.6-4.8l2.8-0.3l4.6,13.7l2.5-8.6l1.4-4.7h4.8L205.8,16.6z"
42
+ />
43
+ <path class="st0" d="M220.9,22.1c0.1-1.2,0.2-3.2,0.2-4.9V14c0-1.7-0.4-2.6-1.8-2.6c-1.6,0-2.9,1.3-3,2.9v5c0,1,0,1.9,0.1,2.9
44
+ h-4.6c0.1-1.2,0.2-3.1,0.2-4.8v-11c0-1.7-0.1-3.4-0.2-4.6c1-0.1,3.8-0.3,4.6-0.5c-0.1,0.8-0.1,3.3-0.1,3.8v6
45
+ c1-1.8,2.9-2.9,5-3.1c2.9,0,4.2,1.8,4.2,4.9v6.3c0,1,0.1,2.2,0.1,3H220.9z"/>
46
+ <path class="st0" d="M239.7,15.8l-8,0.2c0.1,2.1,1.4,3.2,3.7,3.2c1.9,0,3.7-0.6,5.2-1.6l-0.1,3.3c-1.7,1.1-3.6,1.6-5.6,1.6
47
+ c-5,0-7.4-3.2-7.4-7.1c0-4.4,3-7.6,7.4-7.6s6.2,3,6.2,6.8L239.7,15.8z M237.2,13.8c-0.2-1.8-0.9-2.8-2.5-2.8c-1.7,0-2.7,1.3-3,3
48
+ L237.2,13.8z"/>
49
+ <path class="st0" d="M252.1,22.1c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2.2H112.6z"/>
71
+ <path class="st0" d="M124.9,36.3v-1.9c0-1.2,0-2.5-0.1-3.4c0.8-0.1,2.8-0.3,3.4-0.4c-0.1,0.6-0.1,1.6-0.1,2.3v9.6
72
+ c0,1.2,0,2.6,0.2,3.5h-3.1L125,45c-0.7,0.9-1.8,1.4-2.9,1.4c-2.8,0-4.5-2.4-4.5-5c0-3.3,2.1-5.8,5.1-5.8
73
+ C123.4,35.6,124.2,35.8,124.9,36.3z M120.8,41.1c0,2,1,3,2.3,3c0.7,0,1.4-0.4,1.8-1v-4.5c-0.5-0.4-1.1-0.7-1.7-0.6
74
+ C121.6,38,120.8,39.4,120.8,41.1z"/>
75
+ <path class="st0" d="M135.3,46.1c0.1-1,0.2-3.7,0.2-5.1v-4.7c0-1.4,0-4.1-0.2-5.1c0.8,0,3,0,3.7-0.1c-0.1,0.6-0.1,2.3-0.1,3.1
76
+ V43c0,0.8,0,2.5,0.1,3.1H135.3z"/>
77
+ <path class="st0" d="M148.3,46.1c0.1-0.9,0.2-2.4,0.2-3.6v-2.4c0-1.2-0.3-2-1.4-2c-1.2,0-2.1,1-2.2,2.1v3.6c0,0.7,0,1.6,0.1,2.2
78
+ h-3.4c0.1-0.9,0.1-2.4,0.1-3.6v-2.9c0-1.2,0-2.6-0.1-3.5c0.7,0,2.5-0.2,3.2-0.3l0.2,2.1c0.8-1.3,2.2-2.2,3.7-2.3
79
+ c2.1,0,3.1,1.4,3.1,3.6v4.7c0,0.7,0,1.6,0.1,2.2H148.3z"/>
80
+ <path class="st0" d="M160.4,33.3c-0.3-0.1-0.6-0.2-1-0.2c-1.1,0-1.7,0.7-1.7,2.1v0.7h2.5c-0.1,0.5-0.1,1.5-0.1,2.3h-2.4v5.9
81
+ c0,0.7,0,1.4,0.1,2.1h-3.4c0.1-1.2,0.2-2.3,0.2-3.5v-4.5h-1.8l0.5-2.3h1.3v-0.5c0-2.9,1.5-4.7,4.3-4.7c0.5,0,0.9,0.1,1.4,0.2
82
+ L160.4,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c1.3-0.7,2.7-1.1,4.2-1.1c2.9,0,4.3,1.4,4.2,4.1l-0.1,3.7c0,0.6,0.2,0.8,0.6,0.8c0.2,0,0.4,0,0.6-0.1l-0.1,1.9
94
+ c-0.5,0.2-1.1,0.3-1.7,0.3c-1.1,0.1-2-0.6-2.2-1.7c-0.7,1.1-1.9,1.7-3.1,1.7C199.9,46.4,198.7,45.3,198.7,43.5z M204.7,42.6v-1
95
+ c-0.2,0-0.4,0-0.7,0c-1.7,0-2.4,0.7-2.4,1.6c0,0.7,0.5,1.2,1.1,1.3c0.1,0,0.1,0,0.2,0c1,0,1.7-0.7,1.8-1.7
96
+ C204.7,42.7,204.7,42.6,204.7,42.6L204.7,42.6z"/>
97
+ <path class="st0" d="M216.5,45.8c-0.7,0.4-1.5,0.6-2.4,0.6c-2.1,0-3.4-0.9-3.4-3.5v-4.8H209l0.5-2.3h1.3l0.2-2.1l3-1v3.1h2.6
98
+ c0,0.5-0.1,1.5-0.1,2.3H214v4.4c0,1.1,0.4,1.3,1.1,1.3c0.5,0,1.1-0.2,1.5-0.5L216.5,45.8z"/>
99
+ <path class="st0" d="M219.9,34.1c-1,0.1-1.8-0.6-1.8-1.6c0,0,0,0,0-0.1c0-1,0.8-1.8,1.8-1.8c0,0,0,0,0.1,0c1,0,1.8,0.7,1.8,1.7
100
+ c0,0,0,0,0,0C221.8,33.3,221,34.1,219.9,34.1C220,34.1,219.9,34.1,219.9,34.1z M218.1,46.1c0.1-1.2,0.2-2.3,0.2-3.5v-3
101
+ c0-1.2,0-2.4-0.2-3.6c0.8,0,2.8-0.1,3.4-0.2c-0.1,0.5-0.1,1.5-0.1,2.3v6c0,0.7,0,1.4,0.1,2.1L218.1,46.1z"/>
102
+ <path class="st0" d="M228.2,46.5c-2.8,0.1-5.1-2.1-5.1-4.8c0-0.1,0-0.2,0-0.3c0-3.3,2.2-5.7,5.4-5.7c2.7-0.1,5.1,2.1,5.1,4.8
103
+ c0,0.1,0,0.2,0,0.4C233.6,44,231.5,46.5,228.2,46.5z M228.4,38c-1.3,0-2.2,1.1-2.2,3c0,2.2,0.9,3.1,2.1,3.1c1.4,0,2.2-1.1,2.2-3
104
+ C230.5,38.9,229.6,38,228.4,38z"/>
105
+ <path class="st0" d="M242,46.1c0.1-1.2,0.2-2.4,0.2-3.6v-2.4c0-1.2-0.3-2-1.3-2c-1.2,0-2.1,1-2.2,2.1v3.6c0,0.7,0,1.5,0.1,2.2
106
+ h-3.4c0.1-0.9,0.1-2.4,0.1-3.6v-2.9c0-1.2,0-2.6-0.1-3.5c0.7,0,2.5-0.2,3.2-0.3l0.2,2.1c0.8-1.3,2.2-2.2,3.7-2.3
107
+ c2.1,0,3.1,1.4,3.1,3.6v4.7c0,0.7,0,1.6,0.1,2.2H242z"/>
108
+ <path class="st0" d="M83.7,62.2l0-4.9c0-1.4,0-4-0.1-5l2.1-0.2l8,9.6v-4.2c0-1.4,0-4.1-0.2-5.1c0.8,0,2.8,0,3.5-0.1
109
+ c-0.1,0.6-0.1,2.3-0.1,3.1L97,64.4c0,0.8,0,2.5,0,3.1L95,67.7l-8-9.6v6.2c0,0.8,0,2.5,0.1,3.1h-3.5
110
+ C83.6,66.3,83.7,63.6,83.7,62.2z"/>
111
+ <path class="st0" d="M108.2,62.8l-5.9,0.2c0.1,1.6,1,2.4,2.7,2.4c1.4,0,2.7-0.4,3.8-1.2l0,2.4c-1.2,0.8-2.7,1.2-4.1,1.2
112
+ c-3.7,0-5.4-2.4-5.4-5.2c0-3.3,2.2-5.6,5.4-5.6c3.2,0,4.6,2.2,4.6,5L108.2,62.8z M106.3,61.2c-0.1-1.4-0.7-2.1-1.8-2.1
113
+ s-2.1,0.9-2.2,2.2L106.3,61.2z"/>
114
+ <path class="st0" d="M111.9,64l-1-2.7c-0.5-1.3-1.1-3-1.5-3.9c0.3,0,2.8-0.2,3.2-0.2l1.9,6l0.8-2.3l1.2-3.6l2.1-0.1l2.1,6
115
+ l0.8-2.3c0.1-0.4,0.9-3,1.1-3.6c1.2,0,2.1,0,3.1-0.1l-3.8,10.3l-2.2,0.1c-0.3-1.1-0.8-2.4-1.3-3.8l-0.8-2.1l-2.1,5.9l-2.3,0.1
116
+ C112.8,66.5,112.4,65.3,111.9,64z"/>
117
+ <path class="st0" d="M143.4,53.8l-8,10.9h2.6c1.8,0,3.9,0,5.1-0.1c-0.1,0.9-0.2,1.8-0.2,2.8c-1.3-0.1-3.7-0.1-5.8-0.1
118
+ c-2.4,0-4.7,0-6.3,0.1l-0.3-1.6l8-10.8h-2.3c-1.9,0-3.6,0-5,0c0.1-0.8,0.2-1.9,0.3-2.8c2.1,0.1,3,0.1,5.8,0.1
119
+ c2.7,0,4.4,0,5.8-0.1L143.4,53.8z"/>
120
+ <path class="st0" d="M153.2,62.8l-5.9,0.2c0.1,1.6,1,2.4,2.7,2.4c1.4,0,2.7-0.4,3.8-1.2l-0.1,2.4c-1.2,0.8-2.7,1.2-4.1,1.2
121
+ c-3.7,0-5.4-2.4-5.4-5.2c0-3.3,2.2-5.6,5.4-5.6c3.2,0,4.6,2.2,4.6,5L153.2,62.8z M151.4,61.2c-0.1-1.4-0.7-2.1-1.8-2.1
122
+ s-2.1,0.9-2.2,2.2L151.4,61.2z"/>
123
+ <path class="st0" d="M155.1,64.8c0-2.1,1.7-3.4,5.2-3.4c0.2,0,0.5,0,0.8,0v-0.3c0-1.1-0.4-1.7-1.7-1.7c-1.1,0-2.2,0.4-3.1,0.9
124
+ l-0.4-2.4c1.3-0.7,2.7-1.1,4.2-1.1c2.9,0,4.3,1.4,4.2,4.1l-0.1,3.7c0,0.6,0.2,0.8,0.6,0.8c0.2,0,0.4,0,0.6-0.1l-0.2,1.9
125
+ c-0.5,0.2-1.1,0.3-1.7,0.3c-1.1,0.1-2-0.6-2.2-1.7c-0.7,1.1-1.9,1.7-3.1,1.7C156.3,67.6,155.1,66.6,155.1,64.8z M161.1,63.9v-1
126
+ c-0.2,0-0.5,0-0.7,0c-1.7,0-2.4,0.7-2.4,1.6c0,0.7,0.5,1.2,1.1,1.3c0.1,0,0.1,0,0.2,0c1,0,1.7-0.7,1.8-1.7
127
+ C161.1,63.9,161.1,63.9,161.1,63.9L161.1,63.9z"/>
128
+ <path class="st0" d="M166.6,67.4c0.1-0.9,0.1-2.3,0.1-3.6v-8.1c0-1.2,0-2.5-0.1-3.4c0.7,0,2.8-0.3,3.4-0.4
129
+ c-0.1,0.6-0.1,2.4-0.1,2.8v10.5c0,0.7,0,1.6,0.1,2.1H166.6z"/>
130
+ <path class="st0" d="M171.5,64.8c0-2.1,1.7-3.4,5.2-3.4c0.2,0,0.5,0,0.8,0v-0.3c0-1.1-0.4-1.7-1.7-1.7c-1.1,0-2.2,0.4-3.1,0.9
131
+ l-0.4-2.4c1.3-0.7,2.7-1.1,4.2-1.1c2.9,0,4.3,1.4,4.2,4.1l-0.1,3.7c0,0.6,0.2,0.8,0.6,0.8c0.2,0,0.4,0,0.6-0.1l-0.1,1.9
132
+ c-0.5,0.2-1.1,0.3-1.7,0.3c-1,0.1-2-0.6-2.2-1.7c-0.7,1.1-1.8,1.7-3.1,1.7C172.7,67.6,171.5,66.6,171.5,64.8z M177.4,63.9v-1
133
+ c-0.2,0-0.4,0-0.7,0c-1.7,0-2.4,0.7-2.4,1.6c0,0.7,0.5,1.2,1.1,1.3c0.1,0,0.1,0,0.2,0c0.9,0,1.7-0.7,1.8-1.7
134
+ C177.4,64,177.4,63.9,177.4,63.9L177.4,63.9z"/>
135
+ <path class="st0" d="M189.7,67.4c0.1-1.2,0.2-2.4,0.2-3.6v-2.4c0-1.2-0.3-2-1.3-2c-1.2,0-2.1,1-2.2,2.1v3.6c0,0.7,0,1.5,0.1,2.2
136
+ H183c0.1-0.9,0.1-2.4,0.1-3.6v-2.9c0-1.2,0-2.6-0.1-3.5c0.7,0,2.5-0.2,3.2-0.3l0.1,2.1c0.8-1.3,2.2-2.2,3.7-2.3
137
+ c2.1,0,3.1,1.4,3.1,3.6v4.7c0,0.7,0,1.6,0.1,2.2L189.7,67.4z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0.9,2.8-1.6,5.5-2.1,8l0,0V47v0l0,0.2
149
+ l-0.1,0.3c-0.3,1.7,0.8,3.4,2.5,3.7c0.2,0,0.4,0.1,0.6,0.1h0.1c-0.1,0.4-0.2,0.8-0.3,1.2v0.1l-0.1,0.6c-0.4,1.7,0.7,3.4,2.5,3.8
150
+ C4.6,57,4.8,57,5,57h0.1c-0.1,0.4-0.2,0.8-0.3,1.2c0,0,0,0.1,0,0.1v0.1l0,0v0.1c0,0,0,0.1,0,0.1v0.2c-0.4,1.7,0.7,3.4,2.5,3.8
151
+ c0.2,0,0.3,0.1,0.5,0.1H8c-0.1,0.3-0.1,0.7-0.2,1c-0.3,1.7,0.8,3.4,2.5,3.7c0.2,0,0.4,0.1,0.6,0.1c0.2,0,0.3,0,0.5,0
152
+ c6.3-0.8,12.6-1.2,18.9-1.2c8.3,0,16.6,0.5,24.8,1.5c0.1,0,0.3,0,0.4,0c1.6,0,2.9-1.1,3.1-2.7c2.2-14.7,7.1-34.7,14.4-47
153
+ C73.5,17.3,73.5,16.1,73,15.1z"/>
154
+
155
+ <linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="25.4018" y1="46.2142" x2="67.5174" y2="4.0917" gradientTransform="matrix(1 0 0 -1 0 72)">
156
+ <stop offset="0" style="stop-color:#73C8E1"/>
157
+ <stop offset="1" style="stop-color:#007199"/>
158
+ </linearGradient>
159
+ <path class="st1" d="M70.2,16.8C55.7,15.6,42,15.9,32.3,17c-9.1,9.3-18.5,32.1-21.6,47.8C21,63.3,38.1,63,55.4,65.2
160
+ C57.5,50.8,62.5,29.9,70.2,16.8z"/>
161
+
162
+ <linearGradient id="SVGID_2_" gradientUnits="userSpaceOnUse" x1="22.1654" y1="51.3419" x2="63.835" y2="9.6723" gradientTransform="matrix(1 0 0 -1 0 72)">
163
+ <stop offset="0" style="stop-color:#75CBC7"/>
164
+ <stop offset="1" style="stop-color:#008782"/>
165
+ </linearGradient>
166
+ <path class="st2" d="M66.6,11.5c-14.5-1.2-28.1-0.9-37.9,0.3c-9.1,9.3-17.9,32.3-21,47.9c10.4-1.5,25.9-2,42.5-0.5
167
+ C53,42.9,58.4,25.3,66.6,11.5z"/>
168
+ <path class="st0" d="M7.6,59.9l0.1-0.6c11.4-1.7,27.1-1.9,42.2-0.5c3.2-18.2,8.9-34.9,16.3-47.4l0.6,0
169
+ C59.4,24,53.5,41.1,50.4,59.3l0,0.3h-0.2C35,58.1,19,58.3,7.6,59.9z"/>
170
+
171
+ <linearGradient id="SVGID_3_" gradientUnits="userSpaceOnUse" x1="18.7094" y1="55.3306" x2="58.6911" y2="15.3558" gradientTransform="matrix(1 0 0 -1 0 72)">
172
+ <stop offset="0" style="stop-color:#9DD19A"/>
173
+ <stop offset="0.5" style="stop-color:#06A24A"/>
174
+ </linearGradient>
175
+ <path class="st3" d="M45.6,32.4l1.5-4l7.1-8.1c0.3-0.1,0.6-0.1,0.9-0.1C56.9,16,59,12,61.3,8.1c-13.9-1.2-27-0.9-36.4,0.2
176
+ C16.3,17.1,7.7,39.1,4.8,53.9c5.4-0.7,10.8-1.2,16.2-1.3c-0.3-0.2-0.1-1.4-0.1-1.5c0.4-1.6,1.5-2.8,3-4.1c1.5-1.3,0.8-2.1,2-2.6
177
+ c2.5-1.1,4.9-2.5,7.1-4.1c2.8-2.1,3.8-9.2,3.9-8.7c0.1,0.5,1.1,0.3,1.1,0.7c0,0.4,0.3,1.2,0.5,1.3s1-2.1,2.9-2.2
178
+ c1.2,0.1,2.4,0.5,3.3,1.3c0.1,0,0.8-0.1,0.8-0.1L45.6,32.4z"/>
179
+ <path class="st0" d="M54.9,21.1l-0.5-0.3l0.4-0.7c1.8-4.1,3.9-8.2,6.2-12l0.6,0c-2.4,3.9-4.5,8-6.3,12.2L54.9,21.1z"/>
180
+ <path class="st0" d="M36.8,7.1c-0.2,0.1,0.1,0.2,0.5,0.7c0.5,0.6,0.9,1.3,1.2,2.1c0,0.4-0.5,0.2,0.1,0.8c0.5,0.6,2.3,3.2,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1,0.4-1.4c0-0.2-0.2-0.1-0.3-0.1
190
+ c-0.1,0-0.3-0.1-0.3-0.2c-0.1-0.3-0.4-0.3-1-0.1c-0.6,0.2-1.2,1-1.4,0.9c-0.2,0-0.5-0.9-0.5-1.3s-1.1-0.2-1-0.8
191
+ c0-0.2,0.1-0.4,0.2-0.5c0,0,0.1-0.1,0-0.2c-0.8-0.1-1.4,0.8-1.8,1.2C35,32.3,36,33.7,35,34.5c-1,0.8-1.4,0.6-1.5,1
192
+ c-0.3,2-1.3,3.8-2.9,4.9c-2.7,2.2-4.2,3.5-5.4,4s-1.4,2.1-2.8,3.4c-1.4,1.3-2.3,4.2-1.5,5c0.6,0.5,1.4,0.7,2.1,0.4
193
+ c0.4-0.1,0.8,0,1.1,0.3c0.2,0.3,0.9-0.1,1.3,0.3c0.6,0.4,1.4,0.6,2.1,0.5c1-0.1,2.7-0.9,4.1-3.1c1.4-2.3,1.2-4.3,1.5-5.1
194
+ c0.4-1.1,1.3-2,2.5-2.4c1.2-0.3,1.4-0.5,1.8-0.3s1.3,0.3,1.2-0.4s-1.1-0.5-1.1-1.1c0-0.6-0.2-1,0.6-1.4c0.8-0.3,1.2-1.4,1.7-2.3
195
+ C40.1,37.3,40.7,37,41.2,36.2z"/>
196
+
197
+ <linearGradient id="SVGID_4_" gradientUnits="userSpaceOnUse" x1="10.235" y1="54.1843" x2="40.4254" y2="23.987" gradientTransform="matrix(1 0 0 -1 0 72)">
198
+ <stop offset="0" style="stop-color:#9DD19A"/>
199
+ <stop offset="1" style="stop-color:#06A24A"/>
200
+ </linearGradient>
201
+ <path class="st4" d="M44.5,28.9c-0.1-0.1-0.2-0.3-0.3-0.4c-0.1-0.1-0.2-0.2-0.3-0.2c-0.5-0.3-1.2-0.3-1.6-0.7
202
+ C41.6,27,40.6,27,40.5,26s0.8-1.1,1.8-1.6c1-0.5,1.3-2.4,1.4-3.8c0.1-1.3-0.4-2.1-0.9-3.5c-0.5-1.2-1-1.9-1-2.1s0.2,0,0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="st0" d="M24.3,54.5c-0.5-0.2-0.3,0.3-0.3,0.7c0,0.4-0.2,0.3-0.3,0.7c-0.1,0.3-0.2,0.7-0.1,0.9s0.2,0.2,0.5-0.1
215
+ c0.3-0.3,0.3-0.3,0.7-0.3s0.6-0.1,0.6-0.6C25.2,55.1,24.8,54.7,24.3,54.5z"/>
216
+
217
+ <linearGradient id="SVGID_5_" gradientUnits="userSpaceOnUse" x1="13.9802" y1="60.3853" x2="30.4409" y2="30.0783" gradientTransform="matrix(1 0 0 -1 0 72)">
218
+ <stop offset="0" style="stop-color:#FFFFFF;stop-opacity:0.9"/>
219
+ <stop offset="1" style="stop-color:#FFFFFF;stop-opacity:0.1"/>
220
+ </linearGradient>
221
+ <path class="st5" d="M7.5,47.3h0.4c0.7-2.7,1.3-5.3,2.1-7.7c1.9-0.1,4.2-0.2,6.6-0.3c-0.7,2.4-1.4,4.9-2.1,7.6H15
222
+ c0.7-2.7,1.3-5.2,2.1-7.5c2.1-0.1,4.3-0.2,6.6-0.2c-0.7,2.4-1.4,4.9-2.1,7.5h0.2H22c0.6-2.6,1.3-5.1,2.1-7.5c2.2,0,4.4,0,6.6,0
223
+ c-0.2,0.6-0.4,1.2-0.5,1.8c0.1-0.1,0.2-0.2,0.4-0.3l0.2-0.2c0.1-0.5,0.3-0.9,0.4-1.4h0.9c0.1-0.1,0.2-0.3,0.3-0.4h-1.1
224
+ c0.7-2.4,1.5-4.7,2.3-6.9l2.1,0c0.1-0.1,0.2-0.2,0.4-0.4c-0.7,0-1.5,0-2.3-0.1c0.9-2.5,1.8-4.7,2.7-6.9c1.8,0,3.6,0.1,5.4,0.2
225
+ c0.2-0.1,0.4-0.2,0.5-0.3c0.1,0,0.1-0.1,0.2-0.1c-1.9-0.1-3.9-0.2-5.9-0.2c1.1-2.5,2.2-4.8,3.2-6.9c1,0,2.1,0,3.1,0.1l-0.1-0.2
226
+ L42.7,17c-0.9,0-1.8-0.1-2.7-0.1c0.4-0.8,0.8-1.5,1.2-2.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,24.5,28.9,24.5z M22.5,24.2c1.1-2.5,2.2-4.8,3.3-6.9
236
+ c2.1-0.1,4.3-0.2,6.6-0.2c-1,2.1-2.1,4.3-3.2,6.9C26.8,24.1,24.6,24.2,22.5,24.2z M30.9,38.5c-2.2,0-4.4,0-6.6,0
237
+ c0.7-2.4,1.5-4.7,2.3-6.9c2.2,0,4.4,0,6.6,0C32.4,33.8,31.6,36.1,30.9,38.5z M33.3,31.3c-2.2,0-4.4,0-6.6,0
238
+ c0.9-2.5,1.8-4.7,2.7-6.9c2.2,0,4.4,0,6.6,0C35.1,26.6,34.2,28.8,33.3,31.3z M39.4,17.2c-1,2.1-2.1,4.3-3.2,6.9
239
+ c-2.2,0-4.4,0-6.6,0c1.1-2.5,2.2-4.8,3.2-6.9C34.9,17.2,37.2,17.2,39.4,17.2L39.4,17.2z M29.9,10.2c2.1-0.1,4.3-0.2,6.5-0.2
240
+ c-1.2,1.9-2.5,4.1-3.9,6.9c-2.3,0-4.5,0.1-6.6,0.2C27.4,14.3,28.7,12,29.9,10.2z M22.9,10.5c1.9-0.1,4.1-0.2,6.6-0.3
241
+ c-1.2,1.8-2.5,4.1-4,6.9c-2.4,0.1-4.7,0.2-6.6,0.3C20.3,14.6,21.7,12.4,22.9,10.5z M18.7,17.8c1.9-0.1,4.2-0.2,6.6-0.3
242
+ c-1,2.1-2.1,4.3-3.2,6.9c-2.4,0.1-4.7,0.2-6.6,0.3C16.5,22.1,17.6,19.8,18.7,17.8z M15.3,25c1.9-0.1,4.2-0.2,6.6-0.3
243
+ c-0.9,2.1-1.8,4.4-2.7,6.9c-2.5,0.1-4.7,0.2-6.6,0.3C13.4,29.4,14.4,27.1,15.3,25z M12.4,32.3c1.9-0.1,4.2-0.2,6.6-0.3
244
+ c-0.8,2.1-1.5,4.4-2.2,6.8c-2.5,0.1-4.7,0.2-6.6,0.3C10.9,36.7,11.6,34.4,12.4,32.3z"/>
245
+
246
+ <linearGradient id="SVGID_6_" gradientUnits="userSpaceOnUse" x1="39.2931" y1="43.2156" x2="41.7906" y2="38.6047" gradientTransform="matrix(1 0 0 -1 0 72)">
247
+ <stop offset="0" style="stop-color:#FFF799;stop-opacity:0.9"/>
248
+ <stop offset="1" style="stop-color:#FFF8A3;stop-opacity:0.1"/>
249
+ </linearGradient>
250
+ <path class="st6" d="M40.7,31.6c0.5-1.4,1-2.7,1.5-4c-0.1-0.1-0.2-0.2-0.3-0.2c-0.5,1.4-1.1,2.7-1.6,4.2c-1-0.1-2.1-0.1-3.2-0.2
251
+ c0,0.3,0.3,0.3,0.6,0.4c0.8,0,1.6,0.1,2.4,0.1L40,32.6H40c0.1-0.1,0.3-0.1,0.4-0.1l0.2-0.4c1.1,0.1,2.2,0.2,3.2,0.3
252
+ c0.1-0.1,0.2-0.2,0.2-0.4C43,31.8,41.9,31.7,40.7,31.6z"/>
253
+ </g>
254
+ </g>
255
+ </g>
256
+ </svg>
@@ -0,0 +1,11 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="190" height="20" viewBox="0 0 190 20">
2
+ <defs>
3
+ <path id="a" d="M0 0h189.572v19.312H0z"/>
4
+ </defs>
5
+ <g fill="none" fill-rule="evenodd" opacity=".7">
6
+ <mask id="b" fill="#fff">
7
+ <use xlink:href="#a"/>
8
+ </mask>
9
+ <path fill="#FEFEFE" d="M83.139 13.813H81.31V7.021c0-.904-.082-1.226-.323-1.547-.2-.261-.562-.402-1.024-.402-.724 0-1.81.563-2.492 1.286v7.455h-.93c-.586 0-.9-.44-.9-1.127V6.318c0-1.206-.1-1.668-.381-2.392l1.749-.482c.24.482.342.924.342 1.547.582-.482.884-.743 1.306-.984a3.732 3.732 0 0 1 1.869-.502c1.064 0 2.009.562 2.37 1.426.161.362.242.804.242 1.267v7.615zm8.054-2.552V5.996c-.522-.623-1.186-.944-2.13-.944-.763 0-1.367.381-1.748 1.025-.382.662-.523 1.467-.523 2.773 0 1.95.241 2.492.784 3.054.341.362.804.523 1.487.523 1.065 0 1.789-.563 2.13-1.166zm2.15 2.552h-1.768c-.1-.301-.12-.442-.181-.944-.703.744-1.528 1.105-2.592 1.105-2.572 0-4.08-1.929-4.08-5.104 0-2.17.744-3.838 2.11-4.723a3.477 3.477 0 0 1 1.97-.582c.964 0 1.768.341 2.451 1.166 0-.282-.04-1.819-.04-2.502V.143l1.849.301v9.994c0 1.627.06 2.753.281 3.375zM71.86 8.87c-.282-.02-.442-.04-.603-.04-1.387 0-2.23.261-2.633.723-.381.443-.522.804-.522 1.467 0 1.106.563 1.749 1.588 1.749.843 0 1.648-.523 2.11-1.327l.06-2.572zm2.612 4.12l-.944 1.245c-.623-.24-1.106-.743-1.347-1.447-.26.322-1.105 1.327-2.853 1.327-2.01 0-3.255-1.025-3.255-2.954 0-2.331 1.868-3.577 5.124-3.577.24 0 .442 0 .703.02V6.94c0-1.186-.16-1.99-1.567-1.99-1.065 0-2.272.523-3.095 1.146l-.844-1.327c.985-.562 2.27-1.326 4.22-1.326 1.467 0 2.532.543 2.914 1.608.16.442.2.784.2 1.768 0 .724-.08 2.271-.08 3.738 0 1.387.04 1.95.824 2.432zm-9.171.803a2.71 2.71 0 0 1-1.146.221c-.723 0-1.186-.22-1.567-.763-.301-.422-.382-.764-.382-1.749V3.295c0-1.426-.06-2.11-.221-2.893L63.915 0c.18.663.18 1.628.18 2.874v8.146c0 1.065.06 1.306.261 1.487.121.141.402.201.623.141l.322 1.145zM58.267 8.87c-.28-.02-.442-.04-.602-.04-1.387 0-2.23.261-2.633.723-.382.443-.523.804-.523 1.467 0 1.106.563 1.749 1.588 1.749.844 0 1.648-.523 2.11-1.327l.06-2.572zm2.613 4.12l-.944 1.245c-.623-.24-1.106-.743-1.347-1.447-.26.322-1.105 1.327-2.854 1.327-2.009 0-3.255-1.025-3.255-2.954 0-2.331 1.869-3.577 5.124-3.577.241 0 .443 0 .704.02V6.94c0-1.186-.161-1.99-1.568-1.99-1.065 0-2.27.523-3.095 1.146l-.843-1.327c.984-.562 2.27-1.326 4.22-1.326 1.466 0 2.532.543 2.914 1.608.16.442.2.784.2 1.768 0 .724-.08 2.271-.08 3.738 0 1.387.04 1.95.824 2.432zM49.461 7.805c0-.964-.22-1.768-.622-2.271a1.81 1.81 0 0 0-1.447-.703c-1.407 0-2.11 1.146-2.11 2.974h4.18zm1.93 1.366h-6.13v.242c0 .863.121 1.527.423 2.01.522.803 1.345 1.185 2.31 1.185.945 0 1.749-.322 2.472-.965l.704 1.106c-.986.864-2.17 1.285-3.477 1.285-2.793 0-4.502-2.029-4.502-5.324 0-1.749.342-2.874 1.206-3.9.804-.944 1.789-1.386 3.035-1.386 1.125 0 2.03.362 2.733 1.085.884.905 1.205 2.03 1.226 4.34v.322zM32.64 3.746l-2.813 10.148H28.04l-1.467-5.486c-.18-.703-.623-2.371-.623-2.371h-.06s-.402 1.708-.542 2.25l-1.508 5.607h-1.768L19.318 3.826l1.868-.301 1.287 5.646c.22 1.005.522 2.472.522 2.472h.061s.22-1.426.462-2.29l1.527-5.607h1.91L28.36 9.19c.281 1.085.562 2.352.562 2.452h.08c0-.1.322-1.728.463-2.39l1.246-5.507h1.93zm-15.82 4.06c0-.965-.22-1.77-.623-2.272a1.807 1.807 0 0 0-1.446-.703c-1.407 0-2.11 1.146-2.11 2.974h4.18zm1.93 1.365h-6.13v.242c0 .863.121 1.527.423 2.01.523.803 1.346 1.185 2.31 1.185.945 0 1.749-.322 2.472-.965l.703 1.106c-.984.864-2.17 1.285-3.476 1.285-2.793 0-4.501-2.029-4.501-5.324 0-1.749.341-2.874 1.205-3.9.804-.944 1.79-1.386 3.035-1.386 1.125 0 2.03.362 2.733 1.085.884.905 1.205 2.03 1.226 4.34v.322zm170.822-5.396l-.5 1.3h-1.98v6.039c0 1.24.3 1.62 1.3 1.62.34 0 .62-.06.939-.2l.22 1.12c-.56.28-1.16.42-1.82.42-.66 0-1.379-.2-1.7-.5-.419-.381-.74-.58-.74-2.04v-6.46h-1.198v-1.3h1.199c0-.779.02-1.8.12-2.559l1.9-.44c-.08.72-.18 1.98-.18 3h2.44zm-6.775 10.018h-1.82V7.035c0-.9-.08-1.22-.319-1.54-.2-.26-.56-.4-1.02-.4-.72 0-1.8.56-2.48 1.28v7.418h-1.82V6.334c0-1.2-.1-1.659-.38-2.38l1.74-.479c.24.48.34.92.34 1.54.58-.48.88-.74 1.3-.98.58-.34 1.24-.5 1.86-.5 1.06 0 1.999.56 2.36 1.42.159.36.24.8.24 1.26v7.578zm-10.983-5.979c0-.96-.22-1.76-.62-2.26-.32-.4-.8-.7-1.44-.7-1.399 0-2.1 1.14-2.1 2.96h4.16zm1.92 1.36h-6.1v.24c0 .86.12 1.52.42 2 .521.8 1.34 1.18 2.3 1.18.94 0 1.74-.32 2.46-.96l.7 1.1c-.98.86-2.16 1.28-3.46 1.28-2.78 0-4.479-2.02-4.479-5.3 0-1.74.34-2.86 1.2-3.88.8-.94 1.78-1.379 3.02-1.379 1.12 0 2.02.36 2.72 1.08.88.9 1.199 2.02 1.219 4.32v.319zm-9.577 4.62h-1.82v-7.18c0-1.14-.36-1.54-1.2-1.54-.92 0-1.58.6-2.339 1.36v7.36h-1.8v-7.14c0-1.12-.32-1.54-1.24-1.54-.68 0-1.44.34-2.3 1.16v7.52h-1.82v-7.36c0-1.42-.08-1.8-.359-2.499l1.72-.42c.2.34.34.84.34 1.4.86-.9 1.88-1.42 2.819-1.42.94 0 1.88.5 2.38 1.58 1-1.06 2.04-1.58 3.06-1.58 1.559 0 2.559.98 2.559 2.82v7.478zm-14.397 0h-1.82v-6.76c0-.899-.08-1.22-.32-1.54-.2-.26-.56-.4-1.02-.4-.72 0-1.799.56-2.48 1.28v7.42h-1.82v-7.46c0-1.2-.099-1.659-.379-2.38l1.74-.479c.24.48.34.92.34 1.54.58-.48.88-.74 1.3-.98.58-.34 1.24-.5 1.86-.5 1.059 0 1.999.56 2.36 1.42.159.36.239.8.239 1.26v7.578zm-8.782-10.239l-.64 1.84a1.5 1.5 0 0 0-.52-.1c-1.12 0-2.079.94-2.079 2.039v6.46h-1.84v-7.36c0-1.22-.14-1.88-.38-2.499l1.78-.46c.18.38.34 1.04.34 1.54v.18c.8-1.16 1.66-1.74 2.72-1.74.24 0 .46.04.62.1zm-8.603 4.259c0-.96-.22-1.76-.62-2.26-.32-.4-.8-.7-1.44-.7-1.399 0-2.1 1.14-2.1 2.96h4.16zm1.92 1.36h-6.1v.24c0 .86.12 1.52.421 2 .52.8 1.34 1.18 2.3 1.18.939 0 1.74-.32 2.459-.96l.7 1.1c-.98.86-2.16 1.28-3.46 1.28-2.779 0-4.479-2.02-4.479-5.3 0-1.74.34-2.86 1.2-3.88.8-.94 1.78-1.379 3.02-1.379 1.12 0 2.02.36 2.719 1.08.88.9 1.2 2.02 1.22 4.32v.319zm-8.373-5.4l-3.659 10.1h-1.72l-3.58-10.06 1.9-.3 1.98 6.06c.22.68.44 1.48.6 2.16.16-.6.36-1.38.64-2.2l1.9-5.76h1.94zm-11.258 5.18c0-3.1-.9-4.04-2.34-4.04-1.6 0-2.259 1.14-2.259 3.66 0 3.06.78 4.08 2.34 4.08 1.4 0 2.26-1.08 2.26-3.7zm2.06-.08c0 3.18-1.7 5.2-4.36 5.2-2.679 0-4.34-2.04-4.34-5.3 0-3.24 1.661-5.28 4.3-5.28 2.96 0 4.4 2.36 4.4 5.38zm-10.025 4.02c-1.12.7-2.62 1.1-4.08 1.1-1.84 0-3.3-.62-4.358-1.86-1.1-1.28-1.6-2.9-1.6-5.16 0-1.913.8-4.103 2.38-5.403.998-.82 2.099-1.18 3.459-1.18 1.5 0 2.819.44 3.899 1.38l-.92 1.2c-1.02-.74-1.88-1.04-2.94-1.04-1.32 0-2.298.552-2.959 1.76-.481.88-.76 1.744-.76 3.383 0 1.9.34 3.32.98 4.16.6.78 1.78 1.24 2.96 1.24.779 0 1.48-.2 2.04-.52v-3.92h-2.54l-.32-1.58h4.759v6.44zm-63.23-.374l-.48 1.6h-8.218v-1.48l5.559-8.782c.3-.52.7-1.06.98-1.42-.4.04-.9.06-1.58.06h-4.719l.46-1.6h7.918v1.54l-5.499 8.783c-.3.52-.62.92-.86 1.32.42-.02.88-.02 1.38-.02h5.06zM9.194 13.957h-2.06l-3.62-7.319c-.7-1.42-1.419-2.98-1.679-3.78l-.12.02c.1 1.18.14 2.56.16 3.84l.08 7.239h-.756c-.873 0-1.184-.844-1.184-1.796V.18h2.24l3.84 7.599c.58 1.14 1.26 2.92 1.36 3.3l.12-.041c-.04-.4-.2-2.58-.2-4.1L7.333.18h1.86v13.778zM0 18.359s23.909-2.699 46.523-2.699c23.1 0 47.15 2.7 47.15 2.7v.952s-24.21-2.559-47.146-2.559C23.91 16.753 0 19.313 0 19.313v-.954z" mask="url(#b)"/>
10
+ </g>
11
+ </svg>
Binary file
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+
4
+ <head>
5
+ <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
6
+ <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
7
+ <title>Basemaps Examples | Land Information New Zealand (LINZ)</title>
8
+ </head>
9
+
10
+ <body>
11
+ <h1>Examples of accessing basemaps from a browser</h1>
12
+ <p id="noApiKey" style="display:none">
13
+ Please first visit <a href="/" >basemaps</a> to be automatically allocated a 90 day API key.
14
+ </p>
15
+ <ul>
16
+ <li><a href="/examples/index.leaflet.xyz.3857.html">index.leaflet.xyz.3857.html</a></li>
17
+ <li><a href="/examples/index.openlayers.attribution.wmts.3857.html">index.openlayers.attribution.wmts.3857.html</a></li>
18
+ <li><a href="/examples/index.openlayers.wmts.3857.html">index.openlayers.wmts.3857.html</a></li>
19
+ <li><a href="/examples/index.openlayers.xyz.3857.html">index.openlayers.xyz.3857.html</a></li>
20
+ <li><a href="/examples/index.maplibre.vector.3857.html">index.maplibre.vector.3857.html</a></li>
21
+ <li><a href="/examples/index.maplibre.compare.3857.html">index.maplibre.compare.3857.html</a></li>
22
+ <li><a href="/examples/index.maplibre.opacity.3857.html">index.maplibre.opacity.3857.html</a></li>
23
+ </ul>
24
+ <p>
25
+ Source code available at <a href="https://github.com/linz/basemaps">https://github.com/linz/basemaps</a>
26
+ </p>
27
+ <script>
28
+ if (! localStorage.getItem("api-key")) {
29
+ document.getElementById('noApiKey').style.display = "";
30
+ }
31
+ </script>
32
+ </body>
33
+ </html>
@@ -0,0 +1,43 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <title>Leaflet WGS84 Basemaps Demo</title>
6
+ <link
7
+ rel="stylesheet"
8
+ href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
9
+ />
10
+ <script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>
11
+ <style>
12
+ html,
13
+ body {
14
+ height: 100%;
15
+ margin: 0;
16
+ }
17
+ </style>
18
+ </head>
19
+
20
+ <body>
21
+ <div id="map" style="width: 600px; height: 400px;"></div>
22
+ <script>
23
+ const apiKey = localStorage.getItem('api-key');
24
+ if (! apiKey) {
25
+ throw new Error('Missing api-key in localStorage');
26
+ }
27
+
28
+ const startPos = [-40.5, 173];
29
+ const startZoom = 6;
30
+
31
+ const url = 'https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/{z}/{x}/{y}.webp?api='+apiKey;
32
+
33
+ const tiles = L.tileLayer(url, {
34
+ attribution: '<a href="https://www.linz.govt.nz/data/linz-data/linz-basemaps/data-attribution">LINZ CC BY 4.0 © Imagery Basemap contributors</a>'
35
+ });
36
+
37
+ L.map('map')
38
+ .addLayer(tiles)
39
+ .setView(startPos, startZoom);
40
+
41
+ </script>
42
+ </body>
43
+ </html>
@@ -0,0 +1,111 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <title>Maplibre WGS84 Swipe between raster and vector maps Demo</title>
6
+ <meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
7
+ <script
8
+ src="https://api.mapbox.com/mapbox-gl-js/v2.3.0/mapbox-gl.js"
9
+ integrity="sha384-jzJlE25T0D6awCZu40rkb9hFa6fxUC8/IN9wKY49uH9k/PP5efecoiru/RGCszy2"
10
+ crossorigin="anonymous"
11
+ ></script>
12
+ <script
13
+ src="https://unpkg.com/maplibre-gl@1.14.0-rc.1/dist/maplibre-gl.js"
14
+ integrity="sha384-YAsv3Nk7n9hAR/gbvgvtGvq2TV1hvEpFks3bGIs451f9D0jSn070rHje6Swuo7bL"
15
+ crossorigin="anonymous"
16
+ ></script>
17
+ <link href="https://unpkg.com/maplibre-gl@1.14.0-rc.1/dist/maplibre-gl.css" rel="stylesheet" />
18
+ <script
19
+ src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-compare/v0.4.0/mapbox-gl-compare.js"
20
+ integrity="sha384-4vY2uVrBcMvF9vEZC0sp2hF66Ux2LY8PbIv23Mx1LQ1J+WyNUajJwqfiWVAIBUGA"
21
+ crossorigin="anonymous"
22
+ ></script>
23
+ <link
24
+ rel="stylesheet"
25
+ href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-compare/v0.4.0/mapbox-gl-compare.css"
26
+ type="text/css"
27
+ />
28
+ <style>
29
+ body {
30
+ margin: 0;
31
+ padding: 0;
32
+ overflow: hidden;
33
+ }
34
+
35
+ body * {
36
+ -webkit-touch-callout: none;
37
+ -webkit-user-select: none;
38
+ -moz-user-select: none;
39
+ -ms-user-select: none;
40
+ user-select: none;
41
+ }
42
+
43
+ .map {
44
+ position: absolute;
45
+ top: 0;
46
+ bottom: 0;
47
+ width: 100%;
48
+ }
49
+ </style>
50
+ </head>
51
+ <body>
52
+ <div id="comparison-container"></div>
53
+ <div id="raster" class="map"></div>
54
+ <div id="vector" class="map"></div>
55
+ </div>
56
+ <script>
57
+ const apiKey = localStorage.getItem('api-key');
58
+ if (!apiKey) {
59
+ throw new Error('Missing api-key in localStorage');
60
+ }
61
+
62
+ // vector layers
63
+ const styleUrl =
64
+ 'https://basemaps.linz.govt.nz/v1/tiles/topographic/EPSG:3857/style/topographic.json?api=' + apiKey;
65
+
66
+ // Raster layers
67
+ const url = 'https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/{z}/{x}/{y}.webp?api=' + apiKey;
68
+
69
+ const startPos = [173, -40.5];
70
+ const startZoom = 6;
71
+
72
+ var raster = new maplibregl.Map({
73
+ container: 'raster', // Container ID
74
+ style: {
75
+ version: 8,
76
+ sources: {
77
+ 'raster-tiles': {
78
+ type: 'raster',
79
+ tiles: [url],
80
+ tileSize: 256,
81
+ },
82
+ },
83
+ layers: [
84
+ {
85
+ id: 'LINZ Raster Basemaps',
86
+ type: 'raster',
87
+ source: 'raster-tiles',
88
+ },
89
+ ],
90
+ },
91
+ center: startPos,
92
+ zoom: startZoom,
93
+ });
94
+
95
+ var vector = new maplibregl.Map({
96
+ container: 'vector', // Container ID
97
+ style: styleUrl,
98
+ center: startPos,
99
+ zoom: startZoom,
100
+ });
101
+
102
+ // A selector or reference to HTML element
103
+ var container = '#comparison-container';
104
+
105
+ new mapboxgl.Compare(raster, vector, container, {
106
+ mousemove: true, // Optional. Set to true to enable swiping during cursor movement.
107
+ orientation: 'vertical', // Optional. Sets the orientation of swiper to horizontal or vertical, defaults to vertical
108
+ });
109
+ </script>
110
+ </body>
111
+ </html>