Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 962774e

Browse filesBrowse files
committed
add styles
1 parent 099ee56 commit 962774e
Copy full SHA for 962774e

File tree

Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-5
lines changed

‎src/plots/mapbox/constants.js

Copy file name to clipboardExpand all lines: src/plots/mapbox/constants.js
+4-5Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,16 @@ var stamenWaterColor = [
3131
var cartoPositron = 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json';
3232
var cartoDarkmatter = 'https://basemaps.cartocdn.com/gl/dark-matter-gl-style/style.json';
3333
var cartoVoyager = 'https://basemaps.cartocdn.com/gl/voyager-gl-style/style.json';
34-
34+
var arcgisSat = 'https://raw.githubusercontent.com/go2garret/maps/main/src/assets/json/arcgis_hybrid.json';
3535

3636
var stylesMapbox = {
3737
'basic': cartoVoyager,
3838
'streets': cartoPositron,
3939
'outdoors': cartoVoyager,
4040
'light': cartoPositron,
4141
'dark': cartoDarkmatter,
42-
'satellite': cartoPositron,
43-
'satellite-streets': cartoPositron,
42+
'satellite': arcgisSat,
43+
'satellite-streets': arcgisSat,
4444
'open-street-map': {
4545
id: 'osm',
4646
version: 8,
@@ -49,8 +49,7 @@ var stylesMapbox = {
4949
type: 'raster',
5050
attribution: OSM,
5151
tiles: [
52-
'https://a.tile.openstreetmap.org/{z}/{x}/{y}.png',
53-
'https://b.tile.openstreetmap.org/{z}/{x}/{y}.png'
52+
'https://tile.openstreetmap.org/{z}/{x}/{y}.png'
5453
],
5554
tileSize: 256
5655
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.