Each view of the Web and Mobile App also known as: “Firenze dove cosa” and/or “Toscana dove cosa”, available on Google Play, Apple store and Microsoft Store, and as HTML5 applications can be invoked separately to create MicroApplications. These MicroApplications are listed below together a link to call them see https://www.snap4city.org/dashboardSmartCity/management/microApplications.php . They can be invoked directly and embedded into third party web pages and in the City Dashboards produced by the Dashboard Builder.
URL |
||
This call allows users to go directly to perform the functions in the web app without interacting with the buttons. This version refers to the Knowledge Base containing Florence and the whole Tuscany. |
||
Parameters |
||
operation |
-optional- One of the following values:
|
|
|
||
coordinates |
-optional- <latitude>; <longitude> If present, disables information coming from the GPS sensor and manually enters these values. |
|
|
||
serviceuri |
-optional- Show details of a serviceuri |
|
http://www.km4city.org/webapp-new/?serviceuri=Bus_ataflinea_Stop_FM0017_5 |
||
geoJson |
-optional- Get a GeoJson passed as URL and draw it on the map |
|
lang |
-optional-
Change the language of the interface. Possible values (ita, eng, fra, deu, esp) |
|
https://www.km4city.org/webapp-new/?operation=privatetransport&lang=fra https://www.km4city.org/webapp-new/?operation=health&lang=deu https://www.km4city.org/webapp-new/?operation=aroundyou&lang=eng |
||
App A.2. Optional parameters for specific operation
operation |
publictransport/pathfinder privatetransport/pathfinder |
|
destination |
<latitude>; <longitude> These values are entered as the destination point and the route is calculated using the values entered in the coordinates parameter as the starting point |
|
routeType |
One of the following:
|
|
|
||
operation |
search operations |
|
maxDistance |
maximum distance from the GPS position of the services to be retrieved, expressed in Km (0.1 is used if parameter is missing) |
|
maxResults |
maximum number of results to be returned (if parameter is missing 100 is assumed), if it is 0 all results are returned |
|
App A.3. Wider set of Examples