i thought it would be great if the gmap.location module could also get location (apart from click) using the html5 way. here's a small modification to the locpick.js file, that will try and get location of the user. i suppose it would help in gathering data via mobile devices that are location aware.
and it still need some work..
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | gmap-get-the-location-html5-way-850886.patch | 724 bytes | leewoodman |
| locpick_html5.patch | 1.34 KB | mesh |
Comments
Comment #2
patrickroma commentedSubscribe
Comment #3
patrickroma commentedSubscribe
Comment #4
youngelpaso commentedSubscribing
Comment #5
leewoodman commentedsubscribing
Comment #6
podarokall feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?
Comment #7
dercheffe*push*. Nobody else interessted in this feature? Get the location field filled out via HTML 5 geolocation would be great if you have to add a new location and you don't know the address. especially great feature for mobile users with built in gps support.
Comment #8
leewoodman commentedThis should be a standard feature of this module or am I missing a sub module which should be enabled? This feature is standard in GeoLocation module.
Comment #9
leewoodman commentedThe above patch does ask if you want to allow the site to access your location but does not populate the relevant fields.
Comment #10
dercheffe@leewoman: you're right with GeoLocation module.
@all:
If I want to "design" a user-friendly interface to store for example a hotel profile (and of course the location of a hotel) there're IMHO two ways to realise that:
Comment #11
leewoodman commentedThe ability to grab the location directly from the device is a must have for this module.
Comment #12
leewoodman commentedComment #13
leewoodman commentedTry this patch for the latest 7.x-2.x release
Comment #14
leewoodman commentedComment #15
podarokDo not use inline comments in such way, you are breaking Drupal coding standards
Do not use inline comments in such way, you are breaking Drupal coding standards
This code looks like debugging code. Let's get rid of it
If you really need this - just create a proper dialog window and do not use alerts. Thanks
Comment #16
dercheffe@leewoodman: do we need the code podarok described in #15? What is it for? A commit-ready and standard compliant patch would be really great to improve this module. IMHO an essential feature. Thanks in advance :)