Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline Map for Private Property with Navigation in iOS

I have an idea of building offline Map for my University Campus (its covering almost 3-4 miles). Like new students or guests can navigate to various blocks in campus. Student can see himself/herself marked on map at current location & can chose destination from pre-defined list of places and application will navigate them.

I have explored alot like maptiles can help me in showing maps. But is there any other efficient way of showing campus map ? And I have no idea how will I navigate user (since being a private property area is out of reach of Google's Maps (or some other) API).

Any suggestions will be helpful. :)

EDITED

Here is Google Map link to my place.

I am studying ArcGIS from last few days, learned to create its 'geodatabase' using 'ArcGIS for Desktop' for rendering offline maps on iPhone.

However, now my concern is how to Navigate user.

And I will welcome any suggestion/idea for accomplishing it using any different approach.

like image 662
itsji10dra Avatar asked Jul 20 '15 10:07

itsji10dra


People also ask

Can I use Offline Maps for navigation?

Use offline maps After you download an area, use the Google Maps app just like you normally would. If your internet connection is slow or absent, your offline maps will guide you to your destination as long as the entire route is within the offline map.

Can you use iPhone maps without internet?

iPhone Maps can work even if you do not have an internet connection. This feature is beneficial for those who drive around a lot since not all spots have a stable cellular signal.


1 Answers

You can achieve that with MapBox.

MapBox is an alternative to GoogleMaps and supports offline maps.

Mapbox iOS SDK
There are three methods available to the Mapbox iOS SDK for offline maps. With cache-based methods, the RMTileCache for an RMMapView can be configured to keep map tiles around based on their count or based on their age in the cache.

Caching based on previous user interaction

Tiles are automatically cached once they are downloaded for display based on the user’s panning and zooming of the map. For example, if a user views the map, then zooms out, then zooms back in later when offline, the original tiles will be present in cache and will display without need for a network connection.

Proactive background caching for certain map regions

Using RMTileCache and the RMTileCacheBackgroundDelegate protocol, the developer can enable the user to download a certain bounding box and zoom range in the background in advance of actually displaying them on screen. Callbacks trigger, allowing the developer to report progress to the user or even to cancel a download in progress.

Tiles that already exist in cache will be skipped over during this background download instead of re-downloaded.

MBTiles prepackaged tiles

Using the MBTiles format for map tile storage, developers can build apps that read the tiles straight out of the MBTiles file and do not ever need a network connection. Since MBTiles is an open format, files can be created manually or with TileMill, as well as many other applications and utilities such as mbutil.

You need the last one (i.e. MBTiles prepackaged tiles).

Source: https://www.mapbox.com/help/ios-offline/

like image 149
arturdev Avatar answered Oct 15 '22 17:10

arturdev