谷歌地图API地图cutomization

谷歌地图API地图cutomization

本文介绍了谷歌地图API地图cutomization的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一些大学的网站上看到了这些地图,我只是爱他们:

I saw these maps in the websites of some universities and I just loved them:

我真的很想做这样的事情,在一个Android应用程序。我一直在寻找一种方式来做到这一点,但我没有发现任何线索。由于我是新来的这个API,我觉得完全迷失方向。

I would really like to do something like that in an Android app. I've been looking for a way to do it but I've found no clue. Since I'm new to this API I feel quite disoriented.

所以,请你指出我在正确的方向?给我一些提示,SOMO的教程或任何你认为它可能是有用的。

So, could you please point me in the right direction? Give me some hints, somo tutorials or whatever you think it can be useful.

推荐答案

您可以得到的MapView很轻松地使用谷歌地图API。然后,你需要的任何建筑物,你提议把地图上的图像。图像可以被添加到将出现在地图上的顶部的地图叠加层。那么最棘手的部分,是您建筑物的地理坐标匹配到地图上,这样当用户滚动地图,图像移动,以及,也可以作为用户放大和缩小缩放图像。

You can get the mapview easily enough using the Google Maps API. Then you need images of whatever buildings you are proposing to put on the map. The images can be added to a map overlay which will appear on top of the map. The tricky part then, is to match the geo-coordinates of your buildings to the map so that when a user scrolls the map, the images move as well and also to scale the images as the user zooms in and out.

这篇关于谷歌地图API地图cutomization的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 04:34