Hi all,
I’ve previously used JQuery Mobile for my hybrid application and i’m pretty excited to be planning on using Ionic for my next project. Although, i’m very fresh on how AngularJS and Ionic works so bear with me with this simple question…
My main menu has four pages (templates) and on one page i want to display a leafletjs map.
I managed to load the map when I am on the page and click a button, but cannot seems to load the map when the page is visited. (Map loads automatically)
It seems that the load map function does not work because the template has not been loaded yet…
Can anyone give me some advice on best method to initiate the map call when the user visits the page?
Thanks all
Ryan