Pasteur Miranda
Posts: 0
Joined: Thu Aug 01, 2013 2:59 am

Using a leaflet map API in AngularJS/Ionic app

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

Pasteur Miranda
Posts: 0
Joined: Thu Aug 01, 2013 2:59 am

Using a leaflet map API in AngularJS/Ionic app

Only to complement(html tag not shown):

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Using a leaflet map API in AngularJS/Ionic app

Hello,

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

Return to “Issues”