Phonegap Boilerplate Documentation

Adding maps

Phonegap Boilerplate provides some helpers to easily add Google Maps in your app pages.

Gmaps : gmaps

The gmaps.js library can be required via the gmaps module.

When gmaps is required, Google Maps is available via the google.maps global.

Geolocation : core/utils/GeolocationHelper

The GeolocationHelper is available to ease user geolocation. An instance of this helper can be required via the app/singletons/geolocation module.

User tracking : core/utils/UserLocationTracker

UserLocationTracker is a helper used to track a user device and display its position on a map.

Based on