简体   繁体   English

如何在Google地图中创建自定义地图?

[英]How can I create a custom map in Google Maps?

I am trying to create a Google Maps application that has the map of my house. 我正在尝试创建一个包含我房屋地图的Google Maps应用程序。 (bedroom, wash room, kitchen etc) (卧室,洗手间,厨房等)

Using GPS, I will find my present location in my house and try to get the direction/walking-distance to my bedroom. 使用GPS,我将在自己的房屋中找到当前位置,并尝试获取到卧室的方向/步行距离。 (You could use Google's API to get the direction) (您可以使用Google的API获取说明)

What I need to know is: 我需要知道的是:

  1. How can I add a custom map of my house? 如何添加房屋的自定义地图?
  2. To get the direction and walking-distance? 要获得方向和步行距离? You will have to provide your current geo-coordinates (where I am right now) and your destinations (kitchen) geo-coordinates, so will Google be able to find the walking-distance and direction from where I am to the next place I want to go (to the kitchen)? 您将必须提供当前的地理坐标(我现在所在的位置)和目的地(厨房)的地理坐标,因此Google能够找到从我到我想要的下一个位置的步行距离和方向去(去厨房)?

Using GPS, I will find my present location in my house and try to get the direction/walking-distance to my bedroom. 使用GPS,我将在自己的房屋中找到当前位置,并尝试获取到卧室的方向/步行距离。

Considering that the error range of GPS (~30m diameter circle) might be bigger than the footprint of your house, this seems unlikely to work well. 考虑到GPS的误差范围(直径约30m的圆)可能大于房屋的占地面积,因此似乎不太可能正常工作。

How can I add a custom map of my house? 如何添加房屋的自定义地图?

You don't. 你不知道 You are welcome to create your own activity with its own images and such, but that will not have anything to do with Google Maps. 欢迎您使用自己的图像等创建自己的活动,但这与Google Maps没有任何关系。

To get the direction and walking-distance? 要获得方向和步行距离?

You will need to calculate that yourself. 您将需要自己计算。

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

相关问题 如何创建自定义Google地图 - How to create a custom Google Maps 如何为Google地图创建自定义信息窗口? - How to create a custom info window for google maps? 如何创建Google地图(可拖动地图)等用户界面? - How to create a user interface like Google maps (a draggable map)? 如何检查(Google Maps API)地图是否已加载? - How can I check wether a (Google maps API) map has loaded? 如何在Google Maps应用中添加此自定义信息窗口,而不是默认窗口? - How can I add this custom info window in google maps app instead of the default one? 如何将 Google Maps V2 显示到自定义对话框 android 中 - How I can show Google Maps V2 into a custom dialog android 如何从具有多个经度和纬度坐标的JSON文件中创建Google Maps标记 - How can I create google maps markers from a JSON file with multiple latitude and longitude coordinates Android Maps v2上的自定义Google Maps Engine地图? - Custom Google Maps Engine map on Android Maps v2? Android Studio 谷歌地图自定义地图,只想显示自定义地图但利用谷歌地图功能 - Android Studio Google Maps custom Map, Only want to display the custom map but make use of google maps features 如何将一张大地图拆分成几张小地图? - How can I split one big Map into several smaller maps?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM