GEOCODING Functions

Geocoding or Geo-location functions allow converting address to latitude and longitude and vice versa, adding static or interactive map to the page, retrieving records in proximity to a certain location and sorting them by distance. Note, that although there are functions converting address to latitude and longitude it is required to have already filled fields for latitude and longitude in the database table to sort or retrieve records based on proximity to a certain location.

Latitude and Longitude should be expressed in degrees (i.e. 37.39, -121.93). Application internally converts degrees to radians when needed.