Ik heb een vraag over het aanvragen van gps locatie via een mobiele website, ik zat wat rond te snuffelen op het net en kwam het volgende tegen.
"It's true that the accuracy may not be perfect, but that's because the phone itself may not always know perfectly where it is. The API gives you a couple ways to work around this: if you need high accuracy, you can hint to the device that you want an accurate result even at the cost of power/time with the enableHighAccuracy flag and set a long timeout parameter to allow the device to use GPS to find a location. Also, all positions are returned with an accuracy value for 95% confidence -- if the error is too high (often phones will return a high error on the first request), you can request the location again, specifying that you don't want a cached location."
Ze maken gebruik van W3C Geolocation API en Javascript API, iemand ervaring? Ik zou graag hierin meer in verdiepen om
een soort mobiele website te maken waarvan je gps kan aanvragen.
alvast bedankt.
Gr. Uzi18
"It's true that the accuracy may not be perfect, but that's because the phone itself may not always know perfectly where it is. The API gives you a couple ways to work around this: if you need high accuracy, you can hint to the device that you want an accurate result even at the cost of power/time with the enableHighAccuracy flag and set a long timeout parameter to allow the device to use GPS to find a location. Also, all positions are returned with an accuracy value for 95% confidence -- if the error is too high (often phones will return a high error on the first request), you can request the location again, specifying that you don't want a cached location."
Ze maken gebruik van W3C Geolocation API en Javascript API, iemand ervaring? Ik zou graag hierin meer in verdiepen om
een soort mobiele website te maken waarvan je gps kan aanvragen.
alvast bedankt.
Gr. Uzi18