Feature Wiki
Tabs
gps controlled section
Page Overview
[Hide]1 Requirements
To create learning scenarios which are based on the location of the user, sections of a page are controllable based on the geo-coordinates (e.g. GPS, Galileo, etc.).
The section will be activated / deactivated if the browser supports the geolocation API and the current location is within a defined distance to the target location (see settings mockup).
Update: The ILIAS Map-Input-Element will be used instead of plain longitude/latitude inputs.
1.1 Future Outlook
Availability via geolocation API could also be implemented for all ILIAS-objects which have "availability settings" right now. The behaviour and settings should be the same. This is however not part of this feature request.
1.2 Mockups / Example Code
Here is php code i found to calculate the circumference:
1 | 1.@mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASS) OR die("Keine Verbindung zur Datenbank.<br>Fehlermeldung: ".mysql_error()); |
2 Additional Information
- Idea / concept: Hesse, Joel [Joel_Hesse] Parfümerie Douglas GmbH
- Interest in funding: (please indicate if you are interested/able to fund this feature)
- Maintainer: (will be set by Jour Fixe / maintainer)
- Implementation of the feature is done by (will be set by Jour Fixe / maintainer)
- Testcases by: (please add your name if you want to create the testcases for this feature)
3 Discussion
Killing, Alexander [alex], 20 May 2016: http://www.w3schools.com/html/html5_geolocation.asp. Wouldn't it be nicer to use the existing MAP-Input element in ILIAS instead of entering coordinates?
Hesse, Joel [Joel_Hesse] yes, absolute. a map is more comfortable.
Killing, Alexander [alex], 27 June 2016: Are there other parties interested in this? I fear it may not work very reliably, since lots of devices/browser may not support this information or have it deactivated.
Kiegel, Colin [kiegel] 2016-06-27: The geolocation-feature seems very widespread: http://caniuse.com/#feat=geolocation. The user has to allow the site to use it. I think, the use case is pretty much the same as with the learning location plugin - but without the need for an "app". IMO it makes a lot of sense, but it should not be named "GPS", but only geolocation.
IMO the core question is, how much additional functionality can we pack into the block-element of the page editor. Maybe it would be better to implement a generic plugin-slot for availability of ILIAS objects and the (block-)elements of the page editor. A geolocation plugin could then provide availability-criteria based on the users coordinates.
Hesse, Joel [Joel_Hesse] @alex i understand your aspects and would go along up to a point, but there are some more features on many websites in use, which might not work due to the clients browser like html5, flash, javascript etc.
But if ILIAS wants to get serious about mobile device usage, i think ILIAS should offer much more than only a responsive design.
As you know, there is a dedicated app for learning scenarios using gps, so it seems to be useful.
When a website can be able to use gps sensors of the mobile device, a native app shouldn't be the solution.
In my opinion its much smarter, if the website uses the full range of possibilities instead of using a separate app, using a plugin slot etc.
In some scenarios Its not possible to install a dedicated app for every device. (big companies for example)
When there is no gps signal available, the user could see a text block "please turn on your gps sensor or allow the gps location for this website".
I expect this behaviour is know to the most users which are using a smartphone.
Zenzen, Enrico [ezenzen], 05 SEP 2022: This request no longer fulfills the requirements of the Feature Wiki. In consultation with the maintainer I change the status of the feature request to "Redundant / outdated". If the request is still relevant, please update template and mockups.
4 Implementation
{please give a description of the final implementation and add screenshots if possible}
Test Cases
Test cases completed at {date} by {user}
- {Test case number linked to Testrail} : {test case title}
Approval
Approved at {date} by {user}.
Last edited: 5. Sep 2022, 08:10, Zenzen, Enrico [ezenzen]