简体   繁体   English

使用Google Maps Android API替换建筑物的地图

[英]Replace a map of a building with Google Maps Android API

Im using the latest Google Map API. 我正在使用最新的Google Map API。 What I would like to do is that I have an image of plan of a building. 我想做的是拥有建筑物平面图。 I would like to put this on the correct location and display this image instead of the normal map. 我想将其放置在正确的位置并显示此图像而不是法线贴图。 It would kinda be like if you zoom in alot on a train station and you get more details. 就像您在火车站上大量放大并且获得更多细节一样。

Is there any way to do this? 有什么办法吗?

There is an example with the official Google Maps for Android API sample code ( installation how-to ) called GroundOverlayDemoActivity.java . 官方的Google Maps for Android API示例代码( 安装方法 )中有一个示例,名为GroundOverlayDemoActivity.java

You could try this and check if it is a starting point for further investigations. 您可以尝试一下,并检查它是否是进一步研究的起点。

Here is a screenshot of this activity: 这是此活动的屏幕截图:

在此处输入图片说明

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

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