Page 1 of 1

Using a leaflet map API in AngularJS/Ionic app

Posted: Fri Apr 01, 2016 11:59 pm
by Pasteur Miranda

Hi,

Code: Select all

I'm trying to use the open source Leaflet API in order to use maps in the app. I put everything needed in the app (leaflet JS, CSS), called the map objetct in the Init() function of the page and  placed a "" tag inside an HTML component (type=HTML).  

When I run the app there is no errors, but the map is not show on the page.

Code: Select all

I think the problem is where I placed the "", inside an HTML component.  Do you have any suggestion on where to place this tag in order to show the map? 

The link to leaflet page on using leaflet in mobile apps is:
http://leafletjs.com/examples/mobile....

Thanks


Using a leaflet map API in AngularJS/Ionic app

Posted: Sat Apr 02, 2016 12:02 am
by Pasteur Miranda

Only to complement(html tag not shown):

The tag I place inside HTML component is : <!- < div id="map"


Using a leaflet map API in AngularJS/Ionic app

Posted: Mon Apr 04, 2016 3:35 pm
by Serhii Kulibaba

Hello,

You use incorrect HTML layout there. Please remove comment symbols there ()