Map Element

The Map Element allows you to embed interactive Microsoft Bing Maps, Google Maps and Open Street Map controls in your eForm.

At runtime, the controls will display interactive maps which can be used by the user in the same way as if they were accessing Bing Maps, Google Maps or Open Street Map directly.

For Bing Maps, they can zoom in and out, access different views (such as Aerial or Streetside), and drop a pin on the map to indicate a location.

For Google Maps, they can likewise zoom in and out, and access different views (such as Satellite or Street View) and drop a pin on the map to indicate a location.

As the developer, you can configure the map's startup properties to display the relevant location when the page loads, set the initial zoom level, select the view (Road, Aerial, Roadmap and Satellite etc.), and indicate directions.

In order to use the Bing Map control, you will need to join the Bing Maps Dev Center and obtain a Bing Maps Key. Microsoft do not charge for a key. You can sign up and obtain a key, if you don't already have one, at: http://www.bingmapsportal.com You will need to enter this key in the API Key property described below.

For the Google Map control, you will need to obtain an API Key from the Google API Console. There may be a charge to obtain a key, depending upon the usage of your form or the type of plan you have with Google. For details and to obtain a key see: http://developers.google.com/maps/documentation/javascript/get-api-key#key You will need to enter this key in the API Key property described below.

For the Open Street Map control, this is free-to-use and requires no API Key. You may wish to create an account, however, if you plan on fixing or updating Open Street Map in the future.

At runtime, the Map Element connects to whichever control has been selected and will require an internet connection.

  • When creating a form, if you add one of the map controls to it, the control will display as an empty blue rectangle with rounded corners. For Google Maps and Bing Maps, only when a suitable API Key has been selected will the interactive maps, described above, appear.

During development, if you want to operate the map, you will need to turn Design Mode off and view your form in Preview mode. You may also need to Reload the page to refresh it once you have configured or edited the relevant properties.