File tree Expand file tree Collapse file tree 5 files changed +13
-5
lines changed
dev-docs/RFCs/editable-layers
editable-h3-cluster-layer Expand file tree Collapse file tree 5 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ class App extends React.Component {
181
181
{... viewport}
182
182
width= " 100%"
183
183
height= " 100%"
184
- mapStyle= " mapbox ://styles/uberdata/cive48w2e001a2imn5mcu2vrs "
184
+ mapStyle= " https ://tiles.basemaps.cartocdn.com/gl/positron-gl-style/style.json "
185
185
onViewportChange= {this ._updateViewport }
186
186
>
187
187
< MapGLDraw
Original file line number Diff line number Diff line change @@ -826,7 +826,12 @@ export default class Example extends React.Component<
826
826
}
827
827
828
828
renderStaticMap ( viewport : Record < string , any > ) {
829
- return < StaticMap { ...viewport } mapStyle = { 'mapbox://styles/mapbox/dark-v10' } /> ;
829
+ return (
830
+ < StaticMap
831
+ { ...viewport }
832
+ mapStyle = { 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.jsondark-v10' }
833
+ />
834
+ ) ;
830
835
}
831
836
832
837
_featureMenuClick ( action : string ) {
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ export function Example() {
197
197
layers = { [ layer ] }
198
198
getCursor = { layer . getCursor . bind ( layer ) }
199
199
>
200
- < StaticMap mapStyle = { 'mapbox ://styles/mapbox/light-v10 ' } />
200
+ < StaticMap mapStyle = { 'https ://basemaps.cartocdn.com/gl/positron-gl-style/style.json ' } />
201
201
</ DeckGL >
202
202
< Toolbar
203
203
{ ...{
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export function Example() {
83
83
}
84
84
} }
85
85
>
86
- < StaticMap mapStyle = { 'mapbox ://styles/mapbox/light-v10 ' } />
86
+ < StaticMap mapStyle = { 'https ://basemaps.cartocdn.com/gl/positron-gl-style/style.json ' } />
87
87
</ DeckGL >
88
88
89
89
< Toolbox
Original file line number Diff line number Diff line change @@ -307,7 +307,10 @@ export default class Example extends React.Component<
307
307
return (
308
308
< div style = { mapContainerStyle } >
309
309
< link href = "https://api.mapbox.com/mapbox-gl-js/v3.2.0/mapbox-gl.css" rel = "stylesheet" />
310
- < StaticMap { ...viewState } mapStyle = { 'mapbox://styles/mapbox/light-v10' } >
310
+ < StaticMap
311
+ { ...viewState }
312
+ mapStyle = { 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json' }
313
+ >
311
314
< DeckGL
312
315
height = { height }
313
316
width = { width }
You can’t perform that action at this time.
0 commit comments