How to create a custom map on Google Maps?

I am trying to create a Google Maps application that has a map of my home. (bedroom, washbasin, kitchen, etc.)

Using GPS, I will find my current place in my house and try to get the direction / distance to my bedroom. (You can use the Google API to get directions)

I need to know:

  • How to add a custom map of my house?
  • To get the direction and walking distance? You will need to provide your current geo-coordinates (where I am now) and geo-coordinated geographic coordinates (kitchen), so Google can find the distance on foot and the direction, where am I from in the next place I want to go (to the kitchen)?
+4
source share
1 answer

Using GPS, I will find my current place in my house and try to get the direction / distance to my bedroom.

Given that the range of GPS errors (a circle with a diameter of ~ 30 m) may be larger than the area of ​​your home, this is unlikely to work well.

How to add a custom map of my house?

No. You can create your own activities with your own images, etc., but this will have nothing to do with Google Maps.

To get the direction and walking distance?

You will need to figure it out yourself.

+2
source

Source: https://habr.com/ru/post/1380969/


All Articles