0

I tried to change to cursor to achieve a fluid integration with leaflet draw shown in this example.

https://leaflet.github.io/Leaflet.draw/docs/examples/popup.html

When the cursor is over the image it's and open hand. When the cursor is over an drawing it's a pointer.

Unfortunately non of the standard leaflet techniques described here worked.

How do I change the default cursor in leaflet maps?

Does someone has an idea how to do it with ngx-leaflet?

Simon
  • 51
  • 1
  • 4
  • 1
    Can you describe the specific problem? When I run the @asymmetrik/ngx-leaflet-draw plugin, the cursor is a pointer when it's hovering a drawn element. Are you using ngx-leaflet-draw or just ngx-leaflet? Can you provide some code and/or a screenshot? – reblace Feb 20 '18 at 14:20

1 Answers1

0

The problem was caused by an imageoverlay with the same dimensions, which was stacked behind the tilelayer. I had to set interactive: false inside the imageOverlay

Simon
  • 51
  • 1
  • 4