kartograph / kartograph.js

UNMAINTAINED Open source JavaScript renderer for Kartograph SVG maps
http://kartograph.org
GNU Lesser General Public License v3.0
1.51k stars 227 forks source link

Find a solution for HTML overlays & SVG mouse events #3

Open gka opened 12 years ago

gka commented 12 years ago

When adding an empty HTML div overlay on top of a SVG layer, the SVG layer stops to receive any mouse events. One solution could be to not add full-width container divs over SVG layers. Instead one could add small divs (for instance for tooltips) directly on top of SVG.

mmathys commented 9 years ago

For everyone with the same problem: add pointer-events: none to the html overlay.

Anice17 commented 7 years ago

Google akun gmail