You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking for examples showing how to use CustomGeometrySource. I've posted this request as a form of question in the Discord forms [1][2] but requesting this here as a feature (any kind of help would be great).
I have a custom tile server that can take in requests of the form zoom/x/y serving points data, but it's not serving the data in any standard MVT format or GeoJSON. I want to be able to render the points data on my map as a layer using CircleLayer.
Digging through the source code I'm guessing that I'm suppose to use CustomGeometrySource for this, but there's no examples showing how you're suppose to use it.
Namely, what are you suppose to do inside of fetchTileFunction and cancelTileFunction? I'm guessing I should be fetching data from my server and adding it to the map using map.setCustomGeometrySourceTileData?
Why
There's no example showing how to use CustomGeometrySource and I'd like to understand how to use it.
The text was updated successfully, but these errors were encountered:
New Feature
I'm looking for examples showing how to use
CustomGeometrySource
. I've posted this request as a form of question in the Discord forms [1][2] but requesting this here as a feature (any kind of help would be great).I have a custom tile server that can take in requests of the form
zoom/x/y
serving points data, but it's not serving the data in any standard MVT format or GeoJSON. I want to be able to render the points data on my map as a layer usingCircleLayer
.Digging through the source code I'm guessing that I'm suppose to use
CustomGeometrySource
for this, but there's no examples showing how you're suppose to use it.Namely, what are you suppose to do inside of
fetchTileFunction
andcancelTileFunction
? I'm guessing I should be fetching data from my server and adding it to the map usingmap.setCustomGeometrySourceTileData
?Why
There's no example showing how to use
CustomGeometrySource
and I'd like to understand how to use it.The text was updated successfully, but these errors were encountered: