MapKit Updates 2024 : Get Place Details With Swiftui

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024

Комментарии • 4

  • @alexlopezalbertos
    @alexlopezalbertos 21 день назад

    Loved the video!! Is it possible to display the card when tapping on the marker instead of creting a button for it?
    For example, could you make a list of 5 placeIDs and tap on their markers to get their sheet of information? I can’t get it to work.
    Thanks for the learnings 😊

    • @programmingwithapurpose6807
      @programmingwithapurpose6807  21 день назад

      Yes watch the part2 of it you will get some answers. But the sheet displayed will not have a map. Thanks for the appreciation!

    • @alexlopezalbertos
      @alexlopezalbertos 21 день назад

      @@programmingwithapurpose6807 following that one right now! Is there a way to display the full sheet view or is that simply not possible by tapping on the marker? Thanks!

    • @programmingwithapurpose6807
      @programmingwithapurpose6807  20 дней назад

      @@alexlopezalbertos Yes it is possible. You need to use mapItemDetailSelectionAccessory(.sheet) for that. Kindly follow this video ruclips.net/video/sAcZvDag1-o/видео.html for complete details. This code is towards the end of video.