Interface CPPointOfInterestTemplateDelegate


  • public interface CPPointOfInterestTemplateDelegate
    API-Since: 14.0
    • Method Detail

      • pointOfInterestTemplateDidChangeMapRegion

        void pointOfInterestTemplateDidChangeMapRegion​(@NotNull
                                                       @NotNull 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​(@NotNull
                                                                     @NotNull CPPointOfInterestTemplate pointOfInterestTemplate,
                                                                     @NotNull
                                                                     @NotNull CPPointOfInterest pointOfInterest)
        The user has selected the @c pointOfInterest and the details are being shown.