Map API - Pear-Trading/FoodLoop-Ionic-2 GitHub Wiki

Map API

loadMap()

Sends simply a session key to the server, then expects this as a response. The coordinates it receives are the postcode of the user account.

{
  coords : {
    latitude : 45.5,
    longitude : 45.5
  }
}