Skip to content

Viewer API

Anne Blankert edited this page Mar 13, 2017 · 4 revisions

The growapp user interface consists of a map viewer and optionally a splash or loader screen and map toolbar.

##Splash or loader screen## URL: index.html

This page checks if the application can connect to the remote growapp server and checks if the remote server has a compatible version. If everything is ok, the page redirects to main.html

##Map and toolbar UI## URL: main.html

This page shows the map with toolbar. The page design is identical to the mobile app page design. This page responds to changing URL fragment identifiers, see below

##Map only ## URL: index2.html

This page shows only the map. This page could be embedded into another page and responds to changing URL fragment identifiers, see below

##URL Fragment identifiers## Pages 'main.html' and 'index2.html' respond to changing URL fragment identifiers. The fragment identifier is the part at the end of the URL and starts with '#'. The following fragment identifiers are supported:
#hashtags=%23hashtag1,%23hashtag2
Filters photo locations where at least one of the photo's contains at least one of the hashtags in the user descriptions
#hashtags=
Resets the photo location filter to show all photolocations
#layerseason
Toggles map layer 'start of growth season'
#layertrend
Toggles map layer 'vegetation trend'
#layertemperature
Toggles map layer 'yesterday s temperature'

Clone this wiki locally