Interface CPPointOfInterestTemplateDelegate


  • public interface CPPointOfInterestTemplateDelegate
    • Method Detail

      • pointOfInterestTemplateDidChangeMapRegion

        void pointOfInterestTemplateDidChangeMapRegion​(CPPointOfInterestTemplate pointOfInterestTemplate,
                                                       MKCoordinateRegion region)
        The user has changed the map region on the @c CPPointOfInterestTemplate. Your application should respond by updating @c pointsOfInterest to show new points of interest for the new region.
      • pointOfInterestTemplateDidSelectPointOfInterest

        default void pointOfInterestTemplateDidSelectPointOfInterest​(CPPointOfInterestTemplate pointOfInterestTemplate,
                                                                     CPPointOfInterest pointOfInterest)
        The user has selected the @c pointOfInterest and the details are being shown.