'Alternative framework to Google map API which is "offline"

I need to develop a feature where I need to show the directions between two zipcodes on a map offline. Is there any such framework which can display directions between two zipcodes ? I tried Highmaps, but it doesn't show directions between tow point. I looked at the below apis too. But I think they cannot work offline. Thanks in advance

MapTiler Cloud: https://cloud.maptiler.com/

Microsoft Maps API: http://www.microsoft.com/maps/developers/web.aspx

MapQuest: http://developer.mapquest.com/

(provided by TuxGeek)

Mapjam: http://mapjam.com

OpenStreetMap API: http://wiki.openstreetmap.org/wiki/API_v0.6

Osmdroid: http://wiki.openstreetmap.org/wiki/Osmdroid

OpenStreetMap Android http://wiki.openstreetmap.org/wiki/Android

(provided by AGrunewald)

GraphHopper Directions and Matrix API https://graphhopper.com/#directions-api

(provided by karussell)



Solution 1:[1]

Try hosting your own open-source instance, for example Graphhopper.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 pwwa