简体   繁体   English

Android应用程序中的自定义地图

[英]Custom Map in Android Application

Ok, so I am going to do my best to convey exactly what I am looking to accomplish. 好的,所以我将尽我所能传达我要完成的目标。 I have thus far completed some minor Java courses at school and working on some android tutorials. 到目前为止,我已经在学校完成了一些Java辅助课程,并从事一些Android教程。

I have access to a google map that has consistently updated information regarding conditions in an area. 我可以访问Google地图,该地图不断更新有关区域条件的信息。 Is it possible for me to write a program that shows the map on this link and stays current? 我可以编写一个程序来显示此链接上的地图并保持最新状态吗? Can this be done without the use of webview? 可以在不使用webview的情况下完成此操作吗? Or is that link going to be dynamic and change as the overlay does? 还是该链接将是动态的并随着覆盖层的变化而变化? Would it be possible to instead call upon the website then to utilize that specific area of the webpage that has the map? 可以改为调用该网站,然后利用具有地图的网页的特定区域吗?

https://www.google.com/maps/d/embed?mid=zEDHoFPoYHv4.kHYurQFY7s8s&hl=en https://www.google.com/maps/d/embed?mid=zEDHoFPoYHv4.kHYurQFY7s8s&hl=zh-CN

I am doing this all for self educational purposes, not looking to create anything commercial, other wise I realize I would likely want to contact the host and ask them for permission to use their data. 我这样做是出于自我教育的目的,而不是寻求创建任何商业广告,否则我意识到我可能想与房东联系并请他们允许使用他们的数据。

I've read through several of the Google Maps API information, but I can not find anything specifically that states I can do this. 我已经阅读了一些Google Maps API信息,但找不到任何明确表明可以执行此操作的信息。

By "have access to a map", do you mean that you have access to the map tiles? “有权访问地图”是指您有权访问地图图块吗? If so, you can add a TileOverlay to a base Google Map, which will download the tiles from your server. 如果是这样,您可以将TileOverlay添加到基本的Google Map中,这将从您的服务器上下载图块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM