I was wondering if it is possible to create custom directions with mapkit. For example I want to create a map for my university which has roads but also has walking paths that apple doesn't have in there maps is it possible for me to create custom directions using mapkit? I know that I can do a tileoverlay so that it shows the walking path but is it possible for me to use the paths I create for directions?
No, this functionality isn't available in MapKit. You might look into a platform like Mapbox for being able to combine custom data in the map with custom data in the routing so that the two are 1) separate from the data that MapKit makes available) and 2) able to use custom data.
Related
I need to use a PNG as custom map of an indoor place. I don't need navigation but some places should be clickable like what we have in built in map. In android this is possible with MapView but I didn't find anything for iOS to do that. Can someone help me out how to start and do this?
A while back Apple added the ability to provide custom map overlay tiles. It isn't as simple as providing a PNG. You will need to create a database of map tiles at different scales, following a specific naming convention, and then provide a tiled map overlay.
I suggest looking at this blog post:
Custom and Offline Maps Using Overlay Tiles from VIGGIOSOFT
It goes into quite a bit of detail on what's required.
I need to create functionality where a user draws (freely) his daily route on a map. Using iOS Maps / Google Maps SDK, how can I achieve it? The MapView will be fixed at a location and a zoom level, so it doesn't move while the user is drawing. The user has to draw a route along the roads shown on the screen. How can I achieve this ?
This is implemented in this app
"There is no way to do that with MapKit: it's easy enough to draw lines when you know the coordinates, but MapKit won't give you access to the roads or other routing information. I'd say you need to call an external API to get your data"
Reference article: Drawing a route in MapKit in iPhone SDK
I'm looking for a way to add POIs to SKMapView heat map which are generated from my app. In the example provided with SDK there's only a way to show categories from internal data source.
I looked at category from SKMaps SDK and there're only two methods:
#interface SKMapView (HeatMaps)
- (void)showHeatMapWithPOIType:(NSArray *)poiTypes;
- (void)clearHeatMap;
#end
Also I have another question: how to set minimal and maximal zoom level for heat maps?
As an alternative I'm looking for a way to add custom overlay like in Apple Maps:
[self.mapView addOverlay:self.heatMap];
Currently heat maps work only with OSM POI types - generating heat maps from a custom POI data set is on the roadmap in the second part of 2015
I am using the MapBox iOS SDK for my project. Now I want to show shaded area in the Map for a particular area like any country, any continents etc. So how can I implement this feature.
Your suggestions and response will be helpful.
You can either do this client-side with something like RMShape or server-side by either shading things on the Mapbox.com online editor or making a custom map to upload with TileMill. The Mapbox site has lots of documentation on doing these things.
I want to create an app for ipad with custom map (very small pice of global map, like a google map), which have my design, but with same geo attributes as google map (for example). Can you advise me something?
I think it could be useful to take a look at Google Maps - Overlays