mobile phone users

110 views
Skip to first unread message

c2billp

unread,
Feb 22, 2011, 11:46:51 AM2/22/11
to geoPlugin
i suspect that there is no simple way of going this - but for the
increasing number of mobile visitors - using any service that is IP
based returns (for ATT users):
Location = Brookly, NY

Do you have any plans to inforporate something like:

function getGPS() {
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(showGPS, gpsError);
} else {
gpsText.innerText = "No GPS Functionality.";
}
}

into your system? in other words, detect a mobile device, and if so -
ask for geo location and resolve to physical address/country?

-bp

geoPlugin Support

unread,
Feb 22, 2011, 1:54:06 PM2/22/11
to geop...@googlegroups.com
Hi,

This would of course only work with the javascript API.
For what it's worth, geolocation at the country level already works well for this, but for city level less so. We have experimented with triangulation to detect position with success, but not viable since the mobile device pops up an alert warning requiring user interaction to allow use of GPS.

I'll put this in the pipeline to test, but if a mobile device has GPS switched off, this will fail, with a potential fallback to pure IP localisation. That said, this is also something that can be done by you before a geoplugin call, so if you have success, please share your code and it will allow easier integration into the service.

In any case, only city/nearest city results will be returned to protect end-user privacy. We would never expect to provide exact precise coordinates for a global service. If you require that level of precision, you should take steps specific to your own needs.

----
geoPlugin Support
gp_su...@geoplugin.com

http://www.geoplugin.com/

> --
> You received this message because you are subscribed to the Google Groups "geoPlugin" group.
> To post to this group, send email to geop...@googlegroups.com.
> To unsubscribe from this group, send email to geoplugin+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/geoplugin?hl=en.
>

Reply all
Reply to author
Forward
0 new messages