Replies: 1 comment
-
EDIT: Just realised this question is from almost 3 years ago, so I'm sure you worked it out. Leaving this here in case it answers others questions (assuming I'm on the right track as I am no expert!!) I'm no expert, but I think you can do the following (in my case I have vector tiles):
tileUrl is something like: "https://api.mapbox.com/v4/user/{z}/{x}/{y}.vector.pbf?access_token=" - this is obviously where you put your own one. Then in my code I add a FillLayer, but this is obviously your choice. Is this what you were after? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello !
I'm working on a project with Mapbox and I'm looking for a way to import a layer or tiles to my map, like this exemple (in JS) : https://docs.mapbox.com/mapbox-gl-js/example/adjust-layer-opacity/
So here is my complete question :
Is there a way to get a x*x square (or cicle) layer/tile for a given position and display it over a map, at the correct coordinates ?
Thx !
Beta Was this translation helpful? Give feedback.
All reactions