Draw path on indoor map using geoJSON avoiding obstacles

253 Views Asked by At

I'm a CS student and I'm developing an Android app that uses Google Maps API. The problem is the map I'm working on is indoor and I'm facing problems when I want to draw a path from user location to specific location he chose, because Directions API doesn't work with indoor map.

And when using a drawPolyLine method it draws a line that passes through walls, bathrooms, and anything on its way. So to solve this problem I made a GeoJSON file with linestring and polygon of each obstacle in that map.

And now I want to use the available drawing methods along with the geoJSON file to read the points/polygon and avoid it while drawing the path on the map.

Could please give an idea or anything that could solve my issue?

0

There are 0 best solutions below