jupyter-renderers icon indicating copy to clipboard operation
jupyter-renderers copied to clipboard

GEOJSON example not working

Open michaelaye opened this issue 4 years ago • 1 comments
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" : '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
    }
)

The Mars example works fine.

michaelaye avatar Dec 05 '20 02:12 michaelaye

Looks to be related to this: https://blog.mapbox.com/deprecating-studio-classic-styles-d8892ac38cb4

AdeelK93 avatar Mar 02 '21 22:03 AdeelK93