iOS Tutorial: Creating multiple annotations OR pins in a MapView

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ม.ค. 2025

ความคิดเห็น • 66

  • @rodvillass
    @rodvillass 12 ปีที่แล้ว

    Great video! Exactly the thing i'm working on...looking forward to your next videos GREAT JOB!

  • @jeffreylanghorst9168
    @jeffreylanghorst9168 12 ปีที่แล้ว

    Hi, i'm starting programing Objective-C in Xcode and really like your tutorials! Nice Job, keep on going!!!

  • @thierrymercier2614
    @thierrymercier2614 11 ปีที่แล้ว

    Hello Vishal,
    Your tutorials are by far the best on the web. What makes them great is that you actually explain the "what" and the "why" thoroughly allowing us to actually understand what we are coding and why we are coding it.
    With that said, I have been trying, for several weeks now, to continue after your "adding multiple annotation to a map" tutorial, by adding detail disclosure to callout. I can do that but cannot push anything from there. In your tuto, you mentioned you were going to make another tuto explaining just that. I can't find it anywhere. Did it ever come out?
    Thanks again for helping us beginners.

  • @shruthim.d4661
    @shruthim.d4661 11 ปีที่แล้ว

    Very well explained Vishal.. Please upload
    more and more videos.

  • @black13078
    @black13078 11 ปีที่แล้ว

    Nice video Vishal! Keep up the good work

  • @joshbusche7968
    @joshbusche7968 11 ปีที่แล้ว

    Your map tutorials are great! I wish you would continue this series, get into overlays and other things.

  • @abhishekjain6985
    @abhishekjain6985 11 ปีที่แล้ว

    Nice Work Vishal, Thanx for great tutorial

  • @ac1973
    @ac1973 11 ปีที่แล้ว

    You are a great tutor, thank you so much.
    You have mentioned that we can add a photo to each of the annotation, which lesson is that?

  • @aaronackerman5245
    @aaronackerman5245 12 ปีที่แล้ว

    Please keep making great videos!

  • @JOAOPAULODIAS
    @JOAOPAULODIAS 11 ปีที่แล้ว +1

    Thank you man, you save the day!!!

  • @zigang93
    @zigang93 9 ปีที่แล้ว

    Thank For This Great Tutorial!!!

  • @VishalKurup
    @VishalKurup  12 ปีที่แล้ว

    Thanks for the kind words Aaron!

  • @chintangatecha1
    @chintangatecha1 12 ปีที่แล้ว

    Thanks Vishal for super video..
    *Instant Subscribe

  • @smashingpuffins
    @smashingpuffins 12 ปีที่แล้ว

    Thanks for the great tutorials. If i wanted to zoom into my current location instead of Wimbledon what would i need to do?

  • @VishalKurup
    @VishalKurup  11 ปีที่แล้ว

    Thanks for the kind words!

  • @TheBIGDBz
    @TheBIGDBz 10 ปีที่แล้ว +1

    This has been a great series I am learning so much. Thanks.
    Any chance you can put up a video on how to use a selection from a table view for the Map to display.

  • @kintakintai2
    @kintakintai2 12 ปีที่แล้ว

    Nice tutorial! Any chance you have one coming soon on how to add annotations using a database of some sort?

  • @SourovDattacse
    @SourovDattacse 9 ปีที่แล้ว +1

    Great Tutorial . very easy and Transparent . Thanks !
    How to add an image in Annotation ?

  • @jejoems4602
    @jejoems4602 10 ปีที่แล้ว

    thank you so much I really tried that from other tutorials but did not work, when I do your way it's work perfectly! I really don't know how can I thank you !

  • @BrettDavidsonAdventures
    @BrettDavidsonAdventures 8 ปีที่แล้ว

    Excellent tutorial. Could you show us how to create the custom annotations that you mentioned at the end of this tutorial?

  • @slimgardener
    @slimgardener 11 ปีที่แล้ว

    Great videos!
    I am curious why you didn't use CoreLocation when also calling MapKit. is it already included by default?

  • @thomasday4519
    @thomasday4519 10 ปีที่แล้ว

    Hi Vishal, thanks for these tutorials on MapKit which are a real help in building my app. Would you be able to tell me how you add a button onto an annotation so you can see more details? You said there would be an other video in the series for this but I can't find it.
    Thanks again.

  • @melisadelagarza7076
    @melisadelagarza7076 11 ปีที่แล้ว

    Hey, your tutorial really helped me get near my goal, I was wondering if you could help me put custom images in the pins. I'd like to put a different image in each pin, like the club logo or t-shirt instead of the red pin.

  • @1srijumnong
    @1srijumnong 11 ปีที่แล้ว

    very good iOS Tutorial

  • @gymmebger2197
    @gymmebger2197 10 ปีที่แล้ว

    Hi Vishal, great tutorial. but can you please do a video of how to automatically display nearest pin to user's current location? I have checked all around youtube but there seems to be nothing about that topic. thanks very much

  • @hoyls91
    @hoyls91 11 ปีที่แล้ว

    so so useful.. thanks

  • @VishalKurup
    @VishalKurup  12 ปีที่แล้ว

    Thanks Jeffrey!

  • @VishalKurup
    @VishalKurup  12 ปีที่แล้ว

    Gracias! :)

  • @samersalib5256
    @samersalib5256 9 ปีที่แล้ว +1

    I'm wondering if you have a direct link to the next video of this tutorial. I couldn't find any in your channel videos...

  • @yirenwang4192
    @yirenwang4192 11 ปีที่แล้ว

    An instance 0x8463810 of class Annotation was deallocated while key value observers were still registered with it. Observation info was leaked, and may even become mistakenly attached to some other object. Set a breakpoint on NSKVODeallocateBreak to stop here in the debugger.

  • @safaktarazan
    @safaktarazan 11 ปีที่แล้ว

    perfect, thanks

  • @JasonEnglish415
    @JasonEnglish415 12 ปีที่แล้ว

    Nice one vtkurup , but I have some problems in the debugging window.. Please Help me!

  • @slimgardener
    @slimgardener 11 ปีที่แล้ว

    Also, I have a file with a few hundred points I'd like to bring up as pins on the map, how can I use parsed data to feed the annotations for the user to view?

  • @jeffriprabu8971
    @jeffriprabu8971 11 ปีที่แล้ว

    Great Tutorial. please can you share the code?

  • @Gowthamkosaraju
    @Gowthamkosaraju 11 ปีที่แล้ว

    I have small doubt regarding this tutorial why u have set
    //center only for arsenal and not for chelase

  • @sastrychamarthy
    @sastrychamarthy 12 ปีที่แล้ว

    Can you add a tutorial on xml parsing ?

  • @jonmillar652
    @jonmillar652 11 ปีที่แล้ว

    Hi there, I love this video, many thanks nice and east to understand. One quick question if you don't mind. When you run the app is there a way to have the Annotations displayed rather than just the pin? thanks again Cheers Jon

    • @VishalKurup
      @VishalKurup  11 ปีที่แล้ว

      Hi Jon -- I believe that you have to call a method called selectAnnotation:animated on one of the annotations to display the callout by default.

    • @jonmillar652
      @jonmillar652 11 ปีที่แล้ว

      Ill give it a go, thank for taking the time to reply, cheers!

  • @slimgardener
    @slimgardener 11 ปีที่แล้ว

    If I have a few hundred annotations I want to place on a map, how can I loop them? I tried but I get either an error or none.

  • @raulnieblas
    @raulnieblas 11 ปีที่แล้ว

    Hello Vishal Kurup how can I change the color of those pins

  • @yasserjennani590
    @yasserjennani590 11 ปีที่แล้ว

    Hello , thanks again for ur great tutorials , well i have a question
    i'm working on a project in which i have to show markers for restaurants if i click on show hotels , i should see only hotels and so on kind of a filter .
    I'm wondering if u have any samples , advices ??
    Thanks

    • @VishalKurup
      @VishalKurup  11 ปีที่แล้ว +1

      Hi Yasser -- I have done something similar before. I needed to allow the user to determine what was being displayed on the map (in my case it was types of available parking). Here's how I implemented it -- I created a view controller with a picker view in it. Then in my mapview's toolbar, i added a button that when tapped would load the above picker view modally. When the user selected the desire option in the picker view, I would save that to a file on the device and then anytime the mapview loaded up, i would simply read that file to determine what type of markers they wanted to see. Make sense?

    • @yasserjennani590
      @yasserjennani590 11 ปีที่แล้ว

      ***** Yes i get the idea , but since i'm a begginer in ios development i need some samples or tutorial t follow in order to digest it at 100% i don't know if u can sahre a sample but thanks again for ur answer ;)

  • @albaity
    @albaity 11 ปีที่แล้ว

    How to display all pins with titles automatically once load , is that possible

  • @khgriffi
    @khgriffi 11 ปีที่แล้ว

    Why don't you initialize the myAnnotation object?

  • @t7l4u
    @t7l4u 8 ปีที่แล้ว

    Hi,
    The 3 previous videos made me do what I wanted to do, except this one :)
    I added a "User Location" and I made pin (only one) which was in the same country that I am, I want to set direction directly from "User Location" to the pin, no button not click what so ever, run the application and that's it, a "User Location" directs to the pin, the thing is, you don't have a video for that! And I don't know how to do the direction.
    p.s. these videos are great btw.

  • @lassu01
    @lassu01 8 ปีที่แล้ว

    What would the code be to add a right callout that would segue to another view controller?

  • @phuocvinh651
    @phuocvinh651 11 ปีที่แล้ว +1

    thanks

  • @armenavoyan7387
    @armenavoyan7387 10 ปีที่แล้ว

    First, great tutorial, you're awesome!! Keep it up :)
    Just one concern. I am a beginner, im sure i did something wrong. I followed your tutorial, no issues and no errors. But when i go to run the program, it gives me a "SIGABRT"
    Please Help!

  • @incmiko
    @incmiko 12 ปีที่แล้ว

    nice ;)

  • @yirenwang4192
    @yirenwang4192 11 ปีที่แล้ว

    i coded 5 pins but only 2 pins appear in the simulator, please help!

  • @nappychef35
    @nappychef35 9 ปีที่แล้ว

    Excellent tutorial. Could you show us how to create the custom annotations that you mentioned at the end of this tutorial? annotationView.image = [UIImage imageNamed:@"pin_image.png"];

  • @promelody6672
    @promelody6672 6 ปีที่แล้ว

    12/09/2018 It work

  • @JasonEnglish415
    @JasonEnglish415 12 ปีที่แล้ว

    this class is not key value coding-compliant for the key MKMapView.'
    Help!

  • @ashfur1
    @ashfur1 10 ปีที่แล้ว

    Hello,
    Iam getting the following error while doing a build. I added the CoreLocation.framework to "Link binaries with libraries" but still getting the same error.
    Undefined symbols for architecture i386:
    "_OBJC_CLASS_$_Annotation", referenced from:
    objc-class-ref in TCMapViewController.o
    ld: symbol(s) not found for architecture i386
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    • @VishalKurup
      @VishalKurup  10 ปีที่แล้ว

      Arshad take a look at this thread on Stack Overflow: stackoverflow.com/questions/6984368/undefined-symbols-for-architecture-i386-objc-class-skpsmtpmessage-referenc

  • @abhishekjain6985
    @abhishekjain6985 11 ปีที่แล้ว

    please increase the Span value dear

  • @VishalKurup
    @VishalKurup  11 ปีที่แล้ว

    Not quite sure I understand.

  • @iLaffTV
    @iLaffTV 12 ปีที่แล้ว

    If only you would've made this tut like 2 months ago :(

  • @ayhanb
    @ayhanb 11 ปีที่แล้ว

    dont understand one thing you are running on one instance of class annotation each instance of should be name different maybe

  • @ElisaMcleanqueekd
    @ElisaMcleanqueekd 10 ปีที่แล้ว

    Does anyone know if there is more than one ios mapkit? My app developers have implemented an ios mapkit, but when you search for a place it displays the location only, without the actual place name/title. They say the map can't display the name aswell as the lcoation. But surely this can't be right, the map is pretty much useless without the name being displayed also.

    • @xsv2970
      @xsv2970 10 ปีที่แล้ว

      Apple only has one MapKit, but I believe you can download the google map SDK from their developer site. I recommend just using Apples map kit though since it's native to the phone. And they're wrong tell them to google it hah

    • @ElisaMcleanqueekd
      @ElisaMcleanqueekd 10 ปีที่แล้ว

      Thanks!!

  • @uliulia4332
    @uliulia4332 7 ปีที่แล้ว

    update this vide or delete as it makes difficult to look for fresh tutorials for swift 3

  • @incmiko
    @incmiko 12 ปีที่แล้ว

    I sent u a private message, did u read that? :P