Hi, I would like ask a question about Mapbox.
That’s weird I can’t use my own styles in mapbox :
public_token = 'pk.eyJ1IjoiZXZpc29scHhlIiwiYSI6ImNqdXNkNmNyODFmOXE0ZHNqaGN3ZWt3bDcifQ.pt1NFA9d4z8Nnduchm4EEw' 'layout':{ 'mapbox':{'accesstoken':mapbox_token, 'style':'mapbox://styles/evisolpxe/cjushzxbe9e6e1gp9sgvgfuqm', }, 'height':1000, }})
Chrome console error:
Uncaught Error: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead.
at Object.Re [as default$13] (blob:http://127.0.0.1:8050/ecb47954-8d7c-4a76-8d33-a68a76f799ef:1)
at n.update (blob:http://127.0.0.1:8050/ecb47954-8d7c-4a76-8d33-a68a76f799ef:1)
Uncaught Error: [3]: Expected arguments of type (number, number) | (string, string), but found (value, number) instead.
Uncaught TypeError: Cannot read property ‘composite’ of undefined
I tried default template on Mapbox studio, same error.
How can I make it figure? Thanks