-
Hi ! I am facing an issue while trying to implement a Goal: Create a Issue: Not having any data while requesting
I am aware of the Reproduction link: https://codesandbox.io/p/sandbox/kgz6hn Thank in advance for any help :) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
What data manipulation you would like to do? You might be better off using addProtocol? |
Beta Was this translation helpful? Give feedback.
Custom layers are more designed to interact with the gl context and less about using source cache and stuff like that.
But I don't see a problem with asking the user to create a layer of circles with a radius of 0 or non visible to allow this layer to query the source features. This is basically what I did here (minus the usage of the webgl part):
Using a geojson to cluster the points:
https://github.com/IsraelHikingMap/Site/blob/776478d6f20d4587fc721b9d042762629b35700b/IsraelHiking.Web/src/application/components/map/layers-view.component.html#L16-L22
Add a source and a transparent layer:
https://github.com/IsraelHikingMap/Site/blob/776478d6f20d4587fc721b9d042762629b35700b/IsraelHiking.We…