Select AOI on a map
In this template we are using the map controls to draw a polygon and download GEOJSON file from the drawn polygon.
- The layout and content of this page is defined in the template
located at
templates\WebApp\select_aoi.html
.
- For layout and styling we rely on standard bootstrap containers, however,
you can add your own CSS classes in the
WebApp\static\css\common.css
file.
- The custom interaction used for the search box is implemented through javaScript,
in
WebApp\static\js\select_aoi.js
.
- The code for this Django view is in the select_aoi function, located in
WebApp\views.py
- The URL for this page is defined through the urlpatterns
array, in
SERVIR_AppTemplate\urls.py
- The text for this popup window is located at
templates\WebApp\select_aoi_about.html