I’m developing mobile application using phone gap, angularjs,ionic framework and leafleat for map.
Problem is when I use leafleat map in ionic-view.
Zoom in and zoom out do not work, and click on marker also don’t work.
But, when I refresh page then it work’s.
And again if I move to another page (state) and come back, clicks don’t work.
Please does anyone had this problem, and how can I solve this?
might try this
use it in you ion-content like so
you might also take a look at this repo from @Calendee
thanks you a million!
That help me and solve my problem.
One again, thank you!
I have some problem, but in safari only. All solution about adding
data-tap-disabled="true". It work in chrome, but safari still have problem with click event.
In this example:
- open Sample location page – zoom control work fine.
- Try go back and return to location page – zoom works
- repeat step 2 4-5 times
- zoom control dont work
I try add
scroll="false", wrap map to some div.
I test it only in safari and chrome and in chrome all work fine.
how can I solve this? Thanks!