jupyter-renderers
jupyter-renderers copied to clipboard
GEOJSON example not working
trafficstars
This example from the readme is not working:
GeoJSON(
data={
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [-118.4563712, 34.0163116]
}
}, url_template="https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=[MAPBOX_ACCESS_TOKEN]",
layer_options={
"id": "mapbox.streets",
"attribution" : '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}
)
The Mars example works fine.
Looks to be related to this: https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4