Monday, April 23, 2018

Layers disappear when panning in DukeScript Leaflet4j

Leave a Comment

I am test driving Leaflet4j inside of JavaFX combo.

When I run the l4jfxdemo project and then drag the map the circle and polygon layers disappear. They do not disappear when zooming. I added a DragEndListener to enumerate the layers and they are still there but don't show on the map. When you zoom in or out you can see them appear for a brief moment.

I recompiled Leaflet4j with different versions of Leaflet but it made no difference. I also tried various map options as well as redrawing of the layers after panning but still no joy.

What could be causing this behaviour?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment