Вопрос

I have a mobile site I am building. It has a Google static map on it. I would like to be able to tie into the phone's gps and get directions through the phone. Is this even possible?

Это было полезно?

Решение

That depends on whether the phone's browser supports the HTML5 Geolocation API. If it does, you can use that to grab the geolocation and plot on a Google Static Map. Most recent iPhone and Android devices support it.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top