@mapcomponents/react-maplibre 0.1.74 → 0.1.75
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/CHANGELOG.md +4 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.esm.js +317 -261
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -7813,6 +7813,61 @@ LayerListItem.defaultProps = {
|
|
|
7813
7813
|
showDeleteButton: false,
|
|
7814
7814
|
};
|
|
7815
7815
|
|
|
7816
|
+
function LayerListItemFactory(props) {
|
|
7817
|
+
var _a, _b;
|
|
7818
|
+
var layerContext = useLayerContext();
|
|
7819
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
7820
|
+
React__default["default"].createElement(MlOrderLayers, { layerIds: ['labels', 'content', 'background'] }),
|
|
7821
|
+
((_a = layerContext === null || layerContext === void 0 ? void 0 : layerContext.backgroundLayers) === null || _a === void 0 ? void 0 : _a.length) > 0 && (React__default["default"].createElement(LayerListItem, { layerComponent: React__default["default"].createElement(MlVectorTileLayer, __assign({}, layerContext.vtLayerConfig, { layers: layerContext.backgroundLayers, mapId: props === null || props === void 0 ? void 0 : props.mapId, insertBeforeLayer: 'order-background' })), setLayerState: function (state) {
|
|
7822
|
+
layerContext.setBackgroundLayers(state === null || state === void 0 ? void 0 : state.layers);
|
|
7823
|
+
}, visible: true, configurable: true, type: "layer", name: "Background" })),
|
|
7824
|
+
props.layers.map(function (layer, idx) {
|
|
7825
|
+
var _a;
|
|
7826
|
+
if (!(layer === null || layer === void 0 ? void 0 : layer.id))
|
|
7827
|
+
return null;
|
|
7828
|
+
switch (layer.type) {
|
|
7829
|
+
case 'geojson':
|
|
7830
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
7831
|
+
React__default["default"].createElement(LayerListItem, { key: layer.id, name: (layer === null || layer === void 0 ? void 0 : layer.name) || ((_a = layer === null || layer === void 0 ? void 0 : layer.config) === null || _a === void 0 ? void 0 : _a.type) + ' layer' || 'unnamed layer', layerComponent: React__default["default"].createElement(MlGeoJsonLayer, __assign({}, layer.config, { mapId: props === null || props === void 0 ? void 0 : props.mapId, insertBeforeLayer: (props === null || props === void 0 ? void 0 : props.insertBeforeLayer) || 'order-content' })), setLayerState: function (layerConfig) {
|
|
7832
|
+
var _a;
|
|
7833
|
+
return (_a = props.setLayers) === null || _a === void 0 ? void 0 : _a.call(props, function (current) {
|
|
7834
|
+
var _layers = __spreadArray([], current, true);
|
|
7835
|
+
if (layerConfig === false) {
|
|
7836
|
+
_layers.splice(idx, 1);
|
|
7837
|
+
}
|
|
7838
|
+
else {
|
|
7839
|
+
_layers[idx].config = layerConfig;
|
|
7840
|
+
}
|
|
7841
|
+
return _layers;
|
|
7842
|
+
});
|
|
7843
|
+
}, configurable: true, showDeleteButton: true })));
|
|
7844
|
+
case 'wms':
|
|
7845
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
7846
|
+
React__default["default"].createElement(MlWmsLoader, __assign({}, layer.config, { key: layer.id, mapId: props === null || props === void 0 ? void 0 : props.mapId, insertBeforeLayer: (props === null || props === void 0 ? void 0 : props.insertBeforeLayer) || 'order-content', onConfigChange: function (layerConfig) {
|
|
7847
|
+
var _a;
|
|
7848
|
+
(_a = props === null || props === void 0 ? void 0 : props.setLayers) === null || _a === void 0 ? void 0 : _a.call(props, function (current) {
|
|
7849
|
+
var _layers = __spreadArray([], current, true);
|
|
7850
|
+
if (layerConfig === false) {
|
|
7851
|
+
_layers.splice(idx, 1);
|
|
7852
|
+
}
|
|
7853
|
+
else {
|
|
7854
|
+
_layers[idx].config.config = layerConfig;
|
|
7855
|
+
}
|
|
7856
|
+
return _layers;
|
|
7857
|
+
});
|
|
7858
|
+
}, showDeleteButton: true }))));
|
|
7859
|
+
default:
|
|
7860
|
+
return null;
|
|
7861
|
+
}
|
|
7862
|
+
}),
|
|
7863
|
+
((_b = layerContext === null || layerContext === void 0 ? void 0 : layerContext.symbolLayers) === null || _b === void 0 ? void 0 : _b.length) > 0 && (React__default["default"].createElement(LayerListItem, { layerComponent: React__default["default"].createElement(MlVectorTileLayer, __assign({}, layerContext.vtLayerConfig, { layers: layerContext.symbolLayers, mapId: props === null || props === void 0 ? void 0 : props.mapId, insertBeforeLayer: 'order-labels' })), setLayerState: function (state) {
|
|
7864
|
+
return layerContext.setSymbolLayers(state === null || state === void 0 ? void 0 : state.layers);
|
|
7865
|
+
}, visible: true, configurable: true, type: "layer", name: "Labels" }))));
|
|
7866
|
+
}
|
|
7867
|
+
LayerListItemFactory.defaultProps = {
|
|
7868
|
+
mapId: undefined,
|
|
7869
|
+
};
|
|
7870
|
+
|
|
7816
7871
|
var types = [
|
|
7817
7872
|
'fill',
|
|
7818
7873
|
'line',
|
|
@@ -8100,31 +8155,9 @@ var SelectStylePopup = function (props) {
|
|
|
8100
8155
|
};
|
|
8101
8156
|
SelectStylePopup.defaultProps = {};
|
|
8102
8157
|
|
|
8103
|
-
var SelectStyleButton = function (props) {
|
|
8104
|
-
var layerContext = React__default["default"].useContext(LayerContext);
|
|
8105
|
-
var _a = React__default["default"].useState(false), popupOpen = _a[0], setPopupOpen = _a[1];
|
|
8106
|
-
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
8107
|
-
React__default["default"].createElement(material.Button, { variant: "contained", sx: __assign({ marginTop: '10px' }, props.sx), onClick: function () { return setPopupOpen(true); } },
|
|
8108
|
-
React__default["default"].createElement(WallpaperIcon__default["default"], null)),
|
|
8109
|
-
React__default["default"].createElement(SelectStylePopup, { styles: __spreadArray(__spreadArray([], (props.defaultStyles
|
|
8110
|
-
? [MonokaiStyle, SolarizedStyle, OceanicNextStyle, MedievalKingdomStyle, GruvboxStyle]
|
|
8111
|
-
: []), true), (props.styles || []), true), open: popupOpen, setOpen: setPopupOpen, onSelect: function (style) {
|
|
8112
|
-
// Todo: should be possible without clearing bg layers first & setTimeout
|
|
8113
|
-
layerContext.setBackgroundLayers([]);
|
|
8114
|
-
setTimeout(function () {
|
|
8115
|
-
layerContext.updateStyle(style);
|
|
8116
|
-
}, 100);
|
|
8117
|
-
setPopupOpen(false);
|
|
8118
|
-
} })));
|
|
8119
|
-
};
|
|
8120
|
-
SelectStyleButton.defaultProps = {
|
|
8121
|
-
style: [],
|
|
8122
|
-
defaultStyles: true,
|
|
8123
|
-
};
|
|
8124
|
-
|
|
8125
8158
|
var GruvboxStyle = {
|
|
8126
8159
|
version: 8,
|
|
8127
|
-
name: '
|
|
8160
|
+
name: 'Monokai',
|
|
8128
8161
|
center: [8.542, 47.372],
|
|
8129
8162
|
zoom: 11.6,
|
|
8130
8163
|
bearing: 0,
|
|
@@ -8148,7 +8181,7 @@ var GruvboxStyle = {
|
|
|
8148
8181
|
filter: ['==', 'subclass', 'glacier'],
|
|
8149
8182
|
layout: { visibility: 'visible' },
|
|
8150
8183
|
paint: {
|
|
8151
|
-
'fill-color': '#
|
|
8184
|
+
'fill-color': '#AE81FF',
|
|
8152
8185
|
'fill-opacity': {
|
|
8153
8186
|
base: 1,
|
|
8154
8187
|
stops: [
|
|
@@ -8165,7 +8198,7 @@ var GruvboxStyle = {
|
|
|
8165
8198
|
source: 'openmaptiles',
|
|
8166
8199
|
'source-layer': 'landuse',
|
|
8167
8200
|
filter: ['==', 'class', 'residential'],
|
|
8168
|
-
paint: { 'fill-color': '#
|
|
8201
|
+
paint: { 'fill-color': '#75715E' },
|
|
8169
8202
|
},
|
|
8170
8203
|
{
|
|
8171
8204
|
id: 'landuse-commercial',
|
|
@@ -8174,7 +8207,7 @@ var GruvboxStyle = {
|
|
|
8174
8207
|
source: 'openmaptiles',
|
|
8175
8208
|
'source-layer': 'landuse',
|
|
8176
8209
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'commercial']],
|
|
8177
|
-
paint: { 'fill-color': '#
|
|
8210
|
+
paint: { 'fill-color': '#837f6e' },
|
|
8178
8211
|
},
|
|
8179
8212
|
{
|
|
8180
8213
|
id: 'landuse-industrial',
|
|
@@ -8183,7 +8216,7 @@ var GruvboxStyle = {
|
|
|
8183
8216
|
source: 'openmaptiles',
|
|
8184
8217
|
'source-layer': 'landuse',
|
|
8185
8218
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'industrial']],
|
|
8186
|
-
paint: { 'fill-color': '#
|
|
8219
|
+
paint: { 'fill-color': '#918d7e' },
|
|
8187
8220
|
},
|
|
8188
8221
|
{
|
|
8189
8222
|
id: 'park',
|
|
@@ -8193,7 +8226,7 @@ var GruvboxStyle = {
|
|
|
8193
8226
|
'source-layer': 'park',
|
|
8194
8227
|
filter: ['==', '$type', 'Polygon'],
|
|
8195
8228
|
paint: {
|
|
8196
|
-
'fill-color': '#
|
|
8229
|
+
'fill-color': '#A6C22E',
|
|
8197
8230
|
'fill-opacity': {
|
|
8198
8231
|
base: 1.8,
|
|
8199
8232
|
stops: [
|
|
@@ -8211,7 +8244,7 @@ var GruvboxStyle = {
|
|
|
8211
8244
|
'source-layer': 'park',
|
|
8212
8245
|
filter: ['==', '$type', 'Polygon'],
|
|
8213
8246
|
layout: {},
|
|
8214
|
-
paint: { 'line-color': 'rgba(
|
|
8247
|
+
paint: { 'line-color': 'rgba(166,194,46,0.6)', 'line-dasharray': [3, 3] },
|
|
8215
8248
|
},
|
|
8216
8249
|
{
|
|
8217
8250
|
id: 'landuse-cemetery',
|
|
@@ -8220,7 +8253,7 @@ var GruvboxStyle = {
|
|
|
8220
8253
|
source: 'openmaptiles',
|
|
8221
8254
|
'source-layer': 'landuse',
|
|
8222
8255
|
filter: ['==', 'class', 'cemetery'],
|
|
8223
|
-
paint: { 'fill-color': '#
|
|
8256
|
+
paint: { 'fill-color': '#e0ebad' },
|
|
8224
8257
|
},
|
|
8225
8258
|
{
|
|
8226
8259
|
id: 'landuse-hospital',
|
|
@@ -8229,7 +8262,7 @@ var GruvboxStyle = {
|
|
|
8229
8262
|
source: 'openmaptiles',
|
|
8230
8263
|
'source-layer': 'landuse',
|
|
8231
8264
|
filter: ['==', 'class', 'hospital'],
|
|
8232
|
-
paint: { 'fill-color': '#
|
|
8265
|
+
paint: { 'fill-color': '#FD971F' },
|
|
8233
8266
|
},
|
|
8234
8267
|
{
|
|
8235
8268
|
id: 'landuse-school',
|
|
@@ -8238,7 +8271,7 @@ var GruvboxStyle = {
|
|
|
8238
8271
|
source: 'openmaptiles',
|
|
8239
8272
|
'source-layer': 'landuse',
|
|
8240
8273
|
filter: ['==', 'class', 'school'],
|
|
8241
|
-
paint: { 'fill-color': 'rgba(
|
|
8274
|
+
paint: { 'fill-color': 'rgba(253,151,31,0.8)' },
|
|
8242
8275
|
},
|
|
8243
8276
|
{
|
|
8244
8277
|
id: 'landuse-railway',
|
|
@@ -8247,7 +8280,7 @@ var GruvboxStyle = {
|
|
|
8247
8280
|
source: 'openmaptiles',
|
|
8248
8281
|
'source-layer': 'landuse',
|
|
8249
8282
|
filter: ['==', 'class', 'railway'],
|
|
8250
|
-
paint: { 'fill-color': 'rgba(
|
|
8283
|
+
paint: { 'fill-color': 'rgba(18,5,68,0.4)' },
|
|
8251
8284
|
},
|
|
8252
8285
|
{
|
|
8253
8286
|
id: 'landcover-wood',
|
|
@@ -8257,7 +8290,7 @@ var GruvboxStyle = {
|
|
|
8257
8290
|
'source-layer': 'landcover',
|
|
8258
8291
|
filter: ['==', 'class', 'wood'],
|
|
8259
8292
|
paint: {
|
|
8260
|
-
'fill-color': '#
|
|
8293
|
+
'fill-color': '#A6E22E',
|
|
8261
8294
|
'fill-opacity': 0.1,
|
|
8262
8295
|
'fill-outline-color': 'hsla(0, 0%, 0%, 0.03)',
|
|
8263
8296
|
'fill-antialias': {
|
|
@@ -8276,7 +8309,7 @@ var GruvboxStyle = {
|
|
|
8276
8309
|
source: 'openmaptiles',
|
|
8277
8310
|
'source-layer': 'landcover',
|
|
8278
8311
|
filter: ['==', 'class', 'grass'],
|
|
8279
|
-
paint: { 'fill-color': '#
|
|
8312
|
+
paint: { 'fill-color': '#A6C22E', 'fill-opacity': 1 },
|
|
8280
8313
|
},
|
|
8281
8314
|
{
|
|
8282
8315
|
id: 'landcover-grass-park',
|
|
@@ -8285,7 +8318,7 @@ var GruvboxStyle = {
|
|
|
8285
8318
|
source: 'openmaptiles',
|
|
8286
8319
|
'source-layer': 'park',
|
|
8287
8320
|
filter: ['==', 'class', 'public_park'],
|
|
8288
|
-
paint: { 'fill-color': '#
|
|
8321
|
+
paint: { 'fill-color': '#A6C22E', 'fill-opacity': 0.8 },
|
|
8289
8322
|
},
|
|
8290
8323
|
{
|
|
8291
8324
|
id: 'waterway-other',
|
|
@@ -8296,7 +8329,7 @@ var GruvboxStyle = {
|
|
|
8296
8329
|
filter: ['!in', 'class', 'canal', 'river', 'stream'],
|
|
8297
8330
|
layout: { 'line-cap': 'round' },
|
|
8298
8331
|
paint: {
|
|
8299
|
-
'line-color': '#
|
|
8332
|
+
'line-color': '#66D9EF',
|
|
8300
8333
|
'line-width': {
|
|
8301
8334
|
base: 1.3,
|
|
8302
8335
|
stops: [
|
|
@@ -8315,7 +8348,7 @@ var GruvboxStyle = {
|
|
|
8315
8348
|
filter: ['in', 'class', 'canal', 'stream'],
|
|
8316
8349
|
layout: { 'line-cap': 'round' },
|
|
8317
8350
|
paint: {
|
|
8318
|
-
'line-color': '#
|
|
8351
|
+
'line-color': '#66D9EF',
|
|
8319
8352
|
'line-width': {
|
|
8320
8353
|
base: 1.3,
|
|
8321
8354
|
stops: [
|
|
@@ -8334,7 +8367,7 @@ var GruvboxStyle = {
|
|
|
8334
8367
|
filter: ['==', 'class', 'river'],
|
|
8335
8368
|
layout: { 'line-cap': 'round' },
|
|
8336
8369
|
paint: {
|
|
8337
|
-
'line-color': '#
|
|
8370
|
+
'line-color': '#66D9EF',
|
|
8338
8371
|
'line-width': {
|
|
8339
8372
|
base: 1.2,
|
|
8340
8373
|
stops: [
|
|
@@ -8355,7 +8388,7 @@ var GruvboxStyle = {
|
|
|
8355
8388
|
layout: { visibility: 'visible' },
|
|
8356
8389
|
paint: {
|
|
8357
8390
|
'fill-opacity': 1,
|
|
8358
|
-
'fill-color': '#
|
|
8391
|
+
'fill-color': '#66D9EF',
|
|
8359
8392
|
'fill-translate': {
|
|
8360
8393
|
base: 1,
|
|
8361
8394
|
stops: [
|
|
@@ -8372,7 +8405,7 @@ var GruvboxStyle = {
|
|
|
8372
8405
|
source: 'openmaptiles',
|
|
8373
8406
|
'source-layer': 'water',
|
|
8374
8407
|
layout: { visibility: 'visible' },
|
|
8375
|
-
paint: { 'fill-color': '#
|
|
8408
|
+
paint: { 'fill-color': '#21c8e8' },
|
|
8376
8409
|
},
|
|
8377
8410
|
{
|
|
8378
8411
|
id: 'water-pattern',
|
|
@@ -8392,7 +8425,7 @@ var GruvboxStyle = {
|
|
|
8392
8425
|
filter: ['==', 'subclass', 'ice_shelf'],
|
|
8393
8426
|
layout: { visibility: 'visible' },
|
|
8394
8427
|
paint: {
|
|
8395
|
-
'fill-color': '#
|
|
8428
|
+
'fill-color': '#AE81FF',
|
|
8396
8429
|
'fill-opacity': {
|
|
8397
8430
|
base: 1,
|
|
8398
8431
|
stops: [
|
|
@@ -8408,7 +8441,7 @@ var GruvboxStyle = {
|
|
|
8408
8441
|
metadata: { 'mapbox:group': '1444849364238.8171' },
|
|
8409
8442
|
source: 'openmaptiles',
|
|
8410
8443
|
'source-layer': 'building',
|
|
8411
|
-
paint: { 'fill-color': '#
|
|
8444
|
+
paint: { 'fill-color': '#E6DB74', 'fill-antialias': true },
|
|
8412
8445
|
},
|
|
8413
8446
|
{
|
|
8414
8447
|
id: 'building-top',
|
|
@@ -8426,7 +8459,7 @@ var GruvboxStyle = {
|
|
|
8426
8459
|
],
|
|
8427
8460
|
},
|
|
8428
8461
|
'fill-outline-color': '#dfdbd7',
|
|
8429
|
-
'fill-color': '#
|
|
8462
|
+
'fill-color': '#eee69f',
|
|
8430
8463
|
'fill-opacity': {
|
|
8431
8464
|
base: 1,
|
|
8432
8465
|
stops: [
|
|
@@ -8445,7 +8478,7 @@ var GruvboxStyle = {
|
|
|
8445
8478
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
8446
8479
|
layout: { 'line-join': 'round' },
|
|
8447
8480
|
paint: {
|
|
8448
|
-
'line-color': '#
|
|
8481
|
+
'line-color': '#F92672',
|
|
8449
8482
|
'line-dasharray': [0.5, 0.25],
|
|
8450
8483
|
'line-width': {
|
|
8451
8484
|
base: 1.2,
|
|
@@ -8466,7 +8499,7 @@ var GruvboxStyle = {
|
|
|
8466
8499
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor']],
|
|
8467
8500
|
layout: { 'line-join': 'round' },
|
|
8468
8501
|
paint: {
|
|
8469
|
-
'line-color': '#
|
|
8502
|
+
'line-color': '#F92672',
|
|
8470
8503
|
'line-opacity': {
|
|
8471
8504
|
stops: [
|
|
8472
8505
|
[12, 0],
|
|
@@ -8493,7 +8526,7 @@ var GruvboxStyle = {
|
|
|
8493
8526
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
8494
8527
|
layout: { 'line-join': 'round' },
|
|
8495
8528
|
paint: {
|
|
8496
|
-
'line-color': '#
|
|
8529
|
+
'line-color': '#F92672',
|
|
8497
8530
|
'line-opacity': 1,
|
|
8498
8531
|
'line-width': {
|
|
8499
8532
|
base: 1.2,
|
|
@@ -8513,7 +8546,7 @@ var GruvboxStyle = {
|
|
|
8513
8546
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
8514
8547
|
layout: { 'line-join': 'round' },
|
|
8515
8548
|
paint: {
|
|
8516
|
-
'line-color': '#
|
|
8549
|
+
'line-color': '#F92672',
|
|
8517
8550
|
'line-width': {
|
|
8518
8551
|
base: 1.2,
|
|
8519
8552
|
stops: [
|
|
@@ -8534,7 +8567,7 @@ var GruvboxStyle = {
|
|
|
8534
8567
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
8535
8568
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
8536
8569
|
paint: {
|
|
8537
|
-
'line-color': '#
|
|
8570
|
+
'line-color': '#F92672',
|
|
8538
8571
|
'line-dasharray': [0.5, 0.25],
|
|
8539
8572
|
'line-width': {
|
|
8540
8573
|
base: 1.2,
|
|
@@ -8559,7 +8592,7 @@ var GruvboxStyle = {
|
|
|
8559
8592
|
['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'path']],
|
|
8560
8593
|
],
|
|
8561
8594
|
paint: {
|
|
8562
|
-
'line-color': '#
|
|
8595
|
+
'line-color': '#fa5892',
|
|
8563
8596
|
'line-dasharray': [1.5, 0.75],
|
|
8564
8597
|
'line-width': {
|
|
8565
8598
|
base: 1.2,
|
|
@@ -8579,7 +8612,7 @@ var GruvboxStyle = {
|
|
|
8579
8612
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
8580
8613
|
layout: { 'line-join': 'round' },
|
|
8581
8614
|
paint: {
|
|
8582
|
-
'line-color': '#
|
|
8615
|
+
'line-color': '#fa5892',
|
|
8583
8616
|
'line-width': {
|
|
8584
8617
|
base: 1.2,
|
|
8585
8618
|
stops: [
|
|
@@ -8599,7 +8632,7 @@ var GruvboxStyle = {
|
|
|
8599
8632
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor_road']],
|
|
8600
8633
|
layout: { 'line-join': 'round' },
|
|
8601
8634
|
paint: {
|
|
8602
|
-
'line-color': '#
|
|
8635
|
+
'line-color': '#fa5892',
|
|
8603
8636
|
'line-opacity': 1,
|
|
8604
8637
|
'line-width': {
|
|
8605
8638
|
base: 1.2,
|
|
@@ -8620,7 +8653,7 @@ var GruvboxStyle = {
|
|
|
8620
8653
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
8621
8654
|
layout: { 'line-join': 'round' },
|
|
8622
8655
|
paint: {
|
|
8623
|
-
'line-color': '#
|
|
8656
|
+
'line-color': '#fb70a2',
|
|
8624
8657
|
'line-width': {
|
|
8625
8658
|
base: 1.2,
|
|
8626
8659
|
stops: [
|
|
@@ -8640,7 +8673,7 @@ var GruvboxStyle = {
|
|
|
8640
8673
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
8641
8674
|
layout: { 'line-join': 'round' },
|
|
8642
8675
|
paint: {
|
|
8643
|
-
'line-color': '#
|
|
8676
|
+
'line-color': '#F92672',
|
|
8644
8677
|
'line-width': {
|
|
8645
8678
|
base: 1.2,
|
|
8646
8679
|
stops: [
|
|
@@ -8660,7 +8693,7 @@ var GruvboxStyle = {
|
|
|
8660
8693
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
8661
8694
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
8662
8695
|
paint: {
|
|
8663
|
-
'line-color': 'rgba(
|
|
8696
|
+
'line-color': 'rgba(249,38,114,0.8)',
|
|
8664
8697
|
'line-width': {
|
|
8665
8698
|
base: 1.2,
|
|
8666
8699
|
stops: [
|
|
@@ -8679,7 +8712,7 @@ var GruvboxStyle = {
|
|
|
8679
8712
|
'source-layer': 'transportation',
|
|
8680
8713
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'rail']],
|
|
8681
8714
|
paint: {
|
|
8682
|
-
'line-color': '#
|
|
8715
|
+
'line-color': '#b40544',
|
|
8683
8716
|
'line-width': {
|
|
8684
8717
|
base: 1.4,
|
|
8685
8718
|
stops: [
|
|
@@ -8701,7 +8734,7 @@ var GruvboxStyle = {
|
|
|
8701
8734
|
filter: ['all', ['in', 'class', 'taxiway']],
|
|
8702
8735
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8703
8736
|
paint: {
|
|
8704
|
-
'line-color': '#
|
|
8737
|
+
'line-color': '#b40544',
|
|
8705
8738
|
'line-width': {
|
|
8706
8739
|
base: 1.5,
|
|
8707
8740
|
stops: [
|
|
@@ -8722,7 +8755,7 @@ var GruvboxStyle = {
|
|
|
8722
8755
|
filter: ['all', ['in', 'class', 'runway']],
|
|
8723
8756
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8724
8757
|
paint: {
|
|
8725
|
-
'line-color': '#
|
|
8758
|
+
'line-color': '#b40544',
|
|
8726
8759
|
'line-width': {
|
|
8727
8760
|
base: 1.5,
|
|
8728
8761
|
stops: [
|
|
@@ -8750,7 +8783,7 @@ var GruvboxStyle = {
|
|
|
8750
8783
|
[14, 1],
|
|
8751
8784
|
],
|
|
8752
8785
|
},
|
|
8753
|
-
'fill-color': 'rgba(
|
|
8786
|
+
'fill-color': 'rgba(249,38,114,0.5)',
|
|
8754
8787
|
},
|
|
8755
8788
|
},
|
|
8756
8789
|
{
|
|
@@ -8763,7 +8796,7 @@ var GruvboxStyle = {
|
|
|
8763
8796
|
filter: ['all', ['in', 'class', 'taxiway'], ['==', '$type', 'LineString']],
|
|
8764
8797
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8765
8798
|
paint: {
|
|
8766
|
-
'line-color': '#
|
|
8799
|
+
'line-color': '#fb70a2',
|
|
8767
8800
|
'line-width': {
|
|
8768
8801
|
base: 1.5,
|
|
8769
8802
|
stops: [
|
|
@@ -8790,7 +8823,7 @@ var GruvboxStyle = {
|
|
|
8790
8823
|
filter: ['all', ['in', 'class', 'runway'], ['==', '$type', 'LineString']],
|
|
8791
8824
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8792
8825
|
paint: {
|
|
8793
|
-
'line-color': '#
|
|
8826
|
+
'line-color': '#fb70a2',
|
|
8794
8827
|
'line-width': {
|
|
8795
8828
|
base: 1.5,
|
|
8796
8829
|
stops: [
|
|
@@ -8816,7 +8849,7 @@ var GruvboxStyle = {
|
|
|
8816
8849
|
filter: ['==', '$type', 'Polygon'],
|
|
8817
8850
|
layout: { visibility: 'visible' },
|
|
8818
8851
|
paint: {
|
|
8819
|
-
'fill-color': '#
|
|
8852
|
+
'fill-color': '#e60657',
|
|
8820
8853
|
'fill-outline-color': '#cfcdca',
|
|
8821
8854
|
'fill-opacity': 0.9,
|
|
8822
8855
|
'fill-antialias': false,
|
|
@@ -8832,7 +8865,7 @@ var GruvboxStyle = {
|
|
|
8832
8865
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
8833
8866
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
8834
8867
|
paint: {
|
|
8835
|
-
'line-color': '#
|
|
8868
|
+
'line-color': '#F92672',
|
|
8836
8869
|
'line-opacity': 1,
|
|
8837
8870
|
'line-width': {
|
|
8838
8871
|
base: 1.2,
|
|
@@ -8859,7 +8892,7 @@ var GruvboxStyle = {
|
|
|
8859
8892
|
],
|
|
8860
8893
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8861
8894
|
paint: {
|
|
8862
|
-
'line-color': '#
|
|
8895
|
+
'line-color': '#F92672',
|
|
8863
8896
|
'line-opacity': 1,
|
|
8864
8897
|
'line-width': {
|
|
8865
8898
|
base: 1.2,
|
|
@@ -8885,7 +8918,7 @@ var GruvboxStyle = {
|
|
|
8885
8918
|
],
|
|
8886
8919
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
8887
8920
|
paint: {
|
|
8888
|
-
'line-color': 'rgba(
|
|
8921
|
+
'line-color': 'rgba(249,38,114,0.8)',
|
|
8889
8922
|
'line-opacity': {
|
|
8890
8923
|
stops: [
|
|
8891
8924
|
[12, 0],
|
|
@@ -8916,7 +8949,7 @@ var GruvboxStyle = {
|
|
|
8916
8949
|
],
|
|
8917
8950
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8918
8951
|
paint: {
|
|
8919
|
-
'line-color': '#
|
|
8952
|
+
'line-color': '#F92672',
|
|
8920
8953
|
'line-opacity': 1,
|
|
8921
8954
|
'line-width': {
|
|
8922
8955
|
base: 1.2,
|
|
@@ -8937,7 +8970,7 @@ var GruvboxStyle = {
|
|
|
8937
8970
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'primary']],
|
|
8938
8971
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8939
8972
|
paint: {
|
|
8940
|
-
'line-color': '#
|
|
8973
|
+
'line-color': '#F92672',
|
|
8941
8974
|
'line-opacity': {
|
|
8942
8975
|
stops: [
|
|
8943
8976
|
[7, 0],
|
|
@@ -8965,7 +8998,7 @@ var GruvboxStyle = {
|
|
|
8965
8998
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'trunk']],
|
|
8966
8999
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8967
9000
|
paint: {
|
|
8968
|
-
'line-color': '#
|
|
9001
|
+
'line-color': '#F92672',
|
|
8969
9002
|
'line-opacity': {
|
|
8970
9003
|
stops: [
|
|
8971
9004
|
[5, 0],
|
|
@@ -8993,7 +9026,7 @@ var GruvboxStyle = {
|
|
|
8993
9026
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway']],
|
|
8994
9027
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
8995
9028
|
paint: {
|
|
8996
|
-
'line-color': '#
|
|
9029
|
+
'line-color': '#F92672',
|
|
8997
9030
|
'line-width': {
|
|
8998
9031
|
base: 1.2,
|
|
8999
9032
|
stops: [
|
|
@@ -9024,7 +9057,7 @@ var GruvboxStyle = {
|
|
|
9024
9057
|
['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'path']],
|
|
9025
9058
|
],
|
|
9026
9059
|
paint: {
|
|
9027
|
-
'line-color': '#
|
|
9060
|
+
'line-color': '#F8F8F2',
|
|
9028
9061
|
'line-dasharray': [1.5, 0.75],
|
|
9029
9062
|
'line-width': {
|
|
9030
9063
|
base: 1.2,
|
|
@@ -9045,7 +9078,7 @@ var GruvboxStyle = {
|
|
|
9045
9078
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
9046
9079
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
9047
9080
|
paint: {
|
|
9048
|
-
'line-color': '#
|
|
9081
|
+
'line-color': '#f92672',
|
|
9049
9082
|
'line-width': {
|
|
9050
9083
|
base: 1.2,
|
|
9051
9084
|
stops: [
|
|
@@ -9071,7 +9104,7 @@ var GruvboxStyle = {
|
|
|
9071
9104
|
],
|
|
9072
9105
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
9073
9106
|
paint: {
|
|
9074
|
-
'line-color': '#
|
|
9107
|
+
'line-color': '#F92672',
|
|
9075
9108
|
'line-width': {
|
|
9076
9109
|
base: 1.2,
|
|
9077
9110
|
stops: [
|
|
@@ -9096,7 +9129,7 @@ var GruvboxStyle = {
|
|
|
9096
9129
|
],
|
|
9097
9130
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
9098
9131
|
paint: {
|
|
9099
|
-
'line-color': '#
|
|
9132
|
+
'line-color': '#fc89b2',
|
|
9100
9133
|
'line-opacity': 1,
|
|
9101
9134
|
'line-width': {
|
|
9102
9135
|
base: 1.2,
|
|
@@ -9121,7 +9154,7 @@ var GruvboxStyle = {
|
|
|
9121
9154
|
],
|
|
9122
9155
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
9123
9156
|
paint: {
|
|
9124
|
-
'line-color': '#
|
|
9157
|
+
'line-color': '#F92672',
|
|
9125
9158
|
'line-width': {
|
|
9126
9159
|
base: 1.2,
|
|
9127
9160
|
stops: [
|
|
@@ -9145,7 +9178,7 @@ var GruvboxStyle = {
|
|
|
9145
9178
|
],
|
|
9146
9179
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
9147
9180
|
paint: {
|
|
9148
|
-
'line-color': '#
|
|
9181
|
+
'line-color': '#F92672',
|
|
9149
9182
|
'line-width': {
|
|
9150
9183
|
base: 1.2,
|
|
9151
9184
|
stops: [
|
|
@@ -9169,7 +9202,7 @@ var GruvboxStyle = {
|
|
|
9169
9202
|
],
|
|
9170
9203
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
9171
9204
|
paint: {
|
|
9172
|
-
'line-color': '#
|
|
9205
|
+
'line-color': '#F92672',
|
|
9173
9206
|
'line-width': {
|
|
9174
9207
|
base: 1.2,
|
|
9175
9208
|
stops: [
|
|
@@ -9194,7 +9227,7 @@ var GruvboxStyle = {
|
|
|
9194
9227
|
],
|
|
9195
9228
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
9196
9229
|
paint: {
|
|
9197
|
-
'line-color': '#
|
|
9230
|
+
'line-color': '#f92672',
|
|
9198
9231
|
'line-width': {
|
|
9199
9232
|
base: 1.2,
|
|
9200
9233
|
stops: [
|
|
@@ -9217,7 +9250,7 @@ var GruvboxStyle = {
|
|
|
9217
9250
|
['all', ['==', 'class', 'rail'], ['has', 'service']],
|
|
9218
9251
|
],
|
|
9219
9252
|
paint: {
|
|
9220
|
-
'line-color': 'rgba(
|
|
9253
|
+
'line-color': 'rgba(18,5,68,0.7)',
|
|
9221
9254
|
'line-width': {
|
|
9222
9255
|
base: 1.4,
|
|
9223
9256
|
stops: [
|
|
@@ -9240,7 +9273,7 @@ var GruvboxStyle = {
|
|
|
9240
9273
|
],
|
|
9241
9274
|
layout: { visibility: 'visible' },
|
|
9242
9275
|
paint: {
|
|
9243
|
-
'line-color': 'rgba(
|
|
9276
|
+
'line-color': 'rgba(18,5,68,0.7)',
|
|
9244
9277
|
'line-dasharray': [0.2, 8],
|
|
9245
9278
|
'line-width': {
|
|
9246
9279
|
base: 1.4,
|
|
@@ -9269,7 +9302,7 @@ var GruvboxStyle = {
|
|
|
9269
9302
|
],
|
|
9270
9303
|
],
|
|
9271
9304
|
paint: {
|
|
9272
|
-
'line-color': '#
|
|
9305
|
+
'line-color': '#b40544',
|
|
9273
9306
|
'line-width': {
|
|
9274
9307
|
base: 1.4,
|
|
9275
9308
|
stops: [
|
|
@@ -9297,7 +9330,7 @@ var GruvboxStyle = {
|
|
|
9297
9330
|
],
|
|
9298
9331
|
],
|
|
9299
9332
|
paint: {
|
|
9300
|
-
'line-color': '#
|
|
9333
|
+
'line-color': '#b40544',
|
|
9301
9334
|
'line-dasharray': [0.2, 8],
|
|
9302
9335
|
'line-width': {
|
|
9303
9336
|
base: 1.4,
|
|
@@ -9318,7 +9351,7 @@ var GruvboxStyle = {
|
|
|
9318
9351
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
9319
9352
|
layout: { 'line-join': 'round' },
|
|
9320
9353
|
paint: {
|
|
9321
|
-
'line-color': '#
|
|
9354
|
+
'line-color': '#F92672',
|
|
9322
9355
|
'line-opacity': 1,
|
|
9323
9356
|
'line-width': {
|
|
9324
9357
|
base: 1.2,
|
|
@@ -9344,7 +9377,7 @@ var GruvboxStyle = {
|
|
|
9344
9377
|
],
|
|
9345
9378
|
layout: { 'line-join': 'round' },
|
|
9346
9379
|
paint: {
|
|
9347
|
-
'line-color': '#
|
|
9380
|
+
'line-color': '#F92672',
|
|
9348
9381
|
'line-opacity': 1,
|
|
9349
9382
|
'line-width': {
|
|
9350
9383
|
base: 1.2,
|
|
@@ -9366,7 +9399,7 @@ var GruvboxStyle = {
|
|
|
9366
9399
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
9367
9400
|
layout: { 'line-join': 'round' },
|
|
9368
9401
|
paint: {
|
|
9369
|
-
'line-color': '#
|
|
9402
|
+
'line-color': '#F92672',
|
|
9370
9403
|
'line-opacity': 1,
|
|
9371
9404
|
'line-width': {
|
|
9372
9405
|
base: 1.2,
|
|
@@ -9386,7 +9419,7 @@ var GruvboxStyle = {
|
|
|
9386
9419
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
9387
9420
|
layout: { 'line-join': 'round' },
|
|
9388
9421
|
paint: {
|
|
9389
|
-
'line-color': '#
|
|
9422
|
+
'line-color': '#F92672',
|
|
9390
9423
|
'line-width': {
|
|
9391
9424
|
base: 1.2,
|
|
9392
9425
|
stops: [
|
|
@@ -9407,7 +9440,7 @@ var GruvboxStyle = {
|
|
|
9407
9440
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
9408
9441
|
layout: { 'line-join': 'round' },
|
|
9409
9442
|
paint: {
|
|
9410
|
-
'line-color': '#
|
|
9443
|
+
'line-color': '#F92672',
|
|
9411
9444
|
'line-width': {
|
|
9412
9445
|
base: 1.2,
|
|
9413
9446
|
stops: [
|
|
@@ -9431,7 +9464,7 @@ var GruvboxStyle = {
|
|
|
9431
9464
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
9432
9465
|
],
|
|
9433
9466
|
paint: {
|
|
9434
|
-
'line-color': '#
|
|
9467
|
+
'line-color': '#fa5892',
|
|
9435
9468
|
'line-width': {
|
|
9436
9469
|
base: 1.2,
|
|
9437
9470
|
stops: [
|
|
@@ -9453,7 +9486,7 @@ var GruvboxStyle = {
|
|
|
9453
9486
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
9454
9487
|
],
|
|
9455
9488
|
paint: {
|
|
9456
|
-
'line-color': '#
|
|
9489
|
+
'line-color': '#F8F8F2',
|
|
9457
9490
|
'line-width': {
|
|
9458
9491
|
base: 1.2,
|
|
9459
9492
|
stops: [
|
|
@@ -9473,7 +9506,7 @@ var GruvboxStyle = {
|
|
|
9473
9506
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
9474
9507
|
layout: { 'line-join': 'round' },
|
|
9475
9508
|
paint: {
|
|
9476
|
-
'line-color': '#
|
|
9509
|
+
'line-color': '#f92672',
|
|
9477
9510
|
'line-width': {
|
|
9478
9511
|
base: 1.2,
|
|
9479
9512
|
stops: [
|
|
@@ -9498,7 +9531,7 @@ var GruvboxStyle = {
|
|
|
9498
9531
|
],
|
|
9499
9532
|
layout: { 'line-join': 'round' },
|
|
9500
9533
|
paint: {
|
|
9501
|
-
'line-color': '#
|
|
9534
|
+
'line-color': '#F92672',
|
|
9502
9535
|
'line-width': {
|
|
9503
9536
|
base: 1.2,
|
|
9504
9537
|
stops: [
|
|
@@ -9519,7 +9552,7 @@ var GruvboxStyle = {
|
|
|
9519
9552
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
9520
9553
|
layout: { 'line-join': 'round' },
|
|
9521
9554
|
paint: {
|
|
9522
|
-
'line-color': '#
|
|
9555
|
+
'line-color': '#F92672',
|
|
9523
9556
|
'line-width': {
|
|
9524
9557
|
base: 1.2,
|
|
9525
9558
|
stops: [
|
|
@@ -9539,7 +9572,7 @@ var GruvboxStyle = {
|
|
|
9539
9572
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
9540
9573
|
layout: { 'line-join': 'round' },
|
|
9541
9574
|
paint: {
|
|
9542
|
-
'line-color': '#
|
|
9575
|
+
'line-color': '#F92672',
|
|
9543
9576
|
'line-width': {
|
|
9544
9577
|
base: 1.2,
|
|
9545
9578
|
stops: [
|
|
@@ -9559,7 +9592,7 @@ var GruvboxStyle = {
|
|
|
9559
9592
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
9560
9593
|
layout: { 'line-join': 'round' },
|
|
9561
9594
|
paint: {
|
|
9562
|
-
'line-color': '#
|
|
9595
|
+
'line-color': '#f92672',
|
|
9563
9596
|
'line-width': {
|
|
9564
9597
|
base: 1.2,
|
|
9565
9598
|
stops: [
|
|
@@ -9578,7 +9611,7 @@ var GruvboxStyle = {
|
|
|
9578
9611
|
'source-layer': 'transportation',
|
|
9579
9612
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
9580
9613
|
paint: {
|
|
9581
|
-
'line-color': '#
|
|
9614
|
+
'line-color': '#b40544',
|
|
9582
9615
|
'line-width': {
|
|
9583
9616
|
base: 1.4,
|
|
9584
9617
|
stops: [
|
|
@@ -9597,7 +9630,7 @@ var GruvboxStyle = {
|
|
|
9597
9630
|
'source-layer': 'transportation',
|
|
9598
9631
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
9599
9632
|
paint: {
|
|
9600
|
-
'line-color': '#
|
|
9633
|
+
'line-color': '#b40544',
|
|
9601
9634
|
'line-dasharray': [0.2, 8],
|
|
9602
9635
|
'line-width': {
|
|
9603
9636
|
base: 1.4,
|
|
@@ -9617,7 +9650,7 @@ var GruvboxStyle = {
|
|
|
9617
9650
|
filter: ['all', ['in', 'admin_level', 4, 6, 8], ['!=', 'maritime', 1]],
|
|
9618
9651
|
layout: { 'line-join': 'round' },
|
|
9619
9652
|
paint: {
|
|
9620
|
-
'line-color': '#
|
|
9653
|
+
'line-color': '#E69F66',
|
|
9621
9654
|
'line-dasharray': [3, 1, 1, 1],
|
|
9622
9655
|
'line-width': {
|
|
9623
9656
|
base: 1.4,
|
|
@@ -9637,7 +9670,7 @@ var GruvboxStyle = {
|
|
|
9637
9670
|
filter: ['all', ['==', 'admin_level', 2], ['!=', 'maritime', 1]],
|
|
9638
9671
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
9639
9672
|
paint: {
|
|
9640
|
-
'line-color': '#
|
|
9673
|
+
'line-color': '#E69F66',
|
|
9641
9674
|
'line-width': {
|
|
9642
9675
|
base: 1,
|
|
9643
9676
|
stops: [
|
|
@@ -9657,7 +9690,7 @@ var GruvboxStyle = {
|
|
|
9657
9690
|
filter: ['all', ['in', 'admin_level', 2, 4], ['==', 'maritime', 1]],
|
|
9658
9691
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
9659
9692
|
paint: {
|
|
9660
|
-
'line-color': '#
|
|
9693
|
+
'line-color': '#66D9EF',
|
|
9661
9694
|
'line-width': {
|
|
9662
9695
|
base: 1,
|
|
9663
9696
|
stops: [
|
|
@@ -10674,9 +10707,31 @@ var GruvboxStyle = {
|
|
|
10674
10707
|
],
|
|
10675
10708
|
};
|
|
10676
10709
|
|
|
10677
|
-
var
|
|
10710
|
+
var SelectStyleButton = function (props) {
|
|
10711
|
+
var layerContext = React__default["default"].useContext(LayerContext);
|
|
10712
|
+
var _a = React__default["default"].useState(false), popupOpen = _a[0], setPopupOpen = _a[1];
|
|
10713
|
+
return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
10714
|
+
React__default["default"].createElement(material.Button, { variant: "contained", sx: __assign({ marginTop: '10px' }, props.sx), onClick: function () { return setPopupOpen(true); } },
|
|
10715
|
+
React__default["default"].createElement(WallpaperIcon__default["default"], null)),
|
|
10716
|
+
React__default["default"].createElement(SelectStylePopup, { styles: __spreadArray(__spreadArray([], (props.defaultStyles
|
|
10717
|
+
? [GruvboxStyle, GruvboxStyle, GruvboxStyle, GruvboxStyle, GruvboxStyle]
|
|
10718
|
+
: []), true), (props.styles || []), true), open: popupOpen, setOpen: setPopupOpen, onSelect: function (style) {
|
|
10719
|
+
// Todo: should be possible without clearing bg layers first & setTimeout
|
|
10720
|
+
layerContext.setBackgroundLayers([]);
|
|
10721
|
+
setTimeout(function () {
|
|
10722
|
+
layerContext.updateStyle(style);
|
|
10723
|
+
}, 100);
|
|
10724
|
+
setPopupOpen(false);
|
|
10725
|
+
} })));
|
|
10726
|
+
};
|
|
10727
|
+
SelectStyleButton.defaultProps = {
|
|
10728
|
+
style: [],
|
|
10729
|
+
defaultStyles: true,
|
|
10730
|
+
};
|
|
10731
|
+
|
|
10732
|
+
var gruvbox = {
|
|
10678
10733
|
version: 8,
|
|
10679
|
-
name: '
|
|
10734
|
+
name: 'Gruvbox',
|
|
10680
10735
|
center: [8.542, 47.372],
|
|
10681
10736
|
zoom: 11.6,
|
|
10682
10737
|
bearing: 0,
|
|
@@ -10690,7 +10745,7 @@ var MedievalKingdomStyle = {
|
|
|
10690
10745
|
sprite: config.sprite,
|
|
10691
10746
|
glyphs: config.glyphs,
|
|
10692
10747
|
layers: [
|
|
10693
|
-
{ id: 'background', type: 'background', paint: { 'background-color': '#
|
|
10748
|
+
{ id: 'background', type: 'background', paint: { 'background-color': '#282822' } },
|
|
10694
10749
|
{
|
|
10695
10750
|
id: 'landcover-glacier',
|
|
10696
10751
|
type: 'fill',
|
|
@@ -10700,7 +10755,7 @@ var MedievalKingdomStyle = {
|
|
|
10700
10755
|
filter: ['==', 'subclass', 'glacier'],
|
|
10701
10756
|
layout: { visibility: 'visible' },
|
|
10702
10757
|
paint: {
|
|
10703
|
-
'fill-color': '#
|
|
10758
|
+
'fill-color': '#83a598',
|
|
10704
10759
|
'fill-opacity': {
|
|
10705
10760
|
base: 1,
|
|
10706
10761
|
stops: [
|
|
@@ -10717,7 +10772,7 @@ var MedievalKingdomStyle = {
|
|
|
10717
10772
|
source: 'openmaptiles',
|
|
10718
10773
|
'source-layer': 'landuse',
|
|
10719
10774
|
filter: ['==', 'class', 'residential'],
|
|
10720
|
-
paint: { 'fill-color': '#
|
|
10775
|
+
paint: { 'fill-color': '#b8bb26' },
|
|
10721
10776
|
},
|
|
10722
10777
|
{
|
|
10723
10778
|
id: 'landuse-commercial',
|
|
@@ -10726,7 +10781,7 @@ var MedievalKingdomStyle = {
|
|
|
10726
10781
|
source: 'openmaptiles',
|
|
10727
10782
|
'source-layer': 'landuse',
|
|
10728
10783
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'commercial']],
|
|
10729
|
-
paint: { 'fill-color': '#
|
|
10784
|
+
paint: { 'fill-color': '#bfc23c' },
|
|
10730
10785
|
},
|
|
10731
10786
|
{
|
|
10732
10787
|
id: 'landuse-industrial',
|
|
@@ -10735,7 +10790,7 @@ var MedievalKingdomStyle = {
|
|
|
10735
10790
|
source: 'openmaptiles',
|
|
10736
10791
|
'source-layer': 'landuse',
|
|
10737
10792
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'industrial']],
|
|
10738
|
-
paint: { 'fill-color': '#
|
|
10793
|
+
paint: { 'fill-color': '#c6c951' },
|
|
10739
10794
|
},
|
|
10740
10795
|
{
|
|
10741
10796
|
id: 'park',
|
|
@@ -10745,7 +10800,7 @@ var MedievalKingdomStyle = {
|
|
|
10745
10800
|
'source-layer': 'park',
|
|
10746
10801
|
filter: ['==', '$type', 'Polygon'],
|
|
10747
10802
|
paint: {
|
|
10748
|
-
'fill-color': '#
|
|
10803
|
+
'fill-color': '#b8bb26',
|
|
10749
10804
|
'fill-opacity': {
|
|
10750
10805
|
base: 1.8,
|
|
10751
10806
|
stops: [
|
|
@@ -10763,7 +10818,7 @@ var MedievalKingdomStyle = {
|
|
|
10763
10818
|
'source-layer': 'park',
|
|
10764
10819
|
filter: ['==', '$type', 'Polygon'],
|
|
10765
10820
|
layout: {},
|
|
10766
|
-
paint: { 'line-color': 'rgba(
|
|
10821
|
+
paint: { 'line-color': 'rgba(184,187,38,0.6)', 'line-dasharray': [3, 3] },
|
|
10767
10822
|
},
|
|
10768
10823
|
{
|
|
10769
10824
|
id: 'landuse-cemetery',
|
|
@@ -10772,7 +10827,7 @@ var MedievalKingdomStyle = {
|
|
|
10772
10827
|
source: 'openmaptiles',
|
|
10773
10828
|
'source-layer': 'landuse',
|
|
10774
10829
|
filter: ['==', 'class', 'cemetery'],
|
|
10775
|
-
paint: { 'fill-color': '#
|
|
10830
|
+
paint: { 'fill-color': '#eceeaa' },
|
|
10776
10831
|
},
|
|
10777
10832
|
{
|
|
10778
10833
|
id: 'landuse-hospital',
|
|
@@ -10781,7 +10836,7 @@ var MedievalKingdomStyle = {
|
|
|
10781
10836
|
source: 'openmaptiles',
|
|
10782
10837
|
'source-layer': 'landuse',
|
|
10783
10838
|
filter: ['==', 'class', 'hospital'],
|
|
10784
|
-
paint: { 'fill-color': '#
|
|
10839
|
+
paint: { 'fill-color': '#fe8019' },
|
|
10785
10840
|
},
|
|
10786
10841
|
{
|
|
10787
10842
|
id: 'landuse-school',
|
|
@@ -10790,7 +10845,7 @@ var MedievalKingdomStyle = {
|
|
|
10790
10845
|
source: 'openmaptiles',
|
|
10791
10846
|
'source-layer': 'landuse',
|
|
10792
10847
|
filter: ['==', 'class', 'school'],
|
|
10793
|
-
paint: { 'fill-color': 'rgba(
|
|
10848
|
+
paint: { 'fill-color': 'rgba(254,128,25,0.8)' },
|
|
10794
10849
|
},
|
|
10795
10850
|
{
|
|
10796
10851
|
id: 'landuse-railway',
|
|
@@ -10799,7 +10854,7 @@ var MedievalKingdomStyle = {
|
|
|
10799
10854
|
source: 'openmaptiles',
|
|
10800
10855
|
'source-layer': 'landuse',
|
|
10801
10856
|
filter: ['==', 'class', 'railway'],
|
|
10802
|
-
paint: { 'fill-color': 'rgba(
|
|
10857
|
+
paint: { 'fill-color': 'rgba(118,51,8,0.4)' },
|
|
10803
10858
|
},
|
|
10804
10859
|
{
|
|
10805
10860
|
id: 'landcover-wood',
|
|
@@ -10809,7 +10864,7 @@ var MedievalKingdomStyle = {
|
|
|
10809
10864
|
'source-layer': 'landcover',
|
|
10810
10865
|
filter: ['==', 'class', 'wood'],
|
|
10811
10866
|
paint: {
|
|
10812
|
-
'fill-color': '#
|
|
10867
|
+
'fill-color': '#83a598',
|
|
10813
10868
|
'fill-opacity': 0.1,
|
|
10814
10869
|
'fill-outline-color': 'hsla(0, 0%, 0%, 0.03)',
|
|
10815
10870
|
'fill-antialias': {
|
|
@@ -10828,7 +10883,7 @@ var MedievalKingdomStyle = {
|
|
|
10828
10883
|
source: 'openmaptiles',
|
|
10829
10884
|
'source-layer': 'landcover',
|
|
10830
10885
|
filter: ['==', 'class', 'grass'],
|
|
10831
|
-
paint: { 'fill-color': '#
|
|
10886
|
+
paint: { 'fill-color': '#b8bb26', 'fill-opacity': 1 },
|
|
10832
10887
|
},
|
|
10833
10888
|
{
|
|
10834
10889
|
id: 'landcover-grass-park',
|
|
@@ -10837,7 +10892,7 @@ var MedievalKingdomStyle = {
|
|
|
10837
10892
|
source: 'openmaptiles',
|
|
10838
10893
|
'source-layer': 'park',
|
|
10839
10894
|
filter: ['==', 'class', 'public_park'],
|
|
10840
|
-
paint: { 'fill-color': '#
|
|
10895
|
+
paint: { 'fill-color': '#b8bb26', 'fill-opacity': 0.8 },
|
|
10841
10896
|
},
|
|
10842
10897
|
{
|
|
10843
10898
|
id: 'waterway-other',
|
|
@@ -10848,7 +10903,7 @@ var MedievalKingdomStyle = {
|
|
|
10848
10903
|
filter: ['!in', 'class', 'canal', 'river', 'stream'],
|
|
10849
10904
|
layout: { 'line-cap': 'round' },
|
|
10850
10905
|
paint: {
|
|
10851
|
-
'line-color': '#
|
|
10906
|
+
'line-color': '#83a598',
|
|
10852
10907
|
'line-width': {
|
|
10853
10908
|
base: 1.3,
|
|
10854
10909
|
stops: [
|
|
@@ -10867,7 +10922,7 @@ var MedievalKingdomStyle = {
|
|
|
10867
10922
|
filter: ['in', 'class', 'canal', 'stream'],
|
|
10868
10923
|
layout: { 'line-cap': 'round' },
|
|
10869
10924
|
paint: {
|
|
10870
|
-
'line-color': '#
|
|
10925
|
+
'line-color': '#83a598',
|
|
10871
10926
|
'line-width': {
|
|
10872
10927
|
base: 1.3,
|
|
10873
10928
|
stops: [
|
|
@@ -10886,7 +10941,7 @@ var MedievalKingdomStyle = {
|
|
|
10886
10941
|
filter: ['==', 'class', 'river'],
|
|
10887
10942
|
layout: { 'line-cap': 'round' },
|
|
10888
10943
|
paint: {
|
|
10889
|
-
'line-color': '#
|
|
10944
|
+
'line-color': '#83a598',
|
|
10890
10945
|
'line-width': {
|
|
10891
10946
|
base: 1.2,
|
|
10892
10947
|
stops: [
|
|
@@ -10907,7 +10962,7 @@ var MedievalKingdomStyle = {
|
|
|
10907
10962
|
layout: { visibility: 'visible' },
|
|
10908
10963
|
paint: {
|
|
10909
10964
|
'fill-opacity': 1,
|
|
10910
|
-
'fill-color': '#
|
|
10965
|
+
'fill-color': '#83a598',
|
|
10911
10966
|
'fill-translate': {
|
|
10912
10967
|
base: 1,
|
|
10913
10968
|
stops: [
|
|
@@ -10924,7 +10979,7 @@ var MedievalKingdomStyle = {
|
|
|
10924
10979
|
source: 'openmaptiles',
|
|
10925
10980
|
'source-layer': 'water',
|
|
10926
10981
|
layout: { visibility: 'visible' },
|
|
10927
|
-
paint: { 'fill-color': '#
|
|
10982
|
+
paint: { 'fill-color': '#5c7f72' },
|
|
10928
10983
|
},
|
|
10929
10984
|
{
|
|
10930
10985
|
id: 'water-pattern',
|
|
@@ -10944,7 +10999,7 @@ var MedievalKingdomStyle = {
|
|
|
10944
10999
|
filter: ['==', 'subclass', 'ice_shelf'],
|
|
10945
11000
|
layout: { visibility: 'visible' },
|
|
10946
11001
|
paint: {
|
|
10947
|
-
'fill-color': '#
|
|
11002
|
+
'fill-color': '#83a598',
|
|
10948
11003
|
'fill-opacity': {
|
|
10949
11004
|
base: 1,
|
|
10950
11005
|
stops: [
|
|
@@ -10960,7 +11015,7 @@ var MedievalKingdomStyle = {
|
|
|
10960
11015
|
metadata: { 'mapbox:group': '1444849364238.8171' },
|
|
10961
11016
|
source: 'openmaptiles',
|
|
10962
11017
|
'source-layer': 'building',
|
|
10963
|
-
paint: { 'fill-color': '#
|
|
11018
|
+
paint: { 'fill-color': '#928374', 'fill-antialias': true },
|
|
10964
11019
|
},
|
|
10965
11020
|
{
|
|
10966
11021
|
id: 'building-top',
|
|
@@ -10978,7 +11033,7 @@ var MedievalKingdomStyle = {
|
|
|
10978
11033
|
],
|
|
10979
11034
|
},
|
|
10980
11035
|
'fill-outline-color': '#dfdbd7',
|
|
10981
|
-
'fill-color': '#
|
|
11036
|
+
'fill-color': '#a89c91',
|
|
10982
11037
|
'fill-opacity': {
|
|
10983
11038
|
base: 1,
|
|
10984
11039
|
stops: [
|
|
@@ -10997,7 +11052,7 @@ var MedievalKingdomStyle = {
|
|
|
10997
11052
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
10998
11053
|
layout: { 'line-join': 'round' },
|
|
10999
11054
|
paint: {
|
|
11000
|
-
'line-color': '#
|
|
11055
|
+
'line-color': '#d65d0e',
|
|
11001
11056
|
'line-dasharray': [0.5, 0.25],
|
|
11002
11057
|
'line-width': {
|
|
11003
11058
|
base: 1.2,
|
|
@@ -11018,7 +11073,7 @@ var MedievalKingdomStyle = {
|
|
|
11018
11073
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor']],
|
|
11019
11074
|
layout: { 'line-join': 'round' },
|
|
11020
11075
|
paint: {
|
|
11021
|
-
'line-color': '#
|
|
11076
|
+
'line-color': '#d65d0e',
|
|
11022
11077
|
'line-opacity': {
|
|
11023
11078
|
stops: [
|
|
11024
11079
|
[12, 0],
|
|
@@ -11045,7 +11100,7 @@ var MedievalKingdomStyle = {
|
|
|
11045
11100
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
11046
11101
|
layout: { 'line-join': 'round' },
|
|
11047
11102
|
paint: {
|
|
11048
|
-
'line-color': '#
|
|
11103
|
+
'line-color': '#d65d0e',
|
|
11049
11104
|
'line-opacity': 1,
|
|
11050
11105
|
'line-width': {
|
|
11051
11106
|
base: 1.2,
|
|
@@ -11065,7 +11120,7 @@ var MedievalKingdomStyle = {
|
|
|
11065
11120
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
11066
11121
|
layout: { 'line-join': 'round' },
|
|
11067
11122
|
paint: {
|
|
11068
|
-
'line-color': '#
|
|
11123
|
+
'line-color': '#d65d0e',
|
|
11069
11124
|
'line-width': {
|
|
11070
11125
|
base: 1.2,
|
|
11071
11126
|
stops: [
|
|
@@ -11086,7 +11141,7 @@ var MedievalKingdomStyle = {
|
|
|
11086
11141
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
11087
11142
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
11088
11143
|
paint: {
|
|
11089
|
-
'line-color': '#
|
|
11144
|
+
'line-color': '#d65d0e',
|
|
11090
11145
|
'line-dasharray': [0.5, 0.25],
|
|
11091
11146
|
'line-width': {
|
|
11092
11147
|
base: 1.2,
|
|
@@ -11111,7 +11166,7 @@ var MedievalKingdomStyle = {
|
|
|
11111
11166
|
['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'path']],
|
|
11112
11167
|
],
|
|
11113
11168
|
paint: {
|
|
11114
|
-
'line-color': '#
|
|
11169
|
+
'line-color': '#f17626',
|
|
11115
11170
|
'line-dasharray': [1.5, 0.75],
|
|
11116
11171
|
'line-width': {
|
|
11117
11172
|
base: 1.2,
|
|
@@ -11131,7 +11186,7 @@ var MedievalKingdomStyle = {
|
|
|
11131
11186
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
11132
11187
|
layout: { 'line-join': 'round' },
|
|
11133
11188
|
paint: {
|
|
11134
|
-
'line-color': '#
|
|
11189
|
+
'line-color': '#f17626',
|
|
11135
11190
|
'line-width': {
|
|
11136
11191
|
base: 1.2,
|
|
11137
11192
|
stops: [
|
|
@@ -11151,7 +11206,7 @@ var MedievalKingdomStyle = {
|
|
|
11151
11206
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor_road']],
|
|
11152
11207
|
layout: { 'line-join': 'round' },
|
|
11153
11208
|
paint: {
|
|
11154
|
-
'line-color': '#
|
|
11209
|
+
'line-color': '#f17626',
|
|
11155
11210
|
'line-opacity': 1,
|
|
11156
11211
|
'line-width': {
|
|
11157
11212
|
base: 1.2,
|
|
@@ -11172,7 +11227,7 @@ var MedievalKingdomStyle = {
|
|
|
11172
11227
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
11173
11228
|
layout: { 'line-join': 'round' },
|
|
11174
11229
|
paint: {
|
|
11175
|
-
'line-color': '#
|
|
11230
|
+
'line-color': '#f2853e',
|
|
11176
11231
|
'line-width': {
|
|
11177
11232
|
base: 1.2,
|
|
11178
11233
|
stops: [
|
|
@@ -11192,7 +11247,7 @@ var MedievalKingdomStyle = {
|
|
|
11192
11247
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
11193
11248
|
layout: { 'line-join': 'round' },
|
|
11194
11249
|
paint: {
|
|
11195
|
-
'line-color': '#
|
|
11250
|
+
'line-color': '#d65d0e',
|
|
11196
11251
|
'line-width': {
|
|
11197
11252
|
base: 1.2,
|
|
11198
11253
|
stops: [
|
|
@@ -11212,7 +11267,7 @@ var MedievalKingdomStyle = {
|
|
|
11212
11267
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
11213
11268
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
11214
11269
|
paint: {
|
|
11215
|
-
'line-color': 'rgba(
|
|
11270
|
+
'line-color': 'rgba(235,219,178,0.8)',
|
|
11216
11271
|
'line-width': {
|
|
11217
11272
|
base: 1.2,
|
|
11218
11273
|
stops: [
|
|
@@ -11231,7 +11286,7 @@ var MedievalKingdomStyle = {
|
|
|
11231
11286
|
'source-layer': 'transportation',
|
|
11232
11287
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'rail']],
|
|
11233
11288
|
paint: {
|
|
11234
|
-
'line-color': '#
|
|
11289
|
+
'line-color': '#763308',
|
|
11235
11290
|
'line-width': {
|
|
11236
11291
|
base: 1.4,
|
|
11237
11292
|
stops: [
|
|
@@ -11253,7 +11308,7 @@ var MedievalKingdomStyle = {
|
|
|
11253
11308
|
filter: ['all', ['in', 'class', 'taxiway']],
|
|
11254
11309
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11255
11310
|
paint: {
|
|
11256
|
-
'line-color': '#
|
|
11311
|
+
'line-color': '#763308',
|
|
11257
11312
|
'line-width': {
|
|
11258
11313
|
base: 1.5,
|
|
11259
11314
|
stops: [
|
|
@@ -11274,7 +11329,7 @@ var MedievalKingdomStyle = {
|
|
|
11274
11329
|
filter: ['all', ['in', 'class', 'runway']],
|
|
11275
11330
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11276
11331
|
paint: {
|
|
11277
|
-
'line-color': '#
|
|
11332
|
+
'line-color': '#763308',
|
|
11278
11333
|
'line-width': {
|
|
11279
11334
|
base: 1.5,
|
|
11280
11335
|
stops: [
|
|
@@ -11302,7 +11357,7 @@ var MedievalKingdomStyle = {
|
|
|
11302
11357
|
[14, 1],
|
|
11303
11358
|
],
|
|
11304
11359
|
},
|
|
11305
|
-
'fill-color': 'rgba(
|
|
11360
|
+
'fill-color': 'rgba(214,93,14,0.5)',
|
|
11306
11361
|
},
|
|
11307
11362
|
},
|
|
11308
11363
|
{
|
|
@@ -11315,7 +11370,7 @@ var MedievalKingdomStyle = {
|
|
|
11315
11370
|
filter: ['all', ['in', 'class', 'taxiway'], ['==', '$type', 'LineString']],
|
|
11316
11371
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11317
11372
|
paint: {
|
|
11318
|
-
'line-color': '#
|
|
11373
|
+
'line-color': '#f2853e',
|
|
11319
11374
|
'line-width': {
|
|
11320
11375
|
base: 1.5,
|
|
11321
11376
|
stops: [
|
|
@@ -11342,7 +11397,7 @@ var MedievalKingdomStyle = {
|
|
|
11342
11397
|
filter: ['all', ['in', 'class', 'runway'], ['==', '$type', 'LineString']],
|
|
11343
11398
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11344
11399
|
paint: {
|
|
11345
|
-
'line-color': '#
|
|
11400
|
+
'line-color': '#f2853e',
|
|
11346
11401
|
'line-width': {
|
|
11347
11402
|
base: 1.5,
|
|
11348
11403
|
stops: [
|
|
@@ -11368,7 +11423,7 @@ var MedievalKingdomStyle = {
|
|
|
11368
11423
|
filter: ['==', '$type', 'Polygon'],
|
|
11369
11424
|
layout: { visibility: 'visible' },
|
|
11370
11425
|
paint: {
|
|
11371
|
-
'fill-color': '#
|
|
11426
|
+
'fill-color': '#a6480b',
|
|
11372
11427
|
'fill-outline-color': '#cfcdca',
|
|
11373
11428
|
'fill-opacity': 0.9,
|
|
11374
11429
|
'fill-antialias': false,
|
|
@@ -11384,7 +11439,7 @@ var MedievalKingdomStyle = {
|
|
|
11384
11439
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
11385
11440
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
11386
11441
|
paint: {
|
|
11387
|
-
'line-color': '#
|
|
11442
|
+
'line-color': '#d65d0e',
|
|
11388
11443
|
'line-opacity': 1,
|
|
11389
11444
|
'line-width': {
|
|
11390
11445
|
base: 1.2,
|
|
@@ -11411,7 +11466,7 @@ var MedievalKingdomStyle = {
|
|
|
11411
11466
|
],
|
|
11412
11467
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11413
11468
|
paint: {
|
|
11414
|
-
'line-color': '#
|
|
11469
|
+
'line-color': '#d65d0e',
|
|
11415
11470
|
'line-opacity': 1,
|
|
11416
11471
|
'line-width': {
|
|
11417
11472
|
base: 1.2,
|
|
@@ -11437,7 +11492,7 @@ var MedievalKingdomStyle = {
|
|
|
11437
11492
|
],
|
|
11438
11493
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
11439
11494
|
paint: {
|
|
11440
|
-
'line-color': 'rgba(
|
|
11495
|
+
'line-color': 'rgba(214,93,14,0.8)',
|
|
11441
11496
|
'line-opacity': {
|
|
11442
11497
|
stops: [
|
|
11443
11498
|
[12, 0],
|
|
@@ -11468,7 +11523,7 @@ var MedievalKingdomStyle = {
|
|
|
11468
11523
|
],
|
|
11469
11524
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11470
11525
|
paint: {
|
|
11471
|
-
'line-color': '#
|
|
11526
|
+
'line-color': '#d65d0e',
|
|
11472
11527
|
'line-opacity': 1,
|
|
11473
11528
|
'line-width': {
|
|
11474
11529
|
base: 1.2,
|
|
@@ -11489,7 +11544,7 @@ var MedievalKingdomStyle = {
|
|
|
11489
11544
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'primary']],
|
|
11490
11545
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11491
11546
|
paint: {
|
|
11492
|
-
'line-color': '#
|
|
11547
|
+
'line-color': '#d65d0e',
|
|
11493
11548
|
'line-opacity': {
|
|
11494
11549
|
stops: [
|
|
11495
11550
|
[7, 0],
|
|
@@ -11517,7 +11572,7 @@ var MedievalKingdomStyle = {
|
|
|
11517
11572
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'trunk']],
|
|
11518
11573
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11519
11574
|
paint: {
|
|
11520
|
-
'line-color': '#
|
|
11575
|
+
'line-color': '#d65d0e',
|
|
11521
11576
|
'line-opacity': {
|
|
11522
11577
|
stops: [
|
|
11523
11578
|
[5, 0],
|
|
@@ -11545,7 +11600,7 @@ var MedievalKingdomStyle = {
|
|
|
11545
11600
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway']],
|
|
11546
11601
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11547
11602
|
paint: {
|
|
11548
|
-
'line-color': '#
|
|
11603
|
+
'line-color': '#d65d0e',
|
|
11549
11604
|
'line-width': {
|
|
11550
11605
|
base: 1.2,
|
|
11551
11606
|
stops: [
|
|
@@ -11576,7 +11631,7 @@ var MedievalKingdomStyle = {
|
|
|
11576
11631
|
['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'path']],
|
|
11577
11632
|
],
|
|
11578
11633
|
paint: {
|
|
11579
|
-
'line-color': '#
|
|
11634
|
+
'line-color': '#fe8019',
|
|
11580
11635
|
'line-dasharray': [1.5, 0.75],
|
|
11581
11636
|
'line-width': {
|
|
11582
11637
|
base: 1.2,
|
|
@@ -11597,7 +11652,7 @@ var MedievalKingdomStyle = {
|
|
|
11597
11652
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
11598
11653
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
11599
11654
|
paint: {
|
|
11600
|
-
'line-color': '#
|
|
11655
|
+
'line-color': '#ebdbb2',
|
|
11601
11656
|
'line-width': {
|
|
11602
11657
|
base: 1.2,
|
|
11603
11658
|
stops: [
|
|
@@ -11623,7 +11678,7 @@ var MedievalKingdomStyle = {
|
|
|
11623
11678
|
],
|
|
11624
11679
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11625
11680
|
paint: {
|
|
11626
|
-
'line-color': '#
|
|
11681
|
+
'line-color': '#ebdbb2',
|
|
11627
11682
|
'line-width': {
|
|
11628
11683
|
base: 1.2,
|
|
11629
11684
|
stops: [
|
|
@@ -11648,7 +11703,7 @@ var MedievalKingdomStyle = {
|
|
|
11648
11703
|
],
|
|
11649
11704
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
11650
11705
|
paint: {
|
|
11651
|
-
'line-color': '#
|
|
11706
|
+
'line-color': '#f49456',
|
|
11652
11707
|
'line-opacity': 1,
|
|
11653
11708
|
'line-width': {
|
|
11654
11709
|
base: 1.2,
|
|
@@ -11673,7 +11728,7 @@ var MedievalKingdomStyle = {
|
|
|
11673
11728
|
],
|
|
11674
11729
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11675
11730
|
paint: {
|
|
11676
|
-
'line-color': '#
|
|
11731
|
+
'line-color': '#ebdbb2',
|
|
11677
11732
|
'line-width': {
|
|
11678
11733
|
base: 1.2,
|
|
11679
11734
|
stops: [
|
|
@@ -11697,7 +11752,7 @@ var MedievalKingdomStyle = {
|
|
|
11697
11752
|
],
|
|
11698
11753
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11699
11754
|
paint: {
|
|
11700
|
-
'line-color': '#
|
|
11755
|
+
'line-color': '#ebdbb2',
|
|
11701
11756
|
'line-width': {
|
|
11702
11757
|
base: 1.2,
|
|
11703
11758
|
stops: [
|
|
@@ -11721,7 +11776,7 @@ var MedievalKingdomStyle = {
|
|
|
11721
11776
|
],
|
|
11722
11777
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11723
11778
|
paint: {
|
|
11724
|
-
'line-color': '#
|
|
11779
|
+
'line-color': '#ebdbb2',
|
|
11725
11780
|
'line-width': {
|
|
11726
11781
|
base: 1.2,
|
|
11727
11782
|
stops: [
|
|
@@ -11746,7 +11801,7 @@ var MedievalKingdomStyle = {
|
|
|
11746
11801
|
],
|
|
11747
11802
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
11748
11803
|
paint: {
|
|
11749
|
-
'line-color': '#
|
|
11804
|
+
'line-color': '#ebdbb2',
|
|
11750
11805
|
'line-width': {
|
|
11751
11806
|
base: 1.2,
|
|
11752
11807
|
stops: [
|
|
@@ -11769,7 +11824,7 @@ var MedievalKingdomStyle = {
|
|
|
11769
11824
|
['all', ['==', 'class', 'rail'], ['has', 'service']],
|
|
11770
11825
|
],
|
|
11771
11826
|
paint: {
|
|
11772
|
-
'line-color': 'rgba(
|
|
11827
|
+
'line-color': 'rgba(118,51,8,0.7)',
|
|
11773
11828
|
'line-width': {
|
|
11774
11829
|
base: 1.4,
|
|
11775
11830
|
stops: [
|
|
@@ -11792,7 +11847,7 @@ var MedievalKingdomStyle = {
|
|
|
11792
11847
|
],
|
|
11793
11848
|
layout: { visibility: 'visible' },
|
|
11794
11849
|
paint: {
|
|
11795
|
-
'line-color': 'rgba(
|
|
11850
|
+
'line-color': 'rgba(118,51,8,0.7)',
|
|
11796
11851
|
'line-dasharray': [0.2, 8],
|
|
11797
11852
|
'line-width': {
|
|
11798
11853
|
base: 1.4,
|
|
@@ -11821,7 +11876,7 @@ var MedievalKingdomStyle = {
|
|
|
11821
11876
|
],
|
|
11822
11877
|
],
|
|
11823
11878
|
paint: {
|
|
11824
|
-
'line-color': '#
|
|
11879
|
+
'line-color': '#763308',
|
|
11825
11880
|
'line-width': {
|
|
11826
11881
|
base: 1.4,
|
|
11827
11882
|
stops: [
|
|
@@ -11849,7 +11904,7 @@ var MedievalKingdomStyle = {
|
|
|
11849
11904
|
],
|
|
11850
11905
|
],
|
|
11851
11906
|
paint: {
|
|
11852
|
-
'line-color': '#
|
|
11907
|
+
'line-color': '#763308',
|
|
11853
11908
|
'line-dasharray': [0.2, 8],
|
|
11854
11909
|
'line-width': {
|
|
11855
11910
|
base: 1.4,
|
|
@@ -11870,7 +11925,7 @@ var MedievalKingdomStyle = {
|
|
|
11870
11925
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
11871
11926
|
layout: { 'line-join': 'round' },
|
|
11872
11927
|
paint: {
|
|
11873
|
-
'line-color': '#
|
|
11928
|
+
'line-color': '#d65d0e',
|
|
11874
11929
|
'line-opacity': 1,
|
|
11875
11930
|
'line-width': {
|
|
11876
11931
|
base: 1.2,
|
|
@@ -11896,7 +11951,7 @@ var MedievalKingdomStyle = {
|
|
|
11896
11951
|
],
|
|
11897
11952
|
layout: { 'line-join': 'round' },
|
|
11898
11953
|
paint: {
|
|
11899
|
-
'line-color': '#
|
|
11954
|
+
'line-color': '#d65d0e',
|
|
11900
11955
|
'line-opacity': 1,
|
|
11901
11956
|
'line-width': {
|
|
11902
11957
|
base: 1.2,
|
|
@@ -11918,7 +11973,7 @@ var MedievalKingdomStyle = {
|
|
|
11918
11973
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
11919
11974
|
layout: { 'line-join': 'round' },
|
|
11920
11975
|
paint: {
|
|
11921
|
-
'line-color': '#
|
|
11976
|
+
'line-color': '#d65d0e',
|
|
11922
11977
|
'line-opacity': 1,
|
|
11923
11978
|
'line-width': {
|
|
11924
11979
|
base: 1.2,
|
|
@@ -11938,7 +11993,7 @@ var MedievalKingdomStyle = {
|
|
|
11938
11993
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
11939
11994
|
layout: { 'line-join': 'round' },
|
|
11940
11995
|
paint: {
|
|
11941
|
-
'line-color': '#
|
|
11996
|
+
'line-color': '#d65d0e',
|
|
11942
11997
|
'line-width': {
|
|
11943
11998
|
base: 1.2,
|
|
11944
11999
|
stops: [
|
|
@@ -11959,7 +12014,7 @@ var MedievalKingdomStyle = {
|
|
|
11959
12014
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
11960
12015
|
layout: { 'line-join': 'round' },
|
|
11961
12016
|
paint: {
|
|
11962
|
-
'line-color': '#
|
|
12017
|
+
'line-color': '#d65d0e',
|
|
11963
12018
|
'line-width': {
|
|
11964
12019
|
base: 1.2,
|
|
11965
12020
|
stops: [
|
|
@@ -11983,7 +12038,7 @@ var MedievalKingdomStyle = {
|
|
|
11983
12038
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
11984
12039
|
],
|
|
11985
12040
|
paint: {
|
|
11986
|
-
'line-color': '#
|
|
12041
|
+
'line-color': '#f17626',
|
|
11987
12042
|
'line-width': {
|
|
11988
12043
|
base: 1.2,
|
|
11989
12044
|
stops: [
|
|
@@ -12005,7 +12060,7 @@ var MedievalKingdomStyle = {
|
|
|
12005
12060
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
12006
12061
|
],
|
|
12007
12062
|
paint: {
|
|
12008
|
-
'line-color': '#
|
|
12063
|
+
'line-color': '#fe8019',
|
|
12009
12064
|
'line-width': {
|
|
12010
12065
|
base: 1.2,
|
|
12011
12066
|
stops: [
|
|
@@ -12025,7 +12080,7 @@ var MedievalKingdomStyle = {
|
|
|
12025
12080
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
12026
12081
|
layout: { 'line-join': 'round' },
|
|
12027
12082
|
paint: {
|
|
12028
|
-
'line-color': '#
|
|
12083
|
+
'line-color': '#ebdbb2',
|
|
12029
12084
|
'line-width': {
|
|
12030
12085
|
base: 1.2,
|
|
12031
12086
|
stops: [
|
|
@@ -12050,7 +12105,7 @@ var MedievalKingdomStyle = {
|
|
|
12050
12105
|
],
|
|
12051
12106
|
layout: { 'line-join': 'round' },
|
|
12052
12107
|
paint: {
|
|
12053
|
-
'line-color': '#
|
|
12108
|
+
'line-color': '#ebdbb2',
|
|
12054
12109
|
'line-width': {
|
|
12055
12110
|
base: 1.2,
|
|
12056
12111
|
stops: [
|
|
@@ -12071,7 +12126,7 @@ var MedievalKingdomStyle = {
|
|
|
12071
12126
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
12072
12127
|
layout: { 'line-join': 'round' },
|
|
12073
12128
|
paint: {
|
|
12074
|
-
'line-color': '#
|
|
12129
|
+
'line-color': '#ebdbb2',
|
|
12075
12130
|
'line-width': {
|
|
12076
12131
|
base: 1.2,
|
|
12077
12132
|
stops: [
|
|
@@ -12091,7 +12146,7 @@ var MedievalKingdomStyle = {
|
|
|
12091
12146
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
12092
12147
|
layout: { 'line-join': 'round' },
|
|
12093
12148
|
paint: {
|
|
12094
|
-
'line-color': '#
|
|
12149
|
+
'line-color': '#ebdbb2',
|
|
12095
12150
|
'line-width': {
|
|
12096
12151
|
base: 1.2,
|
|
12097
12152
|
stops: [
|
|
@@ -12111,7 +12166,7 @@ var MedievalKingdomStyle = {
|
|
|
12111
12166
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
12112
12167
|
layout: { 'line-join': 'round' },
|
|
12113
12168
|
paint: {
|
|
12114
|
-
'line-color': '#
|
|
12169
|
+
'line-color': '#ebdbb2',
|
|
12115
12170
|
'line-width': {
|
|
12116
12171
|
base: 1.2,
|
|
12117
12172
|
stops: [
|
|
@@ -12130,7 +12185,7 @@ var MedievalKingdomStyle = {
|
|
|
12130
12185
|
'source-layer': 'transportation',
|
|
12131
12186
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
12132
12187
|
paint: {
|
|
12133
|
-
'line-color': '#
|
|
12188
|
+
'line-color': '#763308',
|
|
12134
12189
|
'line-width': {
|
|
12135
12190
|
base: 1.4,
|
|
12136
12191
|
stops: [
|
|
@@ -12149,7 +12204,7 @@ var MedievalKingdomStyle = {
|
|
|
12149
12204
|
'source-layer': 'transportation',
|
|
12150
12205
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
12151
12206
|
paint: {
|
|
12152
|
-
'line-color': '#
|
|
12207
|
+
'line-color': '#763308',
|
|
12153
12208
|
'line-dasharray': [0.2, 8],
|
|
12154
12209
|
'line-width': {
|
|
12155
12210
|
base: 1.4,
|
|
@@ -12169,7 +12224,7 @@ var MedievalKingdomStyle = {
|
|
|
12169
12224
|
filter: ['all', ['in', 'admin_level', 4, 6, 8], ['!=', 'maritime', 1]],
|
|
12170
12225
|
layout: { 'line-join': 'round' },
|
|
12171
12226
|
paint: {
|
|
12172
|
-
'line-color': '#
|
|
12227
|
+
'line-color': '#fb4934',
|
|
12173
12228
|
'line-dasharray': [3, 1, 1, 1],
|
|
12174
12229
|
'line-width': {
|
|
12175
12230
|
base: 1.4,
|
|
@@ -12189,7 +12244,7 @@ var MedievalKingdomStyle = {
|
|
|
12189
12244
|
filter: ['all', ['==', 'admin_level', 2], ['!=', 'maritime', 1]],
|
|
12190
12245
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
12191
12246
|
paint: {
|
|
12192
|
-
'line-color': '#
|
|
12247
|
+
'line-color': '#fb4934',
|
|
12193
12248
|
'line-width': {
|
|
12194
12249
|
base: 1,
|
|
12195
12250
|
stops: [
|
|
@@ -12209,7 +12264,7 @@ var MedievalKingdomStyle = {
|
|
|
12209
12264
|
filter: ['all', ['in', 'admin_level', 2, 4], ['==', 'maritime', 1]],
|
|
12210
12265
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
12211
12266
|
paint: {
|
|
12212
|
-
'line-color': '#
|
|
12267
|
+
'line-color': '#83a598',
|
|
12213
12268
|
'line-width': {
|
|
12214
12269
|
base: 1,
|
|
12215
12270
|
stops: [
|
|
@@ -13226,9 +13281,9 @@ var MedievalKingdomStyle = {
|
|
|
13226
13281
|
],
|
|
13227
13282
|
};
|
|
13228
13283
|
|
|
13229
|
-
var
|
|
13284
|
+
var medieval_kingdom = {
|
|
13230
13285
|
version: 8,
|
|
13231
|
-
name: '
|
|
13286
|
+
name: 'Medieval Kingdom',
|
|
13232
13287
|
center: [8.542, 47.372],
|
|
13233
13288
|
zoom: 11.6,
|
|
13234
13289
|
bearing: 0,
|
|
@@ -13242,7 +13297,7 @@ var MonokaiStyle = {
|
|
|
13242
13297
|
sprite: config.sprite,
|
|
13243
13298
|
glyphs: config.glyphs,
|
|
13244
13299
|
layers: [
|
|
13245
|
-
{ id: 'background', type: 'background', paint: { 'background-color': '#
|
|
13300
|
+
{ id: 'background', type: 'background', paint: { 'background-color': '#ffd1a8' } },
|
|
13246
13301
|
{
|
|
13247
13302
|
id: 'landcover-glacier',
|
|
13248
13303
|
type: 'fill',
|
|
@@ -13252,7 +13307,7 @@ var MonokaiStyle = {
|
|
|
13252
13307
|
filter: ['==', 'subclass', 'glacier'],
|
|
13253
13308
|
layout: { visibility: 'visible' },
|
|
13254
13309
|
paint: {
|
|
13255
|
-
'fill-color': '#
|
|
13310
|
+
'fill-color': '#228B22',
|
|
13256
13311
|
'fill-opacity': {
|
|
13257
13312
|
base: 1,
|
|
13258
13313
|
stops: [
|
|
@@ -13269,7 +13324,7 @@ var MonokaiStyle = {
|
|
|
13269
13324
|
source: 'openmaptiles',
|
|
13270
13325
|
'source-layer': 'landuse',
|
|
13271
13326
|
filter: ['==', 'class', 'residential'],
|
|
13272
|
-
paint: { 'fill-color': '#
|
|
13327
|
+
paint: { 'fill-color': '#bfa677' },
|
|
13273
13328
|
},
|
|
13274
13329
|
{
|
|
13275
13330
|
id: 'landuse-commercial',
|
|
@@ -13278,7 +13333,7 @@ var MonokaiStyle = {
|
|
|
13278
13333
|
source: 'openmaptiles',
|
|
13279
13334
|
'source-layer': 'landuse',
|
|
13280
13335
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'commercial']],
|
|
13281
|
-
paint: { 'fill-color': '#
|
|
13336
|
+
paint: { 'fill-color': '#c5af85' },
|
|
13282
13337
|
},
|
|
13283
13338
|
{
|
|
13284
13339
|
id: 'landuse-industrial',
|
|
@@ -13287,7 +13342,7 @@ var MonokaiStyle = {
|
|
|
13287
13342
|
source: 'openmaptiles',
|
|
13288
13343
|
'source-layer': 'landuse',
|
|
13289
13344
|
filter: ['all', ['==', '$type', 'Polygon'], ['==', 'class', 'industrial']],
|
|
13290
|
-
paint: { 'fill-color': '#
|
|
13345
|
+
paint: { 'fill-color': '#ccb892' },
|
|
13291
13346
|
},
|
|
13292
13347
|
{
|
|
13293
13348
|
id: 'park',
|
|
@@ -13297,7 +13352,7 @@ var MonokaiStyle = {
|
|
|
13297
13352
|
'source-layer': 'park',
|
|
13298
13353
|
filter: ['==', '$type', 'Polygon'],
|
|
13299
13354
|
paint: {
|
|
13300
|
-
'fill-color': '#
|
|
13355
|
+
'fill-color': '#556B2F',
|
|
13301
13356
|
'fill-opacity': {
|
|
13302
13357
|
base: 1.8,
|
|
13303
13358
|
stops: [
|
|
@@ -13315,7 +13370,7 @@ var MonokaiStyle = {
|
|
|
13315
13370
|
'source-layer': 'park',
|
|
13316
13371
|
filter: ['==', '$type', 'Polygon'],
|
|
13317
13372
|
layout: {},
|
|
13318
|
-
paint: { 'line-color': 'rgba(
|
|
13373
|
+
paint: { 'line-color': 'rgba(85,107,47,0.6)', 'line-dasharray': [3, 3] },
|
|
13319
13374
|
},
|
|
13320
13375
|
{
|
|
13321
13376
|
id: 'landuse-cemetery',
|
|
@@ -13324,7 +13379,7 @@ var MonokaiStyle = {
|
|
|
13324
13379
|
source: 'openmaptiles',
|
|
13325
13380
|
'source-layer': 'landuse',
|
|
13326
13381
|
filter: ['==', 'class', 'cemetery'],
|
|
13327
|
-
paint: { 'fill-color': '#
|
|
13382
|
+
paint: { 'fill-color': '#d1e0b8' },
|
|
13328
13383
|
},
|
|
13329
13384
|
{
|
|
13330
13385
|
id: 'landuse-hospital',
|
|
@@ -13333,7 +13388,7 @@ var MonokaiStyle = {
|
|
|
13333
13388
|
source: 'openmaptiles',
|
|
13334
13389
|
'source-layer': 'landuse',
|
|
13335
13390
|
filter: ['==', 'class', 'hospital'],
|
|
13336
|
-
paint: { 'fill-color': '#
|
|
13391
|
+
paint: { 'fill-color': '#FFC0CB' },
|
|
13337
13392
|
},
|
|
13338
13393
|
{
|
|
13339
13394
|
id: 'landuse-school',
|
|
@@ -13342,7 +13397,7 @@ var MonokaiStyle = {
|
|
|
13342
13397
|
source: 'openmaptiles',
|
|
13343
13398
|
'source-layer': 'landuse',
|
|
13344
13399
|
filter: ['==', 'class', 'school'],
|
|
13345
|
-
paint: { 'fill-color': 'rgba(
|
|
13400
|
+
paint: { 'fill-color': 'rgba(255,192,203,0.8)' },
|
|
13346
13401
|
},
|
|
13347
13402
|
{
|
|
13348
13403
|
id: 'landuse-railway',
|
|
@@ -13351,7 +13406,7 @@ var MonokaiStyle = {
|
|
|
13351
13406
|
source: 'openmaptiles',
|
|
13352
13407
|
'source-layer': 'landuse',
|
|
13353
13408
|
filter: ['==', 'class', 'railway'],
|
|
13354
|
-
paint: { 'fill-color': 'rgba(
|
|
13409
|
+
paint: { 'fill-color': 'rgba(149,46,46,0.4)' },
|
|
13355
13410
|
},
|
|
13356
13411
|
{
|
|
13357
13412
|
id: 'landcover-wood',
|
|
@@ -13361,7 +13416,7 @@ var MonokaiStyle = {
|
|
|
13361
13416
|
'source-layer': 'landcover',
|
|
13362
13417
|
filter: ['==', 'class', 'wood'],
|
|
13363
13418
|
paint: {
|
|
13364
|
-
'fill-color': '#
|
|
13419
|
+
'fill-color': '#228B22',
|
|
13365
13420
|
'fill-opacity': 0.1,
|
|
13366
13421
|
'fill-outline-color': 'hsla(0, 0%, 0%, 0.03)',
|
|
13367
13422
|
'fill-antialias': {
|
|
@@ -13380,7 +13435,7 @@ var MonokaiStyle = {
|
|
|
13380
13435
|
source: 'openmaptiles',
|
|
13381
13436
|
'source-layer': 'landcover',
|
|
13382
13437
|
filter: ['==', 'class', 'grass'],
|
|
13383
|
-
paint: { 'fill-color': '#
|
|
13438
|
+
paint: { 'fill-color': '#556B2F', 'fill-opacity': 1 },
|
|
13384
13439
|
},
|
|
13385
13440
|
{
|
|
13386
13441
|
id: 'landcover-grass-park',
|
|
@@ -13389,7 +13444,7 @@ var MonokaiStyle = {
|
|
|
13389
13444
|
source: 'openmaptiles',
|
|
13390
13445
|
'source-layer': 'park',
|
|
13391
13446
|
filter: ['==', 'class', 'public_park'],
|
|
13392
|
-
paint: { 'fill-color': '#
|
|
13447
|
+
paint: { 'fill-color': '#556B2F', 'fill-opacity': 0.8 },
|
|
13393
13448
|
},
|
|
13394
13449
|
{
|
|
13395
13450
|
id: 'waterway-other',
|
|
@@ -13400,7 +13455,7 @@ var MonokaiStyle = {
|
|
|
13400
13455
|
filter: ['!in', 'class', 'canal', 'river', 'stream'],
|
|
13401
13456
|
layout: { 'line-cap': 'round' },
|
|
13402
13457
|
paint: {
|
|
13403
|
-
'line-color': '#
|
|
13458
|
+
'line-color': '#1E90FF',
|
|
13404
13459
|
'line-width': {
|
|
13405
13460
|
base: 1.3,
|
|
13406
13461
|
stops: [
|
|
@@ -13419,7 +13474,7 @@ var MonokaiStyle = {
|
|
|
13419
13474
|
filter: ['in', 'class', 'canal', 'stream'],
|
|
13420
13475
|
layout: { 'line-cap': 'round' },
|
|
13421
13476
|
paint: {
|
|
13422
|
-
'line-color': '#
|
|
13477
|
+
'line-color': '#1E90FF',
|
|
13423
13478
|
'line-width': {
|
|
13424
13479
|
base: 1.3,
|
|
13425
13480
|
stops: [
|
|
@@ -13438,7 +13493,7 @@ var MonokaiStyle = {
|
|
|
13438
13493
|
filter: ['==', 'class', 'river'],
|
|
13439
13494
|
layout: { 'line-cap': 'round' },
|
|
13440
13495
|
paint: {
|
|
13441
|
-
'line-color': '#
|
|
13496
|
+
'line-color': '#1E90FF',
|
|
13442
13497
|
'line-width': {
|
|
13443
13498
|
base: 1.2,
|
|
13444
13499
|
stops: [
|
|
@@ -13459,7 +13514,7 @@ var MonokaiStyle = {
|
|
|
13459
13514
|
layout: { visibility: 'visible' },
|
|
13460
13515
|
paint: {
|
|
13461
13516
|
'fill-opacity': 1,
|
|
13462
|
-
'fill-color': '#
|
|
13517
|
+
'fill-color': '#1E90FF',
|
|
13463
13518
|
'fill-translate': {
|
|
13464
13519
|
base: 1,
|
|
13465
13520
|
stops: [
|
|
@@ -13476,7 +13531,7 @@ var MonokaiStyle = {
|
|
|
13476
13531
|
source: 'openmaptiles',
|
|
13477
13532
|
'source-layer': 'water',
|
|
13478
13533
|
layout: { visibility: 'visible' },
|
|
13479
|
-
paint: { 'fill-color': '#
|
|
13534
|
+
paint: { 'fill-color': '#006ad1' },
|
|
13480
13535
|
},
|
|
13481
13536
|
{
|
|
13482
13537
|
id: 'water-pattern',
|
|
@@ -13496,7 +13551,7 @@ var MonokaiStyle = {
|
|
|
13496
13551
|
filter: ['==', 'subclass', 'ice_shelf'],
|
|
13497
13552
|
layout: { visibility: 'visible' },
|
|
13498
13553
|
paint: {
|
|
13499
|
-
'fill-color': '#
|
|
13554
|
+
'fill-color': '#228B22',
|
|
13500
13555
|
'fill-opacity': {
|
|
13501
13556
|
base: 1,
|
|
13502
13557
|
stops: [
|
|
@@ -13512,7 +13567,7 @@ var MonokaiStyle = {
|
|
|
13512
13567
|
metadata: { 'mapbox:group': '1444849364238.8171' },
|
|
13513
13568
|
source: 'openmaptiles',
|
|
13514
13569
|
'source-layer': 'building',
|
|
13515
|
-
paint: { 'fill-color': '#
|
|
13570
|
+
paint: { 'fill-color': '#f9e9cb', 'fill-antialias': true },
|
|
13516
13571
|
},
|
|
13517
13572
|
{
|
|
13518
13573
|
id: 'building-top',
|
|
@@ -13530,7 +13585,7 @@ var MonokaiStyle = {
|
|
|
13530
13585
|
],
|
|
13531
13586
|
},
|
|
13532
13587
|
'fill-outline-color': '#dfdbd7',
|
|
13533
|
-
'fill-color': '#
|
|
13588
|
+
'fill-color': '#fefcf9',
|
|
13534
13589
|
'fill-opacity': {
|
|
13535
13590
|
base: 1,
|
|
13536
13591
|
stops: [
|
|
@@ -13549,7 +13604,7 @@ var MonokaiStyle = {
|
|
|
13549
13604
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
13550
13605
|
layout: { 'line-join': 'round' },
|
|
13551
13606
|
paint: {
|
|
13552
|
-
'line-color': '#
|
|
13607
|
+
'line-color': '#CD5C5C',
|
|
13553
13608
|
'line-dasharray': [0.5, 0.25],
|
|
13554
13609
|
'line-width': {
|
|
13555
13610
|
base: 1.2,
|
|
@@ -13570,7 +13625,7 @@ var MonokaiStyle = {
|
|
|
13570
13625
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor']],
|
|
13571
13626
|
layout: { 'line-join': 'round' },
|
|
13572
13627
|
paint: {
|
|
13573
|
-
'line-color': '#
|
|
13628
|
+
'line-color': '#CD5C5C',
|
|
13574
13629
|
'line-opacity': {
|
|
13575
13630
|
stops: [
|
|
13576
13631
|
[12, 0],
|
|
@@ -13597,7 +13652,7 @@ var MonokaiStyle = {
|
|
|
13597
13652
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
13598
13653
|
layout: { 'line-join': 'round' },
|
|
13599
13654
|
paint: {
|
|
13600
|
-
'line-color': '#
|
|
13655
|
+
'line-color': '#CD5C5C',
|
|
13601
13656
|
'line-opacity': 1,
|
|
13602
13657
|
'line-width': {
|
|
13603
13658
|
base: 1.2,
|
|
@@ -13617,7 +13672,7 @@ var MonokaiStyle = {
|
|
|
13617
13672
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
13618
13673
|
layout: { 'line-join': 'round' },
|
|
13619
13674
|
paint: {
|
|
13620
|
-
'line-color': '#
|
|
13675
|
+
'line-color': '#CD5C5C',
|
|
13621
13676
|
'line-width': {
|
|
13622
13677
|
base: 1.2,
|
|
13623
13678
|
stops: [
|
|
@@ -13638,7 +13693,7 @@ var MonokaiStyle = {
|
|
|
13638
13693
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
13639
13694
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
13640
13695
|
paint: {
|
|
13641
|
-
'line-color': '#
|
|
13696
|
+
'line-color': '#CD5C5C',
|
|
13642
13697
|
'line-dasharray': [0.5, 0.25],
|
|
13643
13698
|
'line-width': {
|
|
13644
13699
|
base: 1.2,
|
|
@@ -13663,7 +13718,7 @@ var MonokaiStyle = {
|
|
|
13663
13718
|
['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'path']],
|
|
13664
13719
|
],
|
|
13665
13720
|
paint: {
|
|
13666
|
-
'line-color': '#
|
|
13721
|
+
'line-color': '#d98383',
|
|
13667
13722
|
'line-dasharray': [1.5, 0.75],
|
|
13668
13723
|
'line-width': {
|
|
13669
13724
|
base: 1.2,
|
|
@@ -13683,7 +13738,7 @@ var MonokaiStyle = {
|
|
|
13683
13738
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'service', 'track']],
|
|
13684
13739
|
layout: { 'line-join': 'round' },
|
|
13685
13740
|
paint: {
|
|
13686
|
-
'line-color': '#
|
|
13741
|
+
'line-color': '#d98383',
|
|
13687
13742
|
'line-width': {
|
|
13688
13743
|
base: 1.2,
|
|
13689
13744
|
stops: [
|
|
@@ -13703,7 +13758,7 @@ var MonokaiStyle = {
|
|
|
13703
13758
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'minor_road']],
|
|
13704
13759
|
layout: { 'line-join': 'round' },
|
|
13705
13760
|
paint: {
|
|
13706
|
-
'line-color': '#
|
|
13761
|
+
'line-color': '#d98383',
|
|
13707
13762
|
'line-opacity': 1,
|
|
13708
13763
|
'line-width': {
|
|
13709
13764
|
base: 1.2,
|
|
@@ -13724,7 +13779,7 @@ var MonokaiStyle = {
|
|
|
13724
13779
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'secondary', 'tertiary']],
|
|
13725
13780
|
layout: { 'line-join': 'round' },
|
|
13726
13781
|
paint: {
|
|
13727
|
-
'line-color': '#
|
|
13782
|
+
'line-color': '#df9797',
|
|
13728
13783
|
'line-width': {
|
|
13729
13784
|
base: 1.2,
|
|
13730
13785
|
stops: [
|
|
@@ -13744,7 +13799,7 @@ var MonokaiStyle = {
|
|
|
13744
13799
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['in', 'class', 'primary', 'trunk']],
|
|
13745
13800
|
layout: { 'line-join': 'round' },
|
|
13746
13801
|
paint: {
|
|
13747
|
-
'line-color': '#
|
|
13802
|
+
'line-color': '#CD5C5C',
|
|
13748
13803
|
'line-width': {
|
|
13749
13804
|
base: 1.2,
|
|
13750
13805
|
stops: [
|
|
@@ -13764,7 +13819,7 @@ var MonokaiStyle = {
|
|
|
13764
13819
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'motorway']],
|
|
13765
13820
|
layout: { 'line-join': 'round', visibility: 'visible' },
|
|
13766
13821
|
paint: {
|
|
13767
|
-
'line-color': 'rgba(
|
|
13822
|
+
'line-color': 'rgba(139,94,6,0.8)',
|
|
13768
13823
|
'line-width': {
|
|
13769
13824
|
base: 1.2,
|
|
13770
13825
|
stops: [
|
|
@@ -13783,7 +13838,7 @@ var MonokaiStyle = {
|
|
|
13783
13838
|
'source-layer': 'transportation',
|
|
13784
13839
|
filter: ['all', ['==', 'brunnel', 'tunnel'], ['==', 'class', 'rail']],
|
|
13785
13840
|
paint: {
|
|
13786
|
-
'line-color': '#
|
|
13841
|
+
'line-color': '#952e2e',
|
|
13787
13842
|
'line-width': {
|
|
13788
13843
|
base: 1.4,
|
|
13789
13844
|
stops: [
|
|
@@ -13805,7 +13860,7 @@ var MonokaiStyle = {
|
|
|
13805
13860
|
filter: ['all', ['in', 'class', 'taxiway']],
|
|
13806
13861
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
13807
13862
|
paint: {
|
|
13808
|
-
'line-color': '#
|
|
13863
|
+
'line-color': '#952e2e',
|
|
13809
13864
|
'line-width': {
|
|
13810
13865
|
base: 1.5,
|
|
13811
13866
|
stops: [
|
|
@@ -13826,7 +13881,7 @@ var MonokaiStyle = {
|
|
|
13826
13881
|
filter: ['all', ['in', 'class', 'runway']],
|
|
13827
13882
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
13828
13883
|
paint: {
|
|
13829
|
-
'line-color': '#
|
|
13884
|
+
'line-color': '#952e2e',
|
|
13830
13885
|
'line-width': {
|
|
13831
13886
|
base: 1.5,
|
|
13832
13887
|
stops: [
|
|
@@ -13854,7 +13909,7 @@ var MonokaiStyle = {
|
|
|
13854
13909
|
[14, 1],
|
|
13855
13910
|
],
|
|
13856
13911
|
},
|
|
13857
|
-
'fill-color': 'rgba(
|
|
13912
|
+
'fill-color': 'rgba(205,92,92,0.5)',
|
|
13858
13913
|
},
|
|
13859
13914
|
},
|
|
13860
13915
|
{
|
|
@@ -13867,7 +13922,7 @@ var MonokaiStyle = {
|
|
|
13867
13922
|
filter: ['all', ['in', 'class', 'taxiway'], ['==', '$type', 'LineString']],
|
|
13868
13923
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
13869
13924
|
paint: {
|
|
13870
|
-
'line-color': '#
|
|
13925
|
+
'line-color': '#df9797',
|
|
13871
13926
|
'line-width': {
|
|
13872
13927
|
base: 1.5,
|
|
13873
13928
|
stops: [
|
|
@@ -13894,7 +13949,7 @@ var MonokaiStyle = {
|
|
|
13894
13949
|
filter: ['all', ['in', 'class', 'runway'], ['==', '$type', 'LineString']],
|
|
13895
13950
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
13896
13951
|
paint: {
|
|
13897
|
-
'line-color': '#
|
|
13952
|
+
'line-color': '#df9797',
|
|
13898
13953
|
'line-width': {
|
|
13899
13954
|
base: 1.5,
|
|
13900
13955
|
stops: [
|
|
@@ -13920,7 +13975,7 @@ var MonokaiStyle = {
|
|
|
13920
13975
|
filter: ['==', '$type', 'Polygon'],
|
|
13921
13976
|
layout: { visibility: 'visible' },
|
|
13922
13977
|
paint: {
|
|
13923
|
-
'fill-color': '#
|
|
13978
|
+
'fill-color': '#bc3a3a',
|
|
13924
13979
|
'fill-outline-color': '#cfcdca',
|
|
13925
13980
|
'fill-opacity': 0.9,
|
|
13926
13981
|
'fill-antialias': false,
|
|
@@ -13936,7 +13991,7 @@ var MonokaiStyle = {
|
|
|
13936
13991
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
13937
13992
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
13938
13993
|
paint: {
|
|
13939
|
-
'line-color': '#
|
|
13994
|
+
'line-color': '#CD5C5C',
|
|
13940
13995
|
'line-opacity': 1,
|
|
13941
13996
|
'line-width': {
|
|
13942
13997
|
base: 1.2,
|
|
@@ -13963,7 +14018,7 @@ var MonokaiStyle = {
|
|
|
13963
14018
|
],
|
|
13964
14019
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
13965
14020
|
paint: {
|
|
13966
|
-
'line-color': '#
|
|
14021
|
+
'line-color': '#CD5C5C',
|
|
13967
14022
|
'line-opacity': 1,
|
|
13968
14023
|
'line-width': {
|
|
13969
14024
|
base: 1.2,
|
|
@@ -13989,7 +14044,7 @@ var MonokaiStyle = {
|
|
|
13989
14044
|
],
|
|
13990
14045
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
13991
14046
|
paint: {
|
|
13992
|
-
'line-color': 'rgba(
|
|
14047
|
+
'line-color': 'rgba(205,92,92,0.8)',
|
|
13993
14048
|
'line-opacity': {
|
|
13994
14049
|
stops: [
|
|
13995
14050
|
[12, 0],
|
|
@@ -14020,7 +14075,7 @@ var MonokaiStyle = {
|
|
|
14020
14075
|
],
|
|
14021
14076
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14022
14077
|
paint: {
|
|
14023
|
-
'line-color': '#
|
|
14078
|
+
'line-color': '#CD5C5C',
|
|
14024
14079
|
'line-opacity': 1,
|
|
14025
14080
|
'line-width': {
|
|
14026
14081
|
base: 1.2,
|
|
@@ -14041,7 +14096,7 @@ var MonokaiStyle = {
|
|
|
14041
14096
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'primary']],
|
|
14042
14097
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14043
14098
|
paint: {
|
|
14044
|
-
'line-color': '#
|
|
14099
|
+
'line-color': '#CD5C5C',
|
|
14045
14100
|
'line-opacity': {
|
|
14046
14101
|
stops: [
|
|
14047
14102
|
[7, 0],
|
|
@@ -14069,7 +14124,7 @@ var MonokaiStyle = {
|
|
|
14069
14124
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['in', 'class', 'trunk']],
|
|
14070
14125
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14071
14126
|
paint: {
|
|
14072
|
-
'line-color': '#
|
|
14127
|
+
'line-color': '#CD5C5C',
|
|
14073
14128
|
'line-opacity': {
|
|
14074
14129
|
stops: [
|
|
14075
14130
|
[5, 0],
|
|
@@ -14097,7 +14152,7 @@ var MonokaiStyle = {
|
|
|
14097
14152
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway']],
|
|
14098
14153
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14099
14154
|
paint: {
|
|
14100
|
-
'line-color': '#
|
|
14155
|
+
'line-color': '#CD5C5C',
|
|
14101
14156
|
'line-width': {
|
|
14102
14157
|
base: 1.2,
|
|
14103
14158
|
stops: [
|
|
@@ -14128,7 +14183,7 @@ var MonokaiStyle = {
|
|
|
14128
14183
|
['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'path']],
|
|
14129
14184
|
],
|
|
14130
14185
|
paint: {
|
|
14131
|
-
'line-color': '#
|
|
14186
|
+
'line-color': '#FFC0CB',
|
|
14132
14187
|
'line-dasharray': [1.5, 0.75],
|
|
14133
14188
|
'line-width': {
|
|
14134
14189
|
base: 1.2,
|
|
@@ -14149,7 +14204,7 @@ var MonokaiStyle = {
|
|
|
14149
14204
|
filter: ['all', ['!in', 'brunnel', 'bridge', 'tunnel'], ['==', 'class', 'motorway_link']],
|
|
14150
14205
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
14151
14206
|
paint: {
|
|
14152
|
-
'line-color': '#
|
|
14207
|
+
'line-color': '#8b5e3c',
|
|
14153
14208
|
'line-width': {
|
|
14154
14209
|
base: 1.2,
|
|
14155
14210
|
stops: [
|
|
@@ -14175,7 +14230,7 @@ var MonokaiStyle = {
|
|
|
14175
14230
|
],
|
|
14176
14231
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14177
14232
|
paint: {
|
|
14178
|
-
'line-color': '#
|
|
14233
|
+
'line-color': '#8B5E3C',
|
|
14179
14234
|
'line-width': {
|
|
14180
14235
|
base: 1.2,
|
|
14181
14236
|
stops: [
|
|
@@ -14200,7 +14255,7 @@ var MonokaiStyle = {
|
|
|
14200
14255
|
],
|
|
14201
14256
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
14202
14257
|
paint: {
|
|
14203
|
-
'line-color': '#
|
|
14258
|
+
'line-color': '#e5aaaa',
|
|
14204
14259
|
'line-opacity': 1,
|
|
14205
14260
|
'line-width': {
|
|
14206
14261
|
base: 1.2,
|
|
@@ -14225,7 +14280,7 @@ var MonokaiStyle = {
|
|
|
14225
14280
|
],
|
|
14226
14281
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14227
14282
|
paint: {
|
|
14228
|
-
'line-color': '#
|
|
14283
|
+
'line-color': '#8B5E3C',
|
|
14229
14284
|
'line-width': {
|
|
14230
14285
|
base: 1.2,
|
|
14231
14286
|
stops: [
|
|
@@ -14249,7 +14304,7 @@ var MonokaiStyle = {
|
|
|
14249
14304
|
],
|
|
14250
14305
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14251
14306
|
paint: {
|
|
14252
|
-
'line-color': '#
|
|
14307
|
+
'line-color': '#8B5E3C',
|
|
14253
14308
|
'line-width': {
|
|
14254
14309
|
base: 1.2,
|
|
14255
14310
|
stops: [
|
|
@@ -14273,7 +14328,7 @@ var MonokaiStyle = {
|
|
|
14273
14328
|
],
|
|
14274
14329
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14275
14330
|
paint: {
|
|
14276
|
-
'line-color': '#
|
|
14331
|
+
'line-color': '#8B5E3C',
|
|
14277
14332
|
'line-width': {
|
|
14278
14333
|
base: 1.2,
|
|
14279
14334
|
stops: [
|
|
@@ -14298,7 +14353,7 @@ var MonokaiStyle = {
|
|
|
14298
14353
|
],
|
|
14299
14354
|
layout: { 'line-cap': 'round', 'line-join': 'round', visibility: 'visible' },
|
|
14300
14355
|
paint: {
|
|
14301
|
-
'line-color': '#
|
|
14356
|
+
'line-color': '#8b5e3c',
|
|
14302
14357
|
'line-width': {
|
|
14303
14358
|
base: 1.2,
|
|
14304
14359
|
stops: [
|
|
@@ -14321,7 +14376,7 @@ var MonokaiStyle = {
|
|
|
14321
14376
|
['all', ['==', 'class', 'rail'], ['has', 'service']],
|
|
14322
14377
|
],
|
|
14323
14378
|
paint: {
|
|
14324
|
-
'line-color': 'rgba(
|
|
14379
|
+
'line-color': 'rgba(149,46,46,0.7)',
|
|
14325
14380
|
'line-width': {
|
|
14326
14381
|
base: 1.4,
|
|
14327
14382
|
stops: [
|
|
@@ -14344,7 +14399,7 @@ var MonokaiStyle = {
|
|
|
14344
14399
|
],
|
|
14345
14400
|
layout: { visibility: 'visible' },
|
|
14346
14401
|
paint: {
|
|
14347
|
-
'line-color': 'rgba(
|
|
14402
|
+
'line-color': 'rgba(149,46,46,0.7)',
|
|
14348
14403
|
'line-dasharray': [0.2, 8],
|
|
14349
14404
|
'line-width': {
|
|
14350
14405
|
base: 1.4,
|
|
@@ -14373,7 +14428,7 @@ var MonokaiStyle = {
|
|
|
14373
14428
|
],
|
|
14374
14429
|
],
|
|
14375
14430
|
paint: {
|
|
14376
|
-
'line-color': '#
|
|
14431
|
+
'line-color': '#952e2e',
|
|
14377
14432
|
'line-width': {
|
|
14378
14433
|
base: 1.4,
|
|
14379
14434
|
stops: [
|
|
@@ -14401,7 +14456,7 @@ var MonokaiStyle = {
|
|
|
14401
14456
|
],
|
|
14402
14457
|
],
|
|
14403
14458
|
paint: {
|
|
14404
|
-
'line-color': '#
|
|
14459
|
+
'line-color': '#952e2e',
|
|
14405
14460
|
'line-dasharray': [0.2, 8],
|
|
14406
14461
|
'line-width': {
|
|
14407
14462
|
base: 1.4,
|
|
@@ -14422,7 +14477,7 @@ var MonokaiStyle = {
|
|
|
14422
14477
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
14423
14478
|
layout: { 'line-join': 'round' },
|
|
14424
14479
|
paint: {
|
|
14425
|
-
'line-color': '#
|
|
14480
|
+
'line-color': '#CD5C5C',
|
|
14426
14481
|
'line-opacity': 1,
|
|
14427
14482
|
'line-width': {
|
|
14428
14483
|
base: 1.2,
|
|
@@ -14448,7 +14503,7 @@ var MonokaiStyle = {
|
|
|
14448
14503
|
],
|
|
14449
14504
|
layout: { 'line-join': 'round' },
|
|
14450
14505
|
paint: {
|
|
14451
|
-
'line-color': '#
|
|
14506
|
+
'line-color': '#CD5C5C',
|
|
14452
14507
|
'line-opacity': 1,
|
|
14453
14508
|
'line-width': {
|
|
14454
14509
|
base: 1.2,
|
|
@@ -14470,7 +14525,7 @@ var MonokaiStyle = {
|
|
|
14470
14525
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
14471
14526
|
layout: { 'line-join': 'round' },
|
|
14472
14527
|
paint: {
|
|
14473
|
-
'line-color': '#
|
|
14528
|
+
'line-color': '#CD5C5C',
|
|
14474
14529
|
'line-opacity': 1,
|
|
14475
14530
|
'line-width': {
|
|
14476
14531
|
base: 1.2,
|
|
@@ -14490,7 +14545,7 @@ var MonokaiStyle = {
|
|
|
14490
14545
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
14491
14546
|
layout: { 'line-join': 'round' },
|
|
14492
14547
|
paint: {
|
|
14493
|
-
'line-color': '#
|
|
14548
|
+
'line-color': '#CD5C5C',
|
|
14494
14549
|
'line-width': {
|
|
14495
14550
|
base: 1.2,
|
|
14496
14551
|
stops: [
|
|
@@ -14511,7 +14566,7 @@ var MonokaiStyle = {
|
|
|
14511
14566
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
14512
14567
|
layout: { 'line-join': 'round' },
|
|
14513
14568
|
paint: {
|
|
14514
|
-
'line-color': '#
|
|
14569
|
+
'line-color': '#CD5C5C',
|
|
14515
14570
|
'line-width': {
|
|
14516
14571
|
base: 1.2,
|
|
14517
14572
|
stops: [
|
|
@@ -14535,7 +14590,7 @@ var MonokaiStyle = {
|
|
|
14535
14590
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
14536
14591
|
],
|
|
14537
14592
|
paint: {
|
|
14538
|
-
'line-color': '#
|
|
14593
|
+
'line-color': '#d98383',
|
|
14539
14594
|
'line-width': {
|
|
14540
14595
|
base: 1.2,
|
|
14541
14596
|
stops: [
|
|
@@ -14557,7 +14612,7 @@ var MonokaiStyle = {
|
|
|
14557
14612
|
['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'path']],
|
|
14558
14613
|
],
|
|
14559
14614
|
paint: {
|
|
14560
|
-
'line-color': '#
|
|
14615
|
+
'line-color': '#FFC0CB',
|
|
14561
14616
|
'line-width': {
|
|
14562
14617
|
base: 1.2,
|
|
14563
14618
|
stops: [
|
|
@@ -14577,7 +14632,7 @@ var MonokaiStyle = {
|
|
|
14577
14632
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway_link']],
|
|
14578
14633
|
layout: { 'line-join': 'round' },
|
|
14579
14634
|
paint: {
|
|
14580
|
-
'line-color': '#
|
|
14635
|
+
'line-color': '#8b5e3c',
|
|
14581
14636
|
'line-width': {
|
|
14582
14637
|
base: 1.2,
|
|
14583
14638
|
stops: [
|
|
@@ -14602,7 +14657,7 @@ var MonokaiStyle = {
|
|
|
14602
14657
|
],
|
|
14603
14658
|
layout: { 'line-join': 'round' },
|
|
14604
14659
|
paint: {
|
|
14605
|
-
'line-color': '#
|
|
14660
|
+
'line-color': '#8B5E3C',
|
|
14606
14661
|
'line-width': {
|
|
14607
14662
|
base: 1.2,
|
|
14608
14663
|
stops: [
|
|
@@ -14623,7 +14678,7 @@ var MonokaiStyle = {
|
|
|
14623
14678
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'secondary', 'tertiary']],
|
|
14624
14679
|
layout: { 'line-join': 'round' },
|
|
14625
14680
|
paint: {
|
|
14626
|
-
'line-color': '#
|
|
14681
|
+
'line-color': '#8B5E3C',
|
|
14627
14682
|
'line-width': {
|
|
14628
14683
|
base: 1.2,
|
|
14629
14684
|
stops: [
|
|
@@ -14643,7 +14698,7 @@ var MonokaiStyle = {
|
|
|
14643
14698
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['in', 'class', 'primary', 'trunk']],
|
|
14644
14699
|
layout: { 'line-join': 'round' },
|
|
14645
14700
|
paint: {
|
|
14646
|
-
'line-color': '#
|
|
14701
|
+
'line-color': '#8B5E3C',
|
|
14647
14702
|
'line-width': {
|
|
14648
14703
|
base: 1.2,
|
|
14649
14704
|
stops: [
|
|
@@ -14663,7 +14718,7 @@ var MonokaiStyle = {
|
|
|
14663
14718
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'motorway']],
|
|
14664
14719
|
layout: { 'line-join': 'round' },
|
|
14665
14720
|
paint: {
|
|
14666
|
-
'line-color': '#
|
|
14721
|
+
'line-color': '#8b5e3c',
|
|
14667
14722
|
'line-width': {
|
|
14668
14723
|
base: 1.2,
|
|
14669
14724
|
stops: [
|
|
@@ -14682,7 +14737,7 @@ var MonokaiStyle = {
|
|
|
14682
14737
|
'source-layer': 'transportation',
|
|
14683
14738
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
14684
14739
|
paint: {
|
|
14685
|
-
'line-color': '#
|
|
14740
|
+
'line-color': '#952e2e',
|
|
14686
14741
|
'line-width': {
|
|
14687
14742
|
base: 1.4,
|
|
14688
14743
|
stops: [
|
|
@@ -14701,7 +14756,7 @@ var MonokaiStyle = {
|
|
|
14701
14756
|
'source-layer': 'transportation',
|
|
14702
14757
|
filter: ['all', ['==', 'brunnel', 'bridge'], ['==', 'class', 'rail']],
|
|
14703
14758
|
paint: {
|
|
14704
|
-
'line-color': '#
|
|
14759
|
+
'line-color': '#952e2e',
|
|
14705
14760
|
'line-dasharray': [0.2, 8],
|
|
14706
14761
|
'line-width': {
|
|
14707
14762
|
base: 1.4,
|
|
@@ -14721,7 +14776,7 @@ var MonokaiStyle = {
|
|
|
14721
14776
|
filter: ['all', ['in', 'admin_level', 4, 6, 8], ['!=', 'maritime', 1]],
|
|
14722
14777
|
layout: { 'line-join': 'round' },
|
|
14723
14778
|
paint: {
|
|
14724
|
-
'line-color': '#
|
|
14779
|
+
'line-color': '#A0522D',
|
|
14725
14780
|
'line-dasharray': [3, 1, 1, 1],
|
|
14726
14781
|
'line-width': {
|
|
14727
14782
|
base: 1.4,
|
|
@@ -14741,7 +14796,7 @@ var MonokaiStyle = {
|
|
|
14741
14796
|
filter: ['all', ['==', 'admin_level', 2], ['!=', 'maritime', 1]],
|
|
14742
14797
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
14743
14798
|
paint: {
|
|
14744
|
-
'line-color': '#
|
|
14799
|
+
'line-color': '#A0522D',
|
|
14745
14800
|
'line-width': {
|
|
14746
14801
|
base: 1,
|
|
14747
14802
|
stops: [
|
|
@@ -14761,7 +14816,7 @@ var MonokaiStyle = {
|
|
|
14761
14816
|
filter: ['all', ['in', 'admin_level', 2, 4], ['==', 'maritime', 1]],
|
|
14762
14817
|
layout: { 'line-cap': 'round', 'line-join': 'round' },
|
|
14763
14818
|
paint: {
|
|
14764
|
-
'line-color': '#
|
|
14819
|
+
'line-color': '#1E90FF',
|
|
14765
14820
|
'line-width': {
|
|
14766
14821
|
base: 1,
|
|
14767
14822
|
stops: [
|
|
@@ -15778,7 +15833,7 @@ var MonokaiStyle = {
|
|
|
15778
15833
|
],
|
|
15779
15834
|
};
|
|
15780
15835
|
|
|
15781
|
-
var
|
|
15836
|
+
var oceanic_next = {
|
|
15782
15837
|
version: 8,
|
|
15783
15838
|
name: 'Oceanic Next',
|
|
15784
15839
|
center: [8.542, 47.372],
|
|
@@ -18330,7 +18385,7 @@ var OceanicNextStyle = {
|
|
|
18330
18385
|
],
|
|
18331
18386
|
};
|
|
18332
18387
|
|
|
18333
|
-
var
|
|
18388
|
+
var solarized = {
|
|
18334
18389
|
version: 8,
|
|
18335
18390
|
name: 'Solarized',
|
|
18336
18391
|
center: [8.542, 47.372],
|
|
@@ -20889,12 +20944,13 @@ exports.ConfirmDialog = ConfirmDialog;
|
|
|
20889
20944
|
exports.GeoJsonContext = GeoJsonContext;
|
|
20890
20945
|
exports.GeoJsonLayerForm = GeoJsonLayerForm;
|
|
20891
20946
|
exports.GeoJsonProvider = GeoJsonProvider;
|
|
20892
|
-
exports.GruvboxStyle =
|
|
20947
|
+
exports.GruvboxStyle = gruvbox;
|
|
20893
20948
|
exports.LayerContext = LayerContext;
|
|
20894
20949
|
exports.LayerContextProvider = LayerContextProvider;
|
|
20895
20950
|
exports.LayerList = LayerList;
|
|
20896
20951
|
exports.LayerListFolder = LayerListFolder;
|
|
20897
20952
|
exports.LayerListItem = LayerListItem;
|
|
20953
|
+
exports.LayerListItemFactory = LayerListItemFactory;
|
|
20898
20954
|
exports.LayerListItemVectorLayer = LayerListItemVectorLayer;
|
|
20899
20955
|
exports.LayerPropertyForm = LayerPropertyForm;
|
|
20900
20956
|
exports.LayerTypeForm = LayerTypeForm;
|
|
@@ -20902,7 +20958,7 @@ exports.MapComponentsProvider = MapComponentsProvider;
|
|
|
20902
20958
|
exports.MapContext = MapContext;
|
|
20903
20959
|
exports.MapLibreGlWrapper = MapLibreGlWrapper;
|
|
20904
20960
|
exports.MapLibreMap = MapLibreMap;
|
|
20905
|
-
exports.MedievalKingdomStyle =
|
|
20961
|
+
exports.MedievalKingdomStyle = medieval_kingdom;
|
|
20906
20962
|
exports.MlBasicComponent = MlBasicComponent;
|
|
20907
20963
|
exports.MlCenterPosition = MlCenterPosition;
|
|
20908
20964
|
exports.MlComponentTemplate = MlComponentTemplate;
|
|
@@ -20933,8 +20989,8 @@ exports.MlVectorTileLayer = MlVectorTileLayer;
|
|
|
20933
20989
|
exports.MlWmsFeatureInfoPopup = MlWmsFeatureInfoPopup;
|
|
20934
20990
|
exports.MlWmsLayer = MlWmsLayer;
|
|
20935
20991
|
exports.MlWmsLoader = MlWmsLoader;
|
|
20936
|
-
exports.MonokaiStyle =
|
|
20937
|
-
exports.OceanicNextStyle =
|
|
20992
|
+
exports.MonokaiStyle = GruvboxStyle;
|
|
20993
|
+
exports.OceanicNextStyle = oceanic_next;
|
|
20938
20994
|
exports.PdfContext = PdfContext;
|
|
20939
20995
|
exports.PdfForm = PdfForm;
|
|
20940
20996
|
exports.SelectStyleButton = SelectStyleButton;
|
|
@@ -20942,7 +20998,7 @@ exports.SelectStylePopup = SelectStylePopup;
|
|
|
20942
20998
|
exports.Sidebar = Sidebar;
|
|
20943
20999
|
exports.SimpleDataContext = SimpleDataContext;
|
|
20944
21000
|
exports.SimpleDataProvider = SimpleDataProvider;
|
|
20945
|
-
exports.SolarizedStyle =
|
|
21001
|
+
exports.SolarizedStyle = solarized;
|
|
20946
21002
|
exports.TopToolbar = TopToolbar;
|
|
20947
21003
|
exports.UploadButton = UploadButton;
|
|
20948
21004
|
exports.WmsLayerForm = WmsLayerForm;
|