api
GEO Location

How To Use

Displays Store-User-Driver

https://api.i-as.dev/api/geolocation/allview/from={string}&f={lat,long}/to={string}&t={lat,long}/driver={string}&d={lat,long}

Takes the travel route from the store to the user, and adds the driver's location on the map.

Parameter:

  • from: Store location name (eg: Penjual).
  • f: Latitude and longitude coordinates for store (format: lat,long).
  • to: User location name (eg: Pembeli).
  • t: Latitude and longitude coordinates for the user (format: lat,long).
  • driver: Driver name (eg: Driver).
  • d: Latitude and longitude coordinates for the driver (format: lat,long).

Example:

https://api.i-as.dev/api/geolocation/allview/from=Penjual&f=-6.2036367,106.8236081/to=Pembeli&t=-6.2006507,106.8323087/driver=Driver&d=-6.2075807,106.8345791

Displays Driver-User

https://api.i-as.dev/api/geolocation/driver-user/to={string}&t={lat,long}/driver={string}&d={lat,long}

Takes the travel route from driver to user into the map.

Parameter:

  • to:User location name (eg: Pembeli).
  • t: Latitude and longitude coordinates for the user (format: lat,long).
  • driver:Driver name (eg: Driver).
  • d: Latitude and longitude coordinates for the driver (format: lat,long).

Example:

https://api.i-as.dev/api/geolocation/driver-user/to=Pembeli&t=-6.2006507,106.8323087/driver=Driver&d=-6.2075807,106.8345791

Displays Driver-Store

https://api.i-as.dev/api/geolocation/driver-store/from={string}&f={lat,long}/driver={string}&d={lat,long}

Take the travel route from the driver to the store on the map.

Parameter:

  • from: Store location name (eg: Penjual).
  • f: Latitude and longitude coordinates for the store (format: lat,long).
  • driver: Driver name (eg: Driver).
  • d: Latitude and longitude coordinates for the driver (format: lat,long).
https://api.i-as.dev/api/geolocation/driver-store/from=Penjual&f=-6.2036367,106.8236081/driver=Driver&d=-6.2075807,106.8345791

Displays Store-User

https://api.i-as.dev/api/geolocation/store-user/from={string}&f={lat,long}/to={string}&t={lat,long}

Take the travel route from the store to the user into the map.

Parameter:

  • from: Store location name (eg: Penjual).
  • f: Latitude and longitude coordinates for the store (format: lat,long).
  • to:User location name (eg: Pembeli).
  • t: Latitude and longitude coordinates for the user (format: lat,long).
https://api.i-as.dev/api/geolocation/store-user/from=Penjual&f=-6.2036367,106.8236081/to=Pembeli&t=-6.2006507,106.8323087