It's posible with help of MKMapItem to open Map application with two points provided, but user should tap on Start button in top-right corner anyway. Is it possible to skip this step and proceed to turn-by-turn voice navigation immediately? So far only posible way I know is to use private framework to generate touch event, but I need more legal solution.
Related
In the Apple Maps app there is a blue arrow pointing in the direction the phone is facing(marked on the attached screenshot).I can't find how to do the same in my app using MapKit.
I need the map to be facing north and the blue dot with an arrow, just like in the default mode in the apple Maps app.I know I can do this by manually drawing an arrow. But, since it is already implemented in the Maps app, is there a standard setting that allows to achieve this in MapKit?
Currently the only way to achieve this is to create it manually, as Apple does not have any exposed API for it yet.
I posted quite a detailed implementation answer on this post: https://stackoverflow.com/a/40808645/4769084
Basically you need to add your own 'blue arrow icon' to the mapView user location view, then track the device's 'heading' to rotate the 'blue arrow icon' appropriately.
i am building an app for demonstration at a innovation-event. In this app, there is a map and the classic blue dot is showing where we are. Because this is just a demonstration/demo app, i need to simulate that our location changes, so the blue dot moves around.
I know this is possible if you connect the phone to xcode, but i need this function to be standalone in the app, without the requirement of a mac.
So i have searched for a long time now, how to overwrite a users location, and i can't seem to find an answer. Hope you guys can help me, i am building the app in Swift btw.
You can not set the location with public API. (Not sure about private API if you are not planing to release to Appstore, though.)
Your best option is to introduce your own blue dot and attach it as custom pin. Then move around the pin .,.
I'm developing a iOS Map application. My concern is when user zoom In/ zoom out the map by default there are couple of places(like it will show some coffee shops,restaurants,etc... with respective icons for each) will be highlighting based on the location/region user perform zoom . In iPhone menu Maps application When user tap on any of those icons, it will show annotation with the name of place user tapped and the reviews of that place (like coffee shop,restaurant,etc..). If the same tap perform on my iOS application I'm not able to see any annotation and it will like disable not taking any actions. Can any one please help me on how can I show annotation like the way how iPhone menu Maps application showing?
Thanks in advance,
I'm sorry but that won't be possible ! Apple didn't allow developers to get their hands on these features.
As you can see in another application from Apple : Find My Friends, nothing would happen if you tap on these native annotations.
You can only play with these annotations in the native Apple Maps application.
Right now I am working on one application which needs to have an interactive image.
While the user is viewing this image, they should be able to drop pin/marker onto the image by tap any location on the image. Once a pin/marker is dropped on the image, user should be able to tap the pin/marker again to add some comments to the pin, delete this pin/marker or even some other operation.
Right now, I am using the MKOverlayView to hold my image and put the MKOverlayView into a MKMapView so that I can use customized annotations to do that. However, there are always some zooming issues when I limited the visible region of the view(Because I do not need the entire world map). More importantly, I find out that I cannot get rid of the leftbuttom legal link(I need to submit my app to app store. And Apple does not allow it.) Also, each time when I first load the app, I can definitely see the mapping is loading and the map grid. And I do not want user to see it.
So I am thinking to find some other ways. Can anyone provide me a more feasible way to implement it, like some similar project example or tutorial? Any help is appreciated.
Thanks
I am using the Leaflet JavaScript library to display the offline maps in an iOS application under the Titanium platform.
I am able to show it in my application but I have a problem regarding the click event on multiple markers at the same position.
How can I handle it or cycling the click event on the marker.
First it clicks on one and then another.
Is there any way the library provides, or another way to achieve this.
Screenshot
Please provide me any ideas on how to solve that.
You can use Leaflet Overlapping Marker Spiderifier or Leaflet.markercluster plugins to make this situation more user-friendly.