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.
Related
I have had a look at a bunch of different map APIs and all the ones I have found require you to display their logo
I have had a look on the IOS app store and there are loads of apps that display a map without any logo
Does anyone know how this is done?
I have noticed the Apple mapkit doesnt require a logo but that one doesnt allow you to customize the map much visually.
All that I have seen on the app store have a different design to what mapkit provides and no logo.
Apple's MapKit allows you to customize the map visually by using the class MKTileOverlay.
Basically what you have to do is init that class with the URL of a Tile server and then add the overlay to the map view.
let myOverlay = MKTileOverlay(URLTemplate: /*Tiles server URL*/)
myOverlay.canReplaceMapContent = true
self.mapView.addOverlay(myOverlay)
Here you can check some free tiles servers:
https://openmaptiles.org
https://wiki.openstreetmap.org/wiki/Tile_servers
I tried to implement 3d touch feature for my app similar to Apple's contact app to show some favorite icon with image title and subtitle as shown in below image
Required Output
But what I developed it's looked like this
What I can Develop
is there any way I can develop this? or apple not allow this?
You need to implement a Today Widget to show that view.
I'm working on my first IOS app and I need to display a map where the user can see their current location and several locations specified by me in the form of pins or so.
Would also be cool if they could immediately plan a route to these locations.
Can anyone point me in the right direction?
You display a map on iOS with MKMapKit, an official library that allows you to add Apple Maps to your app. You can also set pins (MKPointAnnotation) and do routing (MKDirections API) with that.
There is a Ray Wenderlich tutorial covering the basics of MapKit here:
http://www.raywenderlich.com/21365/introduction-to-mapkit-in-ios-6-tutorial
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.
Okay, so we have an app written in objective-c for iOS. My job is to rewrite it using html/css/javascript and phonegap as a multiplatform app for ios and android.
Part of the existing objective-c app works like this: you select an item off a list, and it loads an embedded map from ios's built-in maps (not google maps) and puts a marker on the map where that item is. You can tap on the marker and it brings up a little info box with a button to "See more info," which if pressed takes you to a separate part of the app with information regarding the item.
This is the part I'm trying to get working in html/css right now, and I don't even know if that's possible.
So here's my question: can that be done using the google maps api, the whole embedding functionality into the map? i need that little info box which brings me back to the app; that's the crucial portion. Does anyone know whether this is possible, and whether there are any good references, examples, or tutorials to help out?
In the Google Maps API you can add Markers.
You can add a "click" event listener to the Marker where you can then open an InfoWindow.
In the InfoWindow, you can place some HTML, including a link or button that invokes a JavaScript function that will take you to the next screen of your web app.