Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This feature requires a CommCare Software Plan

This feature will only be available to CommCare users with an Pro Plan or higher. For more details, see the CommCare Software Plan page.


This page will walk you through the steps of integrating Dimagi's area mapping application with your CommCare app.

Configuration

  1. On your Android device, download the Area Calculator application from the Google Play Store
  2. In the Form Builder, add a Android App Callout type question
    1. Then, under the "Templates" dropdown of this question, select the "Area Calculator" question type

Saving Images

In order to capture an image of the map and the polygon around the surveyed area, follow the steps below. 

  1. Add an extra to the Area Calculator question with key: image and value: 'true'
  2. Add an image capture question to the form
  3. Add a key/value pair to the Response section of the Area Calculator question, with key: image and value: drag and drop the image capture question

The image of the map and polygon will now be saved to the image capture question when the form is submitted. 



Saving Coordinates

In order to capture the coordinates of the polygon, follow the steps below. 

  1. Add an extra to the Area Calculator question with key: coordinates and value: 'true'
  2. Add a hidden value to the form to save the coordinates in
  3. Add a key/value pair to the Response section of the Area Calculator question, with key: coordinates and value: drag and drop the hidden value created in step 2 above

The coordinates of the polygon will now be saved to the hidden value as a string of lat/lng doubles when the form is submitted. 


  • No labels