@maptiler/sdk 1.2.1 → 2.0.1
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.
- package/.eslintrc.cjs +1 -0
- package/dist/maptiler-sdk.css +1 -1
- package/dist/maptiler-sdk.d.ts +171 -240
- package/dist/maptiler-sdk.min.mjs +3 -3
- package/dist/maptiler-sdk.mjs +461 -458
- package/dist/maptiler-sdk.mjs.map +1 -1
- package/package.json +3 -3
- package/readme.md +16 -1
- package/CHANGELOG.md +0 -168
- package/colorramp.md +0 -93
- package/dist/maptiler-sdk.umd.js +0 -7702
- package/dist/maptiler-sdk.umd.js.map +0 -1
- package/dist/maptiler-sdk.umd.min.js +0 -582
- package/src/AttributionControl.ts +0 -13
- package/src/CanvasSource.ts +0 -13
- package/src/FullscreenControl.ts +0 -13
- package/src/GeoJSONSource.ts +0 -13
- package/src/GeolocateControl.ts +0 -13
- package/src/ImageSource.ts +0 -13
- package/src/LogoControl.ts +0 -13
- package/src/Map.ts +0 -1352
- package/src/MaptilerGeolocateControl.ts +0 -207
- package/src/MaptilerLogoControl.ts +0 -58
- package/src/MaptilerNavigationControl.ts +0 -69
- package/src/MaptilerTerrainControl.ts +0 -72
- package/src/Marker.ts +0 -13
- package/src/Minimap.ts +0 -373
- package/src/NavigationControl.ts +0 -13
- package/src/Point.ts +0 -334
- package/src/Popup.ts +0 -13
- package/src/RasterDEMTileSource.ts +0 -13
- package/src/RasterTileSource.ts +0 -13
- package/src/ScaleControl.ts +0 -13
- package/src/Style.ts +0 -13
- package/src/TerrainControl.ts +0 -13
- package/src/VectorTileSource.ts +0 -13
- package/src/VideoSource.ts +0 -13
- package/src/colorramp.ts +0 -1216
- package/src/config.ts +0 -96
- package/src/converters/index.ts +0 -1
- package/src/converters/xml.ts +0 -681
- package/src/defaults.ts +0 -20
- package/src/helpers/index.ts +0 -27
- package/src/helpers/stylehelper.ts +0 -395
- package/src/helpers/vectorlayerhelpers.ts +0 -1511
- package/src/index.ts +0 -201
- package/src/language.ts +0 -183
- package/src/mapstyle.ts +0 -46
- package/src/style/style_template.css +0 -146
- package/src/style/svg/v6-compass.svg +0 -12
- package/src/style/svg/v6-fullscreen-off.svg +0 -7
- package/src/style/svg/v6-fullscreen.svg +0 -7
- package/src/style/svg/v6-geolocate-active-error.svg +0 -10
- package/src/style/svg/v6-geolocate-active.svg +0 -7
- package/src/style/svg/v6-geolocate-background.svg +0 -8
- package/src/style/svg/v6-geolocate-disabled.svg +0 -10
- package/src/style/svg/v6-geolocate.svg +0 -7
- package/src/style/svg/v6-terrain-on.svg +0 -7
- package/src/style/svg/v6-terrain.svg +0 -7
- package/src/style/svg/v6-zoom-minus.svg +0 -7
- package/src/style/svg/v6-zoom-plus.svg +0 -7
- package/src/tools.ts +0 -171
- package/src/unit.ts +0 -1
package/src/index.ts
DELETED
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Maplibre export first, then extensions can overload the exports.
|
|
3
|
-
*/
|
|
4
|
-
export * from "maplibre-gl";
|
|
5
|
-
/**
|
|
6
|
-
* To perform explicit named export so that they are included in the UMD bundle
|
|
7
|
-
*/
|
|
8
|
-
// import * as ML from "maplibre-gl";
|
|
9
|
-
import maplibregl from "maplibre-gl";
|
|
10
|
-
const {
|
|
11
|
-
// supported,
|
|
12
|
-
setRTLTextPlugin,
|
|
13
|
-
getRTLTextPluginStatus,
|
|
14
|
-
LngLat,
|
|
15
|
-
LngLatBounds,
|
|
16
|
-
MercatorCoordinate,
|
|
17
|
-
Evented,
|
|
18
|
-
AJAXError,
|
|
19
|
-
prewarm,
|
|
20
|
-
clearPrewarmedResources,
|
|
21
|
-
version,
|
|
22
|
-
workerCount,
|
|
23
|
-
maxParallelImageRequests,
|
|
24
|
-
workerUrl,
|
|
25
|
-
addProtocol,
|
|
26
|
-
removeProtocol,
|
|
27
|
-
} = maplibregl;
|
|
28
|
-
// We still want to export maplibregl.Map, but as a different name
|
|
29
|
-
const MapMLGL = maplibregl.Map;
|
|
30
|
-
const MarkerMLGL = maplibregl.Marker;
|
|
31
|
-
const PopupMLGL = maplibregl.Popup;
|
|
32
|
-
const StyleMLGL = maplibregl.Style;
|
|
33
|
-
const CanvasSourceMLGL = maplibregl.CanvasSource;
|
|
34
|
-
const GeoJSONSourceMLGL = maplibregl.GeoJSONSource;
|
|
35
|
-
const ImageSourceMLGL = maplibregl.ImageSource;
|
|
36
|
-
const RasterTileSourceMLGL = maplibregl.RasterTileSource;
|
|
37
|
-
const RasterDEMTileSourceMLGL = maplibregl.RasterDEMTileSource;
|
|
38
|
-
const VectorTileSourceMLGL = maplibregl.VectorTileSource;
|
|
39
|
-
const VideoSourceMLGL = maplibregl.VideoSource;
|
|
40
|
-
const NavigationControlMLGL = maplibregl.NavigationControl;
|
|
41
|
-
const GeolocateControlMLGL = maplibregl.GeolocateControl;
|
|
42
|
-
const AttributionControlMLGL = maplibregl.AttributionControl;
|
|
43
|
-
const LogoControlMLGL = maplibregl.LogoControl;
|
|
44
|
-
const ScaleControlMLGL = maplibregl.ScaleControl;
|
|
45
|
-
const FullscreenControlMLGL = maplibregl.FullscreenControl;
|
|
46
|
-
const TerrainControlMLGL = maplibregl.TerrainControl;
|
|
47
|
-
export {
|
|
48
|
-
// supported,
|
|
49
|
-
setRTLTextPlugin,
|
|
50
|
-
getRTLTextPluginStatus,
|
|
51
|
-
PopupMLGL,
|
|
52
|
-
MarkerMLGL,
|
|
53
|
-
StyleMLGL,
|
|
54
|
-
LngLat,
|
|
55
|
-
LngLatBounds,
|
|
56
|
-
MercatorCoordinate,
|
|
57
|
-
Evented,
|
|
58
|
-
AJAXError,
|
|
59
|
-
CanvasSourceMLGL,
|
|
60
|
-
GeoJSONSourceMLGL,
|
|
61
|
-
ImageSourceMLGL,
|
|
62
|
-
RasterDEMTileSourceMLGL,
|
|
63
|
-
RasterTileSourceMLGL,
|
|
64
|
-
VectorTileSourceMLGL,
|
|
65
|
-
VideoSourceMLGL,
|
|
66
|
-
prewarm,
|
|
67
|
-
clearPrewarmedResources,
|
|
68
|
-
version,
|
|
69
|
-
workerCount,
|
|
70
|
-
maxParallelImageRequests,
|
|
71
|
-
workerUrl,
|
|
72
|
-
addProtocol,
|
|
73
|
-
removeProtocol,
|
|
74
|
-
MapMLGL,
|
|
75
|
-
};
|
|
76
|
-
// Exporting types of class instances from MapLibre:
|
|
77
|
-
export type NavigationControlMLGL = InstanceType<typeof NavigationControlMLGL>;
|
|
78
|
-
export type GeolocateControlMLGL = InstanceType<typeof GeolocateControlMLGL>;
|
|
79
|
-
export type AttributionControlMLGL = InstanceType<
|
|
80
|
-
typeof AttributionControlMLGL
|
|
81
|
-
>;
|
|
82
|
-
export type LogoControlMLGL = InstanceType<typeof LogoControlMLGL>;
|
|
83
|
-
export type ScaleControlMLGL = InstanceType<typeof ScaleControlMLGL>;
|
|
84
|
-
export type FullscreenControlMLGL = InstanceType<typeof FullscreenControlMLGL>;
|
|
85
|
-
export type TerrainControlMLGL = InstanceType<typeof TerrainControlMLGL>;
|
|
86
|
-
export type MarkerMLGL = InstanceType<typeof MarkerMLGL>;
|
|
87
|
-
export type PopupMLGL = InstanceType<typeof PopupMLGL>;
|
|
88
|
-
export type StyleMLGL = InstanceType<typeof StyleMLGL>;
|
|
89
|
-
export type LngLat = InstanceType<typeof LngLat>;
|
|
90
|
-
export type LngLatBounds = InstanceType<typeof LngLatBounds>;
|
|
91
|
-
export type MercatorCoordinate = InstanceType<typeof MercatorCoordinate>;
|
|
92
|
-
export type Evented = InstanceType<typeof Evented>;
|
|
93
|
-
export type AJAXError = InstanceType<typeof AJAXError>;
|
|
94
|
-
export type CanvasSourceMLGL = InstanceType<typeof CanvasSourceMLGL>;
|
|
95
|
-
export type GeoJSONSourceMLGL = InstanceType<typeof GeoJSONSourceMLGL>;
|
|
96
|
-
export type ImageSourceMLGL = InstanceType<typeof ImageSourceMLGL>;
|
|
97
|
-
export type RasterDEMTileSourceMLGL = InstanceType<
|
|
98
|
-
typeof RasterDEMTileSourceMLGL
|
|
99
|
-
>;
|
|
100
|
-
export type RasterTileSourceMLGL = InstanceType<typeof RasterTileSourceMLGL>;
|
|
101
|
-
export type VectorTileSourceMLGL = InstanceType<typeof VectorTileSourceMLGL>;
|
|
102
|
-
export type VideoSourceMLGL = InstanceType<typeof VideoSourceMLGL>;
|
|
103
|
-
export type MapMLGL = InstanceType<typeof MapMLGL>;
|
|
104
|
-
// SDK specific
|
|
105
|
-
export {
|
|
106
|
-
Map,
|
|
107
|
-
GeolocationType,
|
|
108
|
-
type MapOptions,
|
|
109
|
-
type LoadWithTerrainEvent,
|
|
110
|
-
} from "./Map";
|
|
111
|
-
export { Marker } from "./Marker";
|
|
112
|
-
export { Popup } from "./Popup";
|
|
113
|
-
export { Style } from "./Style";
|
|
114
|
-
export { CanvasSource } from "./CanvasSource";
|
|
115
|
-
export { GeoJSONSource } from "./GeoJSONSource";
|
|
116
|
-
export { ImageSource } from "./ImageSource";
|
|
117
|
-
export { RasterTileSource } from "./RasterTileSource";
|
|
118
|
-
export { RasterDEMTileSource } from "./RasterDEMTileSource";
|
|
119
|
-
export { VectorTileSource } from "./VectorTileSource";
|
|
120
|
-
export { VideoSource } from "./VideoSource";
|
|
121
|
-
export { NavigationControl } from "./NavigationControl";
|
|
122
|
-
export { GeolocateControl } from "./GeolocateControl";
|
|
123
|
-
export { AttributionControl } from "./AttributionControl";
|
|
124
|
-
export { LogoControl } from "./LogoControl";
|
|
125
|
-
export { ScaleControl } from "./ScaleControl";
|
|
126
|
-
export { FullscreenControl } from "./FullscreenControl";
|
|
127
|
-
export { TerrainControl } from "./TerrainControl";
|
|
128
|
-
// Export of modified versions of the controls
|
|
129
|
-
export * from "./MaptilerGeolocateControl";
|
|
130
|
-
export * from "./MaptilerLogoControl";
|
|
131
|
-
export * from "./MaptilerTerrainControl";
|
|
132
|
-
export * from "./MaptilerNavigationControl";
|
|
133
|
-
export {
|
|
134
|
-
type AutomaticStaticMapOptions,
|
|
135
|
-
type BoundedStaticMapOptions,
|
|
136
|
-
type BufferToPixelDataFunction,
|
|
137
|
-
type ByIdGeocodingOptions,
|
|
138
|
-
type CenteredStaticMapOptions,
|
|
139
|
-
type CommonForwardAndReverseGeocodingOptions,
|
|
140
|
-
type CoordinateExport,
|
|
141
|
-
type CoordinateGrid,
|
|
142
|
-
type CoordinateId,
|
|
143
|
-
type CoordinateSearch,
|
|
144
|
-
type CoordinateSearchResult,
|
|
145
|
-
type CoordinateTransformResult,
|
|
146
|
-
type CoordinateTransformation,
|
|
147
|
-
type Coordinates,
|
|
148
|
-
type CoordinatesSearchOptions,
|
|
149
|
-
type CoordinatesTransformOptions,
|
|
150
|
-
type DefaultTransformation,
|
|
151
|
-
type ElevationAtOptions,
|
|
152
|
-
type ElevationBatchOptions,
|
|
153
|
-
type FeatureHierarchy,
|
|
154
|
-
type FetchFunction,
|
|
155
|
-
type GeocodingFeature,
|
|
156
|
-
type GeocodingOptions,
|
|
157
|
-
type GeocodingSearchResult,
|
|
158
|
-
type GeolocationInfoOptions,
|
|
159
|
-
type GeolocationResult,
|
|
160
|
-
type GetDataOptions,
|
|
161
|
-
LanguageGeocoding,
|
|
162
|
-
type LanguageGeocodingOptions,
|
|
163
|
-
type LanguageGeocodingString,
|
|
164
|
-
MapStyle,
|
|
165
|
-
type MapStylePreset,
|
|
166
|
-
type MapStyleType,
|
|
167
|
-
MapStyleVariant,
|
|
168
|
-
type PixelData,
|
|
169
|
-
ReferenceMapStyle,
|
|
170
|
-
type ReverseGeocodingOptions,
|
|
171
|
-
ServiceError,
|
|
172
|
-
type StaticMapBaseOptions,
|
|
173
|
-
type StaticMapMarker,
|
|
174
|
-
type TileJSON,
|
|
175
|
-
type XYZ,
|
|
176
|
-
bufferToPixelDataBrowser,
|
|
177
|
-
circumferenceAtLatitude,
|
|
178
|
-
coordinates,
|
|
179
|
-
data,
|
|
180
|
-
elevation,
|
|
181
|
-
expandMapStyle,
|
|
182
|
-
geocoding,
|
|
183
|
-
geolocation,
|
|
184
|
-
getAutoLanguageGeocoding,
|
|
185
|
-
getBufferToPixelDataParser,
|
|
186
|
-
getTileCache,
|
|
187
|
-
mapStylePresetList,
|
|
188
|
-
math,
|
|
189
|
-
misc,
|
|
190
|
-
staticMaps,
|
|
191
|
-
styleToStyle,
|
|
192
|
-
} from "@maptiler/client";
|
|
193
|
-
|
|
194
|
-
export * from "./Point";
|
|
195
|
-
export { config, SdkConfig } from "./config";
|
|
196
|
-
export * from "./language";
|
|
197
|
-
export { type Unit } from "./unit";
|
|
198
|
-
export * from "./Minimap";
|
|
199
|
-
export * from "./converters";
|
|
200
|
-
export * from "./colorramp";
|
|
201
|
-
export * from "./helpers";
|
package/src/language.ts
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Languages. Note that not all the languages of this list are available but the compatibility list may be expanded in the future.
|
|
3
|
-
*/
|
|
4
|
-
const Language = {
|
|
5
|
-
/**
|
|
6
|
-
* The visitor language mode concatenates the prefered language from the user settings and the "default name".
|
|
7
|
-
* Note: The "default name" is equivalent to OSM's `{name}`, which can be the most recognized names a global
|
|
8
|
-
* scale or the local name.
|
|
9
|
-
* This mode is helpful in the context where a user needs to access both the local names and the names in their
|
|
10
|
-
* own language, for instance when traveling abroad, where signs likely to be only available in the local language.
|
|
11
|
-
*/
|
|
12
|
-
VISITOR: "visitor",
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* The visitor language mode concatenates English and the "default name".
|
|
16
|
-
* Note: The "default name" is equivalent to OSM's `{name}`, which can be the most recognized names a global
|
|
17
|
-
* scale or the local name.
|
|
18
|
-
* This mode is helpful in the context where a user needs to access both the local names and the names in their
|
|
19
|
-
* own language, for instance when traveling abroad, where signs likely to be only available in the local language.
|
|
20
|
-
*/
|
|
21
|
-
VISITOR_ENGLISH: "visitor_en",
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Language as the style is designed. Not that this is the default state and one
|
|
25
|
-
* the language has been changed to another than `STYLE`, then it cannot be set back to `STYLE`.
|
|
26
|
-
*/
|
|
27
|
-
STYLE: "style",
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* AUTO mode uses the language of the browser
|
|
31
|
-
*/
|
|
32
|
-
AUTO: "auto",
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* STYLE is a custom flag to keep the language of the map as defined into the style.
|
|
36
|
-
* If STYLE is set in the constructor, then further modification of the language
|
|
37
|
-
* with `.setLanguage()` is not possible.
|
|
38
|
-
*/
|
|
39
|
-
STYLE_LOCK: "style_lock",
|
|
40
|
-
|
|
41
|
-
/**
|
|
42
|
-
* Default fallback languages that uses latin charaters
|
|
43
|
-
*/
|
|
44
|
-
LATIN: "name:latin",
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Default fallback languages that uses non-latin charaters
|
|
48
|
-
*/
|
|
49
|
-
NON_LATIN: "name:nonlatin",
|
|
50
|
-
|
|
51
|
-
/**
|
|
52
|
-
* Labels are in their local language, when available
|
|
53
|
-
*/
|
|
54
|
-
LOCAL: "name",
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* International name
|
|
58
|
-
*/
|
|
59
|
-
INTERNATIONAL: "name_int",
|
|
60
|
-
|
|
61
|
-
ALBANIAN: "name:sq",
|
|
62
|
-
AMHARIC: "name:am",
|
|
63
|
-
ARABIC: "name:ar",
|
|
64
|
-
ARMENIAN: "name:hy",
|
|
65
|
-
AZERBAIJANI: "name:az",
|
|
66
|
-
BASQUE: "name:eu",
|
|
67
|
-
BELORUSSIAN: "name:be",
|
|
68
|
-
BENGALI: "name:bn",
|
|
69
|
-
BOSNIAN: "name:bs",
|
|
70
|
-
BRETON: "name:br",
|
|
71
|
-
BULGARIAN: "name:bg",
|
|
72
|
-
CATALAN: "name:ca",
|
|
73
|
-
CHINESE: "name:zh",
|
|
74
|
-
TRADITIONAL_CHINESE: "name:zh-Hant",
|
|
75
|
-
SIMPLIFIED_CHINESE: "name:zh-Hans",
|
|
76
|
-
CORSICAN: "name:co",
|
|
77
|
-
CROATIAN: "name:hr",
|
|
78
|
-
CZECH: "name:cs",
|
|
79
|
-
DANISH: "name:da",
|
|
80
|
-
DUTCH: "name:nl",
|
|
81
|
-
ENGLISH: "name:en",
|
|
82
|
-
ESPERANTO: "name:eo",
|
|
83
|
-
ESTONIAN: "name:et",
|
|
84
|
-
FINNISH: "name:fi",
|
|
85
|
-
FRENCH: "name:fr",
|
|
86
|
-
FRISIAN: "name:fy",
|
|
87
|
-
GEORGIAN: "name:ka",
|
|
88
|
-
GERMAN: "name:de",
|
|
89
|
-
GREEK: "name:el",
|
|
90
|
-
HEBREW: "name:he",
|
|
91
|
-
HINDI: "name:hi",
|
|
92
|
-
HUNGARIAN: "name:hu",
|
|
93
|
-
ICELANDIC: "name:is",
|
|
94
|
-
INDONESIAN: "name:id",
|
|
95
|
-
IRISH: "name:ga",
|
|
96
|
-
ITALIAN: "name:it",
|
|
97
|
-
JAPANESE: "name:ja",
|
|
98
|
-
JAPANESE_HIRAGANA: "name:ja-Hira",
|
|
99
|
-
JAPANESE_KANA: "name:ja_kana",
|
|
100
|
-
JAPANESE_LATIN: "name:ja_rm",
|
|
101
|
-
JAPANESE_2018: "name:ja-Latn",
|
|
102
|
-
KANNADA: "name:kn",
|
|
103
|
-
KAZAKH: "name:kk",
|
|
104
|
-
KOREAN: "name:ko",
|
|
105
|
-
KOREAN_LATIN: "name:ko-Latn",
|
|
106
|
-
KURDISH: "name:ku",
|
|
107
|
-
ROMAN_LATIN: "name:la",
|
|
108
|
-
LATVIAN: "name:lv",
|
|
109
|
-
LITHUANIAN: "name:lt",
|
|
110
|
-
LUXEMBOURGISH: "name:lb",
|
|
111
|
-
MACEDONIAN: "name:mk",
|
|
112
|
-
MALAYALAM: "name:ml",
|
|
113
|
-
MALTESE: "name:mt",
|
|
114
|
-
NORWEGIAN: "name:no",
|
|
115
|
-
OCCITAN: "name:oc",
|
|
116
|
-
PERSIAN: "name:fa",
|
|
117
|
-
POLISH: "name:pl",
|
|
118
|
-
PORTUGUESE: "name:pt",
|
|
119
|
-
PUNJABI: "name:pa",
|
|
120
|
-
WESTERN_PUNJABI: "name:pnb",
|
|
121
|
-
ROMANIAN: "name:ro",
|
|
122
|
-
ROMANSH: "name:rm",
|
|
123
|
-
RUSSIAN: "name:ru",
|
|
124
|
-
SCOTTISH_GAELIC: "name:gd",
|
|
125
|
-
SERBIAN_CYRILLIC: "name:sr",
|
|
126
|
-
SERBIAN_LATIN: "name:sr-Latn",
|
|
127
|
-
SLOVAK: "name:sk",
|
|
128
|
-
SLOVENE: "name:sl",
|
|
129
|
-
SPANISH: "name:es",
|
|
130
|
-
SWEDISH: "name:sv",
|
|
131
|
-
TAMIL: "name:ta",
|
|
132
|
-
TELUGU: "name:te",
|
|
133
|
-
THAI: "name:th",
|
|
134
|
-
TURKISH: "name:tr",
|
|
135
|
-
UKRAINIAN: "name:uk",
|
|
136
|
-
URDU: "name:ur",
|
|
137
|
-
VIETNAMIAN_LATIN: "name:vi",
|
|
138
|
-
WELSH: "name:cy",
|
|
139
|
-
} as const;
|
|
140
|
-
|
|
141
|
-
const languagesIsoSet = new Set(Object.values(Language) as Array<string>);
|
|
142
|
-
|
|
143
|
-
function isLanguageSupported(lang: string): boolean {
|
|
144
|
-
return languagesIsoSet.has(lang);
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
const languageCodeSet = new Set(Object.values(Language));
|
|
148
|
-
|
|
149
|
-
/**
|
|
150
|
-
* Type representing the key of the Language object
|
|
151
|
-
*/
|
|
152
|
-
type LanguageKey = keyof typeof Language;
|
|
153
|
-
|
|
154
|
-
type Values<T> = T[keyof T];
|
|
155
|
-
|
|
156
|
-
/**
|
|
157
|
-
* Built-in languages values as strings
|
|
158
|
-
*/
|
|
159
|
-
type LanguageString = Values<typeof Language>;
|
|
160
|
-
|
|
161
|
-
function getBrowserLanguage(): LanguageString {
|
|
162
|
-
if (typeof navigator === "undefined") {
|
|
163
|
-
return `name:${
|
|
164
|
-
Intl.DateTimeFormat().resolvedOptions().locale.split("-")[0]
|
|
165
|
-
}` as LanguageString;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
const canditatelangs = Array.from(
|
|
169
|
-
new Set(navigator.languages.map((l) => `name:${l.split("-")[0]}`)),
|
|
170
|
-
).filter((l) => languageCodeSet.has(l as LanguageString));
|
|
171
|
-
|
|
172
|
-
return canditatelangs.length
|
|
173
|
-
? (canditatelangs[0] as LanguageString)
|
|
174
|
-
: Language.LOCAL;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
export {
|
|
178
|
-
Language,
|
|
179
|
-
LanguageString,
|
|
180
|
-
LanguageKey,
|
|
181
|
-
getBrowserLanguage,
|
|
182
|
-
isLanguageSupported,
|
|
183
|
-
};
|
package/src/mapstyle.ts
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MapStyle,
|
|
3
|
-
ReferenceMapStyle,
|
|
4
|
-
MapStyleVariant,
|
|
5
|
-
mapStylePresetList,
|
|
6
|
-
expandMapStyle,
|
|
7
|
-
} from "@maptiler/client";
|
|
8
|
-
|
|
9
|
-
export function styleToStyle(
|
|
10
|
-
style:
|
|
11
|
-
| string
|
|
12
|
-
| ReferenceMapStyle
|
|
13
|
-
| MapStyleVariant
|
|
14
|
-
| maplibregl.StyleSpecification
|
|
15
|
-
| null
|
|
16
|
-
| undefined,
|
|
17
|
-
): string | maplibregl.StyleSpecification {
|
|
18
|
-
if (!style) {
|
|
19
|
-
return MapStyle[
|
|
20
|
-
mapStylePresetList[0].referenceStyleID as keyof typeof MapStyle
|
|
21
|
-
]
|
|
22
|
-
.getDefaultVariant()
|
|
23
|
-
.getExpandedStyleURL();
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
// If the provided style is a shorthand (eg. "streets-v2") or a full style URL
|
|
27
|
-
if (typeof style === "string" || style instanceof String) {
|
|
28
|
-
if (!style.startsWith("http") && style.toLowerCase().includes(".json")) {
|
|
29
|
-
// If a style does not start by http but still contains the extension ".json"
|
|
30
|
-
// we assume it's a relative path to a style json file
|
|
31
|
-
return style as string;
|
|
32
|
-
} else {
|
|
33
|
-
return expandMapStyle(style);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
if (style instanceof MapStyleVariant) {
|
|
38
|
-
return style.getExpandedStyleURL();
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
if (style instanceof ReferenceMapStyle) {
|
|
42
|
-
return (style.getDefaultVariant() as MapStyleVariant).getExpandedStyleURL();
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
return style as maplibregl.StyleSpecification;
|
|
46
|
-
}
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
.mapboxgl-ctrl-group:not(:empty), .maplibregl-ctrl-group:not(:empty) {
|
|
3
|
-
box-shadow: 0 0 6px 2px rgb(0 0 0 / 8%);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.mapboxgl-ctrl-group, .maplibregl-ctrl-group {
|
|
8
|
-
background: #fff;
|
|
9
|
-
border-radius: 3px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.mapboxgl-ctrl-group button:focus:first-child,.maplibregl-ctrl-group button:focus:first-child {
|
|
14
|
-
border-radius: 3px 3px 0 0;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.mapboxgl-ctrl-group button:focus:last-child,.maplibregl-ctrl-group button:focus:last-child {
|
|
18
|
-
border-radius: 0 0 3px 3px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
/* We do not want opacity to be lowered when buttons are disabled */
|
|
22
|
-
.maplibregl-ctrl button:disabled .maplibregl-ctrl-icon {
|
|
23
|
-
opacity: 1;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* Hovering adds a blue hue */
|
|
27
|
-
.mapboxgl-ctrl .mapboxgl-ctrl-icon:hover,.maplibregl-ctrl .maplibregl-ctrl-icon:hover
|
|
28
|
-
{
|
|
29
|
-
filter: invert(39%) sepia(77%) saturate(909%) hue-rotate(182deg) brightness(89%) contrast(85%);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-in .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-in .maplibregl-ctrl-icon
|
|
34
|
-
{
|
|
35
|
-
background-image: url([src/style/svg/v6-zoom-plus.svg]);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-zoom-out .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-zoom-out .maplibregl-ctrl-icon
|
|
40
|
-
{
|
|
41
|
-
background-image: url([src/style/svg/v6-zoom-minus.svg]);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-compass .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-compass .maplibregl-ctrl-icon
|
|
46
|
-
{
|
|
47
|
-
/* Custom based on Google compass icon but without the circle */
|
|
48
|
-
background-image: url([src/style/svg/v6-compass.svg]);
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
.mapboxgl-ctrl-group button,.maplibregl-ctrl-group button
|
|
53
|
-
{
|
|
54
|
-
height: 33px;
|
|
55
|
-
width: 33px;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
.mapboxgl-ctrl-group button+button,.maplibregl-ctrl-group button+button
|
|
60
|
-
{
|
|
61
|
-
border-top: 1px solid #0000001c;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
@keyframes blinker {
|
|
66
|
-
50% {
|
|
67
|
-
opacity: 0.3;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
/* Geolocate button: default button state before being clicked */
|
|
72
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate .maplibregl-ctrl-icon
|
|
73
|
-
{
|
|
74
|
-
background-image: url([src/style/svg/v6-geolocate.svg]);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
/* Geolocate button: searching for location */
|
|
79
|
-
.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-waiting .maplibregl-ctrl-icon {
|
|
80
|
-
animation: blinker 1s linear infinite;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
/* Geolocate button: permission was not granted */
|
|
84
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate:disabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate:disabled .maplibregl-ctrl-icon
|
|
85
|
-
{
|
|
86
|
-
background-image: url([src/style/svg/v6-geolocate-disabled.svg]);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/* Geolocate button: location is active */
|
|
90
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active .maplibregl-ctrl-icon
|
|
91
|
-
{
|
|
92
|
-
background-image: url([src/style/svg/v6-geolocate-active.svg]);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Geolocate button: an error occured */
|
|
96
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-active-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-active-error .maplibregl-ctrl-icon
|
|
97
|
-
{
|
|
98
|
-
background-image: url([src/style/svg/v6-geolocate-active-error.svg]);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/* Geolocate button: searching location */
|
|
102
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background .maplibregl-ctrl-icon
|
|
103
|
-
{
|
|
104
|
-
background-image: url([src/style/svg/v6-geolocate-background.svg]);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
/* Geolocate button: an error occured while searching */
|
|
108
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-geolocate.mapboxgl-ctrl-geolocate-background-error .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-geolocate.maplibregl-ctrl-geolocate-background-error .maplibregl-ctrl-icon
|
|
109
|
-
{
|
|
110
|
-
background-image: url([src/style/svg/v6-geolocate-active-error.svg]);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
/* Terrain control icon (disabled, to enable) */
|
|
114
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-terrain .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-terrain .maplibregl-ctrl-icon
|
|
115
|
-
{
|
|
116
|
-
background-image: url([src/style/svg/v6-terrain.svg]);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/* Terrain control icon (enabled, to disable) */
|
|
120
|
-
.mapboxgl-ctrl button.mapboxgl-ctrl-terrain-enabled .mapboxgl-ctrl-icon,.maplibregl-ctrl button.maplibregl-ctrl-terrain-enabled .maplibregl-ctrl-icon
|
|
121
|
-
{
|
|
122
|
-
background-image: url([src/style/svg/v6-terrain-on.svg]);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
/* Fullscreen control icon (disabled, to enable) */
|
|
126
|
-
.maplibregl-ctrl button.maplibregl-ctrl-fullscreen .maplibregl-ctrl-icon
|
|
127
|
-
{
|
|
128
|
-
background-image: url([src/style/svg/v6-fullscreen.svg]);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
/* Fullscreen control icon (enabled, to disable) */
|
|
132
|
-
.maplibregl-ctrl button.maplibregl-ctrl-shrink .maplibregl-ctrl-icon {
|
|
133
|
-
background-image: url([src/style/svg/v6-fullscreen-off.svg]);
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.maplibregl-ctrl-scale {
|
|
137
|
-
background-color: hsla(0,0%,100%,.75);
|
|
138
|
-
border: 1px solid #444952;
|
|
139
|
-
border-top: #444952;
|
|
140
|
-
box-sizing: border-box;
|
|
141
|
-
color: #444952;
|
|
142
|
-
font-size: 10px;
|
|
143
|
-
padding: 0 5px;
|
|
144
|
-
text-align: right;
|
|
145
|
-
line-height: 14px;
|
|
146
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,-3.24298,2.63257)">
|
|
5
|
-
<g transform="matrix(1.20712,0,0,1.20712,14.9145,2.51292)">
|
|
6
|
-
<path d="M2.5,9.406L0,9.406L4,17.875L8,9.406L5.5,9.406C5.483,10.22 4.818,10.875 4,10.875C3.182,10.875 2.517,10.22 2.5,9.406Z" style="fill:rgb(29,50,98);fill-opacity:0.35;"/>
|
|
7
|
-
</g>
|
|
8
|
-
<g transform="matrix(1.20712,0,0,1.20712,14.9145,2.51292)">
|
|
9
|
-
<path d="M4,0.938L0,9.406L2.5,9.406L2.5,9.375C2.5,8.547 3.172,7.875 4,7.875C4.828,7.875 5.5,8.547 5.5,9.375L5.5,9.406L8,9.406L4,0.938Z" style="fill:rgb(68,73,82);"/>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,8.49996,8.5)">
|
|
5
|
-
<path d="M1.434,5.576C1.2,5.576 0.997,5.49 0.825,5.317C0.653,5.146 0.567,4.943 0.567,4.709C0.567,4.475 0.653,4.272 0.825,4.1C0.997,3.929 1.2,3.843 1.434,3.843L2.609,3.843L0.732,1.965C0.567,1.8 0.488,1.597 0.495,1.356C0.502,1.115 0.588,0.913 0.753,0.748C0.918,0.583 1.121,0.5 1.361,0.5C1.602,0.5 1.805,0.583 1.97,0.748L3.828,2.624L3.828,1.449C3.828,1.215 3.913,1.012 4.085,0.84C4.257,0.668 4.46,0.582 4.694,0.582C4.928,0.582 5.131,0.668 5.302,0.84C5.475,1.012 5.561,1.215 5.561,1.449L5.561,4.709C5.561,4.943 5.475,5.146 5.302,5.317C5.131,5.49 4.928,5.576 4.694,5.576L1.434,5.576ZM14.557,5.576L11.296,5.576C11.063,5.576 10.86,5.49 10.688,5.317C10.516,5.146 10.43,4.943 10.43,4.709L10.43,1.449C10.43,1.215 10.516,1.012 10.688,0.84C10.86,0.668 11.063,0.582 11.296,0.582C11.531,0.582 11.734,0.668 11.906,0.84C12.077,1.012 12.163,1.215 12.163,1.449L12.163,2.624L14.041,0.748C14.206,0.583 14.409,0.5 14.65,0.5C14.89,0.5 15.093,0.583 15.258,0.748C15.423,0.913 15.506,1.115 15.506,1.356C15.506,1.597 15.423,1.8 15.258,1.965L13.381,3.843L14.557,3.843C14.791,3.843 14.994,3.929 15.166,4.1C15.338,4.272 15.424,4.475 15.424,4.709C15.424,4.943 15.338,5.146 15.166,5.317C14.994,5.49 14.791,5.576 14.557,5.576ZM0.753,15.252C0.588,15.087 0.506,14.888 0.506,14.654C0.506,14.42 0.588,14.221 0.753,14.056L2.63,12.178L1.434,12.178C1.2,12.178 0.997,12.092 0.825,11.921C0.653,11.749 0.567,11.546 0.567,11.312C0.567,11.078 0.653,10.875 0.825,10.703C0.997,10.531 1.2,10.445 1.434,10.445L4.694,10.445C4.928,10.445 5.131,10.531 5.302,10.703C5.475,10.875 5.561,11.078 5.561,11.312L5.561,14.572C5.561,14.806 5.475,15.009 5.302,15.181C5.131,15.353 4.928,15.439 4.694,15.439C4.46,15.439 4.257,15.353 4.085,15.181C3.913,15.009 3.828,14.806 3.828,14.572L3.828,13.376L1.95,15.252C1.785,15.418 1.585,15.5 1.351,15.5C1.118,15.5 0.918,15.418 0.753,15.252ZM11.296,15.439C11.063,15.439 10.86,15.353 10.688,15.181C10.516,15.009 10.43,14.806 10.43,14.572L10.43,11.312C10.43,11.078 10.516,10.875 10.688,10.703C10.86,10.531 11.063,10.445 11.296,10.445L14.557,10.445C14.791,10.445 14.994,10.531 15.166,10.703C15.338,10.875 15.424,11.078 15.424,11.312C15.424,11.546 15.338,11.749 15.166,11.921C14.994,12.092 14.791,12.178 14.557,12.178L13.36,12.178L15.237,14.056C15.402,14.221 15.485,14.42 15.485,14.654C15.485,14.888 15.402,15.087 15.237,15.252C15.072,15.418 14.873,15.5 14.639,15.5C14.405,15.5 14.206,15.418 14.041,15.252L12.163,13.376L12.163,14.572C12.163,14.806 12.077,15.009 11.906,15.181C11.734,15.353 11.531,15.439 11.296,15.439Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,9,9)">
|
|
5
|
-
<path d="M0.875,5.042C0.639,5.042 0.434,4.955 0.26,4.781C0.087,4.608 0,4.403 0,4.167L0,0.875C0,0.639 0.087,0.434 0.26,0.26C0.434,0.087 0.639,0 0.875,0L4.167,0C4.403,0 4.608,0.087 4.781,0.26C4.955,0.434 5.042,0.639 5.042,0.875C5.042,1.111 4.955,1.316 4.781,1.49C4.608,1.663 4.403,1.75 4.167,1.75L2.958,1.75L4.875,3.667C5.042,3.834 5.122,4.031 5.115,4.26C5.108,4.489 5.021,4.687 4.854,4.854C4.687,5.021 4.486,5.104 4.25,5.104C4.014,5.104 3.813,5.021 3.646,4.854L1.75,2.958L1.75,4.167C1.75,4.403 1.663,4.608 1.49,4.781C1.316,4.955 1.111,5.042 0.875,5.042ZM10.146,4.854C9.979,4.687 9.896,4.486 9.896,4.25C9.896,4.014 9.979,3.813 10.146,3.646L12.042,1.75L10.833,1.75C10.597,1.75 10.392,1.663 10.219,1.49C10.045,1.316 9.958,1.111 9.958,0.875C9.958,0.639 10.045,0.434 10.219,0.26C10.392,0.087 10.597,0 10.833,0L14.125,0C14.361,0 14.566,0.087 14.74,0.26C14.913,0.434 15,0.639 15,0.875L15,4.167C15,4.403 14.913,4.608 14.74,4.781C14.566,4.955 14.361,5.042 14.125,5.042C13.889,5.042 13.684,4.955 13.51,4.781C13.337,4.608 13.25,4.403 13.25,4.167L13.25,2.958L11.333,4.875C11.166,5.042 10.969,5.122 10.74,5.115C10.511,5.108 10.313,5.021 10.146,4.854ZM10.833,15C10.597,15 10.392,14.913 10.219,14.74C10.045,14.566 9.958,14.361 9.958,14.125C9.958,13.889 10.045,13.684 10.219,13.51C10.392,13.337 10.597,13.25 10.833,13.25L12.021,13.25L10.125,11.354C9.958,11.187 9.875,10.986 9.875,10.75C9.875,10.514 9.965,10.306 10.146,10.125C10.313,9.958 10.517,9.875 10.76,9.875C11.003,9.875 11.208,9.958 11.375,10.125L13.25,12.021L13.25,10.833C13.25,10.597 13.337,10.392 13.51,10.219C13.684,10.045 13.889,9.958 14.125,9.958C14.361,9.958 14.566,10.045 14.74,10.219C14.913,10.392 15,10.597 15,10.833L15,14.125C15,14.361 14.913,14.566 14.74,14.74C14.566,14.913 14.361,15 14.125,15L10.833,15ZM0.875,15C0.639,15 0.434,14.913 0.26,14.74C0.087,14.566 0,14.361 0,14.125L0,10.833C0,10.597 0.087,10.392 0.26,10.219C0.434,10.045 0.639,9.958 0.875,9.958C1.111,9.958 1.316,10.045 1.49,10.219C1.663,10.392 1.75,10.597 1.75,10.833L1.75,12.021L3.646,10.125C3.813,9.958 4.014,9.872 4.25,9.865C4.486,9.858 4.694,9.944 4.875,10.125C5.042,10.292 5.125,10.497 5.125,10.74C5.125,10.983 5.042,11.187 4.875,11.354L2.979,13.25L4.167,13.25C4.403,13.25 4.608,13.337 4.781,13.51C4.955,13.684 5.042,13.889 5.042,14.125C5.042,14.361 4.955,14.566 4.781,14.74C4.608,14.913 4.403,15 4.167,15L0.875,15Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,9.50001,8.89492)">
|
|
5
|
-
<path d="M5.673,8.932L0.567,6.865C0.391,6.798 0.253,6.69 0.152,6.541C0.051,6.392 0,6.223 0,6.035C0,5.846 0.051,5.68 0.152,5.538C0.253,5.396 0.391,5.291 0.567,5.224L12.846,0.665C13.021,0.597 13.187,0.587 13.343,0.634C13.498,0.682 13.629,0.759 13.738,0.868C13.846,0.976 13.924,1.107 13.971,1.262C14.018,1.418 14.008,1.584 13.94,1.759L9.381,14.059C9.3,14.247 9.186,14.386 9.037,14.474C8.888,14.561 8.732,14.605 8.57,14.605C8.408,14.605 8.253,14.558 8.104,14.463C7.956,14.368 7.841,14.233 7.76,14.059L5.673,8.932Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
<g transform="matrix(0.598546,0.598546,-0.707107,0.707107,11.7313,1.9674)">
|
|
8
|
-
<rect x="6.516" y="3.78" width="19.271" height="0.716" style="fill:rgb(229,0,0);"/>
|
|
9
|
-
</g>
|
|
10
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,9.50001,8.89492)">
|
|
5
|
-
<path d="M5.673,8.932L0.567,6.865C0.391,6.798 0.253,6.69 0.152,6.541C0.051,6.392 0,6.223 0,6.035C0,5.846 0.051,5.68 0.152,5.538C0.253,5.396 0.391,5.291 0.567,5.224L12.846,0.665C13.021,0.597 13.187,0.587 13.343,0.634C13.498,0.682 13.629,0.759 13.738,0.868C13.846,0.976 13.924,1.107 13.971,1.262C14.018,1.418 14.008,1.584 13.94,1.759L9.381,14.059C9.3,14.247 9.186,14.386 9.037,14.474C8.888,14.561 8.732,14.605 8.57,14.605C8.408,14.605 8.253,14.558 8.104,14.463C7.956,14.368 7.841,14.233 7.76,14.059L5.673,8.932Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<path d="M10.685,14.817L22.511,10.669L18.217,22.082L15.824,17.233L10.685,14.817Z" style="fill:rgb(29,50,98);fill-opacity:0.2;"/>
|
|
5
|
-
<g transform="matrix(1,0,0,1,9.50001,9.25)">
|
|
6
|
-
<path d="M5.673,8.577L0.567,6.51C0.391,6.443 0.253,6.335 0.152,6.186C0.051,6.037 0,5.868 0,5.68C0,5.49 0.051,5.325 0.152,5.183C0.253,5.041 0.391,4.936 0.567,4.869L12.846,0.31C13.021,0.242 13.187,0.232 13.343,0.279C13.498,0.326 13.629,0.404 13.738,0.513C13.846,0.621 13.924,0.752 13.971,0.907C14.018,1.063 14.008,1.229 13.94,1.404L9.381,13.703C9.3,13.892 9.186,14.031 9.037,14.119C8.888,14.206 8.732,14.25 8.57,14.25C8.408,14.25 8.253,14.203 8.104,14.108C7.956,14.013 7.841,13.879 7.76,13.703L5.673,8.577ZM8.53,11.11L11.691,2.559L3.14,5.72L6.991,7.259L8.53,11.11Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
7
|
-
</g>
|
|
8
|
-
</svg>
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,9.50001,9.25)">
|
|
5
|
-
<path d="M5.673,8.577L0.567,6.51C0.391,6.443 0.253,6.335 0.152,6.186C0.051,6.037 0,5.868 0,5.68C0,5.49 0.051,5.325 0.152,5.183C0.253,5.041 0.391,4.936 0.567,4.869L12.846,0.31C13.021,0.242 13.187,0.232 13.343,0.279C13.498,0.326 13.629,0.404 13.738,0.513C13.846,0.621 13.924,0.752 13.971,0.907C14.018,1.063 14.008,1.229 13.94,1.404L9.381,13.703C9.3,13.892 9.186,14.031 9.037,14.119C8.888,14.206 8.732,14.25 8.57,14.25C8.408,14.25 8.253,14.203 8.104,14.108C7.956,14.013 7.841,13.879 7.76,13.703L5.673,8.577ZM8.53,11.11L11.691,2.559L3.14,5.72L6.991,7.259L8.53,11.11Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
<g transform="matrix(0.598546,0.598546,-0.707107,0.707107,11.7313,1.9674)">
|
|
8
|
-
<rect x="6.516" y="3.78" width="19.271" height="0.716" style="fill:rgb(229,0,0);"/>
|
|
9
|
-
</g>
|
|
10
|
-
</svg>
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
3
|
-
<svg width="100%" height="100%" viewBox="0 0 33 33" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
|
|
4
|
-
<g transform="matrix(1,0,0,1,9.50001,9.25)">
|
|
5
|
-
<path d="M5.673,8.577L0.567,6.51C0.391,6.443 0.253,6.335 0.152,6.186C0.051,6.037 0,5.868 0,5.68C0,5.49 0.051,5.325 0.152,5.183C0.253,5.041 0.391,4.936 0.567,4.869L12.846,0.31C13.021,0.242 13.187,0.232 13.343,0.279C13.498,0.326 13.629,0.404 13.738,0.513C13.846,0.621 13.924,0.752 13.971,0.907C14.018,1.063 14.008,1.229 13.94,1.404L9.381,13.703C9.3,13.892 9.186,14.031 9.037,14.119C8.888,14.206 8.732,14.25 8.57,14.25C8.408,14.25 8.253,14.203 8.104,14.108C7.956,14.013 7.841,13.879 7.76,13.703L5.673,8.577ZM8.53,11.11L11.691,2.559L3.14,5.72L6.991,7.259L8.53,11.11Z" style="fill:rgb(68,73,82);fill-rule:nonzero;"/>
|
|
6
|
-
</g>
|
|
7
|
-
</svg>
|