If you have to show the marker (and maybe a tooltip) you can consider to 
use a geojson layer.
I've written an example for leaflet, but the same can be applied to google 
maps (https://developers.google.com/maps/documentation/javascript/datalayer)
https://github.com/ilvalle/w2pgis

For storing the coordinates you have two alternatives:
- storing as double fields (one for latitude, one for longitude)
- storing as one geometry field
The geometry field allows you to run spatial queries.

Paolo

On Thursday, March 26, 2015 at 1:54:00 AM UTC+1, Leonel Câmara wrote:
>
> My current version is a bit changed but you can use this:
>
> https://groups.google.com/forum/#!searchin/web2py/location$20picker/web2py/bCGmGAMWhG0/FPEaxH4_pqAJ
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to