Geolocation
(Adding message template to the top of the page)
(Replacing message template with parser tag)
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
HTML5 geolocation API is supported in MDriven by naming ViewModel variables (string) as '''vClientLatitude''' and '''vClientLongitude,''' respectively. The browser will then assign (if permitted) the current location to these variables.
HTML5 geolocation API is supported in MDriven by naming ViewModel variables (string) as '''vClientLatitude''' and '''vClientLongitude,''' respectively. The browser will then assign (if permitted) the current location to these variables.



Revision as of 07:42, 17 June 2024

This page was created by Henrik on 2018-01-28. Last edited by Stephanie@mdriven.net on 2025-02-27.

HTML5 geolocation API is supported in MDriven by naming ViewModel variables (string) as vClientLatitude and vClientLongitude, respectively. The browser will then assign (if permitted) the current location to these variables.

For search: Longitude Latitude

Similar: vClientScreenWidth