I have now tweaked this geolocation widget to allow loading of an API key 
from appconfig.ini  and also amended to use json from standard library.  
The version of widget files are at 

https://github.com/DonaldMcC/w2p_location_widget

and there is a demo of the above code 

https://www.netdecisionmaking.com/w2p_location_widget

Regards
Donald

On Monday, June 18, 2018 at 10:17:58 AM UTC+1, Fabio Ceccarani wrote:
>
> Thanks Donald, I will look it....seem very interesting.
> Fabio
>
> Il giorno domenica 17 giugno 2018 23:02:08 UTC+2, Donald McClymont ha 
> scritto:
>>
>> You could have a look at this -  
>> https://github.com/DonaldMcC/gdms/blob/master/views/default/user.html
>>
>> It integrates a javascript geolocation plugin to web2py user registration 
>> and also Leonel Camara's excellent plugin_location_picker which together 
>> allowed me to do everything I was wanting to do.  Only downside seems to be 
>> that I think you now need to provide payment details to use Google 
>> geolocation API's for the mapping piece and address lookup piece  - however 
>> it is still free for light to moderate use on published websites.
>>
>> Regards
>> Donald
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to