Geolocation
(Automatically adding template at the end of the page.)
(Adding message template to the top of the page)
Line 1: Line 1:
{{message|Write the content here to display this box}}
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 22:16, 16 June 2024

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

Write the content here to display this box

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