mstahv / v-leaflet

Leaflet add-on for Vaadin
Other
43 stars 38 forks source link

Application hangs after displaying a Leaflet view #22

Closed mkoivi closed 10 years ago

mkoivi commented 10 years ago

I have an application with Vaadin Navigator-based menu structure, slightly similar to QuickTickets demo. A Leaflet map is created in one of the pages inside a View. The map view is displayed correctly, but after selecting another view after the Leaflet view (from the Navigator), the application hangs in the middle of drawing the view.

mstahv commented 10 years ago

Duplicate to #19 ?

mkoivi commented 10 years ago

No, running LMap in a Window works well, also after closing the window. This problem appears only when using Navigator.

mkoivi commented 10 years ago

However, the end result looks the same than in #19 .

mstahv commented 10 years ago

Can you test with current development build (check out g-leaflet, g-leaflet-draw, v-leaflet, and "mvm install" in each of those in same order)? I'll probably make a version soon, but it would be good to have this issue solved.

willtemperley commented 10 years ago

I had a similar issue, wrote a test case which subsequently didn't fail, leading me to believe it was a build problem.

Pull request added for test case if you're interested: https://github.com/mstahv/v-leaflet/pull/23

mstahv commented 10 years ago

Merged all stuff from willtemperley. Couldn't reproduce the issue either, probably fixed recently. Reopen the issue it it exists with next release.

mstahv commented 10 years ago

There is now 4.0.0 release, I hope the issue is gone with it.

mkoivi commented 10 years ago

The problem is fixed with the new release, thank you guys for the lightning fast reaction!