Forms that use Google Maps

Using the Form Section Designer you can also get your forms to display Google Maps. You would do this only if you want to show some address on a Google Map. The object that owns the form must have an attribute that stores the complete address. Note that you cannot display a Google map when you are creating an object. To add a Google Map to your form:

  1. Click on the drop down menu next to the icon of the Form Designer toolbar icon (or alternatively drag and drop the Google Map element from the palette of available elements on the right of the form).
  2. Select “Google Map Row” from the drop down menu.
  3. The dialog with Google Map properties will come up. Select the attribute that stores the complete address that can be shown on a Google Map or an attribute that stores a reference to a special MGeoLocation object that stores location latitude and longitude (See Mobile Applications document for details about MGeoLocation)
  4. Select other map properties and click OK.

note

For details how to use the “Polygons” feature of the Google Map please refer to the How To Guide.

note

Some usages of Google Maps require you to create an account and specify a special key. If you need to provide a key for your Google Maps account you can do this in the predefined GoogleMapsKey attribute of the SystemSettings object.
  • Last modified: 2023/01/13 04:28