Iron Speed Designer Help
 

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.

Configuring Geocoding Functionality

Before using geocoding functions, set “Retrieve user location” property to True in the Application Generation Options to use Geocoding functions in the Designer.

Restrictions: Iron Speed Designer generated Geocoding functions require a Google API key. Please refer the section below to generate API key:  https://developers.google.com/maps/documentation/javascript/tutorial

Once Google API key is received, it can be added in web.config section.

<add key="GoogleKey" value=""/>

<add key="GoogleClientID" value=""/>

<add key="GoogleSignature" value=""/>

Although Geocoding functions work without specifying API key, it is recommended in the Google documentation to use the API key. Also, please read the usage limits on the above website. There are usage limits and restrictions for Geocoding requests and Map requests too. Exceeding usage limits may stop the formulas to work. In order to use the Geocoding functions for the Business purpose, Google Maps API license can be purchased. This information has been specified in detail in the following URL:  https://developers.google.com/maps/documentation/geocoding/

Configuring Default Location

Default location from web.config is used if user does not share his current browser location. Use the following 2 web.config elements to set the default latitude and default longitude.

<add key="DefaultLatitude" value="" />

<add key="DefaultLongitude" value="" />

Related Topics

BOUNDINGBOXEDGE

CLEARBROWSERLOCATION

DECIMALTODEGREES

DECIMALTOMINUTES

DECIMALTOSECONDS

DEGREESMINSECTODECIMAL

DISTANCEBETWEEN

GETBROWSERLOCATION

GETDISTANCEUNIT

GOOGLEDIRECTIONS

GOOGLEINTERACTIVEMAP

GOOGLEMAP

GOOGLEMAPWITHDIRECTIONS

GOOGLEINTERACTIVEMAPURL

GOOGLEMAPURL

GOOGLEPOPUPMAPURL

ISWITHINRADIUS

LOCATIONTOADDRESS

LOCATIONTOLATITUDE

LOCATIONTOLONGITUDE

LOCATIONTOOTHER

SETDEFAULTLOCATION

SETDISTANCEUNIT