OpenGeoscience / geojs

High-performance visualization and interactive data exploration of scientific and geospatial location aware datasets
https://opengeoscience.github.io/geojs
Apache License 2.0
441 stars 75 forks source link

Better marker hit tests #1193

Open manthey opened 2 years ago

manthey commented 2 years ago

Markers can have complex shapes, but the hit test only checks the enclosing circle. We could render the marker to a small internal canvas and then check if the location clicked is transparent.