This commit is contained in:
1039
node_modules/ol-mapbox-style/dist/examples/data/geojson-inline.json
generated
vendored
Normal file
1039
node_modules/ol-mapbox-style/dist/examples/data/geojson-inline.json
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
84
node_modules/ol-mapbox-style/dist/examples/data/geojson.json
generated
vendored
Normal file
84
node_modules/ol-mapbox-style/dist/examples/data/geojson.json
generated
vendored
Normal file
@@ -0,0 +1,84 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "states",
|
||||
"center": [-122.19952899999998, 51.920367528011525],
|
||||
"zoom": 3,
|
||||
"glyphs": "{fontstack}/{range}",
|
||||
"sources": {
|
||||
"states": {
|
||||
"type": "geojson",
|
||||
"data": "./states.geojson"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "rgba(0,0,0,0)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "population_lt_2m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": ["<=", "PERSONS", 2000000],
|
||||
"paint": {
|
||||
"fill-color": "#A6CEE3",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "2m_lt_population_lte_4m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": ["all", [">", "PERSONS", 2000000], ["<=", "PERSONS", 4000000]],
|
||||
"paint": {
|
||||
"fill-color": "#0F78B4",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "population_gt_4m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": [">", "PERSONS", 4000000],
|
||||
"paint": {
|
||||
"fill-color": "#B2DF8A",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_outlines",
|
||||
"type": "line",
|
||||
"source": "states",
|
||||
"paint": {
|
||||
"line-color": "#8cadbf",
|
||||
"line-width": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_abbreviations",
|
||||
"type": "symbol",
|
||||
"source": "states",
|
||||
"minzoom": 4,
|
||||
"maxzoom": 5,
|
||||
"layout": {
|
||||
"text-field": "{STATE_ABBR}",
|
||||
"text-size": 12,
|
||||
"text-font": ["Arial Normal", "sans-serif Normal"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_names",
|
||||
"type": "symbol",
|
||||
"source": "states",
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"text-field": ["concat", ["get", "STATE_ABBR"], "\n", ["get", "STATE_NAME"]],
|
||||
"text-size": 12,
|
||||
"text-font": ["Arial Normal", "sans-serif Normal"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
1
node_modules/ol-mapbox-style/dist/examples/data/sprites.json
generated
vendored
Normal file
1
node_modules/ol-mapbox-style/dist/examples/data/sprites.json
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"accommodation_camping": {"y": 0, "width": 20, "pixelRatio": 1, "x": 0, "height": 20}, "amenity_firestation": {"y": 0, "width": 50, "pixelRatio": 1, "x": 20, "height": 50}}
|
||||
BIN
node_modules/ol-mapbox-style/dist/examples/data/sprites.png
generated
vendored
Normal file
BIN
node_modules/ol-mapbox-style/dist/examples/data/sprites.png
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
1
node_modules/ol-mapbox-style/dist/examples/data/sprites@2x.json
generated
vendored
Normal file
1
node_modules/ol-mapbox-style/dist/examples/data/sprites@2x.json
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"accommodation_camping": {"y": 0, "width": 40, "pixelRatio": 2, "x": 0, "height": 40}, "amenity_firestation": {"y": 0, "width": 100, "pixelRatio": 2, "x": 40, "height": 100}}
|
||||
BIN
node_modules/ol-mapbox-style/dist/examples/data/sprites@2x.png
generated
vendored
Normal file
BIN
node_modules/ol-mapbox-style/dist/examples/data/sprites@2x.png
generated
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.4 KiB |
11807
node_modules/ol-mapbox-style/dist/examples/data/states.geojson
generated
vendored
Normal file
11807
node_modules/ol-mapbox-style/dist/examples/data/states.geojson
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
82
node_modules/ol-mapbox-style/dist/examples/data/states.json
generated
vendored
Normal file
82
node_modules/ol-mapbox-style/dist/examples/data/states.json
generated
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "states",
|
||||
"glyphs": "{fontstack}/{range}",
|
||||
"sources": {
|
||||
"states": {
|
||||
"type": "geojson",
|
||||
"data": "./states.geojson"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "rgba(0,0,0,0)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "population_lt_2m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": ["<=", "PERSONS", 2000000],
|
||||
"paint": {
|
||||
"fill-color": "#A6CEE3",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "2m_lt_population_lte_4m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": ["all", [">", "PERSONS", 2000000], ["<=", "PERSONS", 4000000]],
|
||||
"paint": {
|
||||
"fill-color": "#0F78B4",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "population_gt_4m",
|
||||
"type": "fill",
|
||||
"source": "states",
|
||||
"filter": [">", "PERSONS", 4000000],
|
||||
"paint": {
|
||||
"fill-color": "#B2DF8A",
|
||||
"fill-opacity": 0.7
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_outlines",
|
||||
"type": "line",
|
||||
"source": "states",
|
||||
"paint": {
|
||||
"line-color": "#8cadbf",
|
||||
"line-width": 0.1
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_abbreviations",
|
||||
"type": "symbol",
|
||||
"source": "states",
|
||||
"minzoom": 4,
|
||||
"maxzoom": 5,
|
||||
"layout": {
|
||||
"text-field": "{STATE_ABBR}",
|
||||
"text-size": 12,
|
||||
"text-font": ["Arial Normal", "sans-serif Normal"]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "state_names",
|
||||
"type": "symbol",
|
||||
"source": "states",
|
||||
"minzoom": 5,
|
||||
"layout": {
|
||||
"text-field": ["concat", ["get", "STATE_ABBR"], "\n", ["get", "STATE_NAME"]],
|
||||
"text-size": 12,
|
||||
"text-font": ["Arial Normal", "sans-serif Normal"]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
26
node_modules/ol-mapbox-style/dist/examples/data/tilejson.json
generated
vendored
Normal file
26
node_modules/ol-mapbox-style/dist/examples/data/tilejson.json
generated
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "tilejson",
|
||||
"center": [0, 0],
|
||||
"zoom": 2,
|
||||
"sources": {
|
||||
"tilejson": {
|
||||
"type": "raster",
|
||||
"url": "https://a.tiles.mapbox.com/v3/aj.1x1-degrees.json"
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "rgba(0,0,0,0)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "tilejson-layer",
|
||||
"type": "raster",
|
||||
"source": "tilejson"
|
||||
}
|
||||
]
|
||||
}
|
||||
43
node_modules/ol-mapbox-style/dist/examples/data/wms.json
generated
vendored
Normal file
43
node_modules/ol-mapbox-style/dist/examples/data/wms.json
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"version": 8,
|
||||
"name": "states-wms",
|
||||
"center": [-98.78906130124426, 37.92686191312036],
|
||||
"zoom": 4,
|
||||
"sources": {
|
||||
"osm": {
|
||||
"type": "raster",
|
||||
"attribution": "© <a href=\"https://www.openstreetmap.org/copyright\">OpenStreetMap</a> contributors.",
|
||||
"tileSize": 256,
|
||||
"tiles": [
|
||||
"https://a.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
||||
"https://b.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
||||
"https://c.tile.openstreetmap.org/{z}/{x}/{y}.png"
|
||||
]
|
||||
},
|
||||
"states": {
|
||||
"type": "raster",
|
||||
"maxzoom": 12,
|
||||
"tileSize": 256,
|
||||
"tiles": ["https://ahocevar.com/geoserver/gwc/service/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image/png&SRS=EPSG:900913&LAYERS=topp:states&STYLES=&WIDTH=256&HEIGHT=256&BBOX={bbox-epsg-3857}"]
|
||||
}
|
||||
},
|
||||
"layers": [
|
||||
{
|
||||
"id": "background",
|
||||
"type": "background",
|
||||
"paint": {
|
||||
"background-color": "rgba(0,0,0,0)"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "osm",
|
||||
"type": "raster",
|
||||
"source": "osm"
|
||||
},
|
||||
{
|
||||
"id": "states-wms",
|
||||
"type": "raster",
|
||||
"source": "states"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user