Applying annotations to map kit - ios

My problem is that I cannot find any up to date tutorials with iOS6 and map kit that include storyboards instructing you on how to apply annotations/pins with the use of for-ordinates.
My homework tells me that the tutorials out there are xib, iOS 5 related which now defeats the point because apple implemented their own maps with ios6 and are no longer using Google's..
I've used google and checked out apple's developer's guide..
I can't be the only one searching for this answer...?
Many thanks.

The MapKit API is essentially same between iOS5 and iOS6 - what changed was the source of the mapping data, the graphic design of the maps, and the use of vector data over bitmap data. But most of this is opaque at the API level. Between iOS versions you continue to use the same framework and classes. There are a few additions (such as MKMapItem, routing) and a few simplifications, but any code written for Apple's iOS5 MapKit SDK will work with iOS6 MapKit.
Issues of xib vs. storyboard tutorials are not specific to MapKit, and nothing in MapKit relies on one or the other, so you shouldn't allow that to confuse you. However, here is an iOS6 tutorial to get you started:
http://www.raywenderlich.com/21365/introduction-to-mapkit-in-ios-6-tutorial
For an overview of changes between ios5 and ios6 MapsKit, take a look at the WWDC video from 2012,Getting Around Using Map Kit.

so by using the code below, I've manage to place one pin by using coordinates and placing it in viewDidLoad, but when the code is copied, it fails to build. Any solutions for adding multiple co-ordinates?

Related

How to implement clickable info-bubble on tap of marker in HERE maps in iOS?

I have integrated HERE maps successfully in my iOS app, but now I am facing an issue in implementing info-bubble on tap of markers on HERE map.I have searched on HERE documentation for iOS SDK, but can't find anything relevant. There are many solutions for JS, but nothing for iOS.
This feature doesn't seem to exist on iOS and Android. In order to create a similar behaviour in iOS, you should use NMAMapOverlay instead and add your own subviews/styling to it.
The iOS SDK documentation states that NMAMapOverlay can be used to display custom UIView-based content at a fixed location on the map. (...) Then, give the overlay a NMAGeoCoordinates location and add it to a map. The overlay will automatically be repositioned on the screen as the map moves.
You can find more information about the best practices for the implementation here:
https://developer.here.com/documentation/ios-premium/3.15/api_reference_jazzy/Classes/NMAMapOverlay.html

Animated Marker on Mapbox

It seems that mapbox updated its ios SDK recently with some huge change.
For example, it seems that it is not possible anymore to provide a layer as a custom marker, or to animate a marker as in this example:
https://www.mapbox.com/mapbox-ios-sdk-legacy/examples/cakeyframeanimation/
It seems that every reference to that example is related to a RMM* named class which has been deprecated.
How can I implement an animation in a Mapbox's MGLMapView?
Any kind of suggestion is appreciated, from a series of png to a CAEmitterLayer, to a generic view to be used as a marker so that I could do anything I want with it.
View-based annotations/markers is a feature that will be coming in the v3.3.0 release. Once you’re able to use views, you’ll also be able to use the same Core Animation methods you’re familiar with.
If you would like to try out a pre-release version of v3.3.0, have a look at alpha 3, which has preliminary support for view-based annotations — see MGLAnnotationView.

How to draw a circle on MapBox MGLMapView?

I'm using MapBox SDK 3.1.1 for iOS, and it doesn't seem there's a way to draw a circle as an overlay (Polygons are included as primitives)
There used to be a way on the legacy SDK, but it's no longer maintained.
Can someone provide insights?
thanks!
If anyone is interested, there's currently no replacement for RMCircle (present in in 1.x version) in the 3.1 SDK.
There's a workaround described here, that uses MapBox annotations
https://github.com/mapbox/mapbox-gl-native/issues/2167#issuecomment-169265375
Look for
- (MGLPolygon*)polygonCircleForCoordinate:(CLLocationCoordinate2D)coordinate withMeterRadius:(double)meterRadius
In addition to what friedbunny suggested (and based on info in the link he posted), you can fix the zoom level, and use metersperpixelatlatitude to make an image of fixed size for your annotation. Then, use the imageForAnnotation MGLMapViewDelegate callback to provide the "overlay" as the MGLAnnotationImage.
If you want to change zoom levels with this method though, you're looking at some pretty tricky juggling of delegate methods and possibly several minor hacks.

Removing Apple Maps Default Annotations

I have been building an app that pins places to a map and have been using Apple Maps for it thus far. However, I've noticed that when zoomed in, the default POI annotations that Apple has included in its maps are quite distracting and make the map feel cluttered when I add my own annotations to the map as well.
I am searching for a way to turn these POIs off in the API but have yet to find the correct property or method to do so.
Just to note, it does appear possible as the new OpenTable app is using Apple Maps, but has found a way to remove these POI annotations. I would post images of each to show the difference, but apparently I need 10 reputation points to do this!
If anyone can even point me to a link that will show me how to remove these, I'm happy to read documentation.
Looking at the documentation there is a showsPointsOfInterest as of iOS 7, just set it to NO (ObjC) or false (Swift).

create animation in iOS project like Adobe after effect

I have to create the same animation like http://dribbble.com/shots/1078726-Animated-UI-AE-giveaway in my iOS application.
Is there any iOS SDK for the same which can be used for this?
Any help would be appreciated
That depends on what SDK support you are looking for. You can rotate views in 3D space with a perspective using Core Animation allowing you to fold them.
I would recommend that you read this article about the Anatomy of a Folding Animation. That should get started with folding views. The rest seems to be applying the same kind of fold animation many different times on different parts of the UI.
You will not get any ready made project same as you want.
But you can always learn from example.
If you really want to learn animation in iOS that you should read:
Basic iOS 6 iPhone Animation using Core Animation
You can alo refer Apple iOS document of Core Animation: About Core Animation
If you want to see example from some developer that visit : Search results for animation
This two I think very related to you :
FlipTransform for iOS
MPFoldTransition for iOS
PaperFold-for-iOS

Resources