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
the way i am trying to find is something like this:
constmap=useMap()useEffect(()=>{if(map.current){map.current.on('sourcedata',(e: MapSourceDataEvent)=>{consttiles=map?.current?.getSource('cityJsons')// how do i find the tile data here!?})}},[map.current])
because i need the information wich is on each vector tile fields:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi there,
i am trying to get information from a loaded tile. this is how i display the tiles:
the way i am trying to find is something like this:
because i need the information wich is on each vector tile fields:
How would i get this data?
thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions