Skip to content

This repository is about Geolocation using leaflet and google places API implemented on ionic 3.

Notifications You must be signed in to change notification settings

syedmuhammadabid/ionic3-geolocation-leaflet

Repository files navigation

ionic3-geolocation-leaflet

This repository is about Geolocation using leaflet and google places API implemented on ionic 3.

Tech

This project uses a number of open source projects to work properly:

And of course this itself is open source with a public repository on GitHub.

Installation

This requires Node.js v4+ to run.

Install the prerequisites.

$ npm install -g ionic

Once ionic framework is installed then,

$ git clone https://github.com/syedmuhammadabid/ionic3-geolocation-leaflet
$ cd ionic3-geolocation-leaflet
$ npm install

Open project folder and then src/index.html, in index.html provide Google Places API key,

 <!-- Google Places API -->
  <script src="https://maps.googleapis.com/maps/api/js?key=YOUR_GOOGLE_API_KEY&libraries=places"></script>

and now just run,

$ ionic serve

Development

Want to contribute? Great!