Being a beginner in the world of Ionic2 and Angular2 using typescript, my goal is to develop a mobile application that can run on both iOS and Android platforms. I have decided to integrate a map into my app, and after some research, I came across Leaflet as a versatile option for switching between GoogleMaps and OSM.
However, my journey hit a roadblock when it came to installation. There are various packages like npm install leaflet
, npm install leaflet-map
, npm install ui-leaflet
, and many more options available.
Furthermore, I am unsure about how to actually include these packages once they are installed. It would be incredibly helpful if someone could provide me with a straightforward Ionic2 app example demonstrating the implementation of a leaflet-map.