Class: ReverseGeocoding

cercaliagl.service/ReverseGeocoding


Javascript ES5

const reverseGeocoding = new cercaliagl.service.ReverseGeocoding({ ... });

Reverse geocoding service obtains an address given a position.

Example usage:

const reverseGeocoding = new cercaliagl.service.ReverseGeocoding();
const position = new cercaliagl.LonLat(-3.696100270, 40.424812754);
reverseGeocoding.getDirection(position, (data) => {
  console.log(data.cercalia.proximity.gelist.ge);
});