I've created my own map with an own mapType.
Now on this map I would like to enable the DirectionsService (routing) but I need my own paths (not the streets/rails that the DirectionsService sticks to).
Can I add my own paths to the DirectionsService which should be the base for calculating the route?
I have so far found this SO-Question but in my case I want to create these paths "on the fly" and inject them into the map without uploading a static path to google.
In an ideal case, when I calculate the route, the DirectionService should use roads from Google Maps AND my own paths to find the fastest way.
Example:
Say I have a garden in front of my house with a maze and the path through the maze is not in Google Maps. Now if I want directions through this maze I would need to add the path somehow - otherwise probably the best the DirectionsService can do is calculate the straight line between the start and the end point.