开发者

GPS Location on custom map

开发者 https://www.devze.com 2023-03-31 04:11 出处:网络
Is there a way to map the user\'s current location on an image view? I have an map 开发者_StackOverflowimage of small area, and want to display the current location on it. Is there a way to calculate

Is there a way to map the user's current location on an image view?

I have an map 开发者_StackOverflowimage of small area, and want to display the current location on it. Is there a way to calculate location on image from GPS coordinates?

Thanks


You need lat/long references on the image to do it. Either two corners or edges. Then you interpolate the user coordinates onto the image using the references.

0

精彩评论

暂无评论...
验证码 换一张
取 消