Class CustomPopupHandler

java.lang.Object
com.massifmaps.vectorelements.CustomPopupHandler

public class CustomPopupHandler extends Object
A handler class for custom popups. The handler is responsible for drawing the popup
and reponding to click events.
  • Constructor Details

    • CustomPopupHandler

      public CustomPopupHandler()
  • Method Details

    • onDrawPopup

      public Bitmap onDrawPopup(PopupDrawInfo popupDrawInfo)
      Handler method that gets called when the popup needs to be drawn to a bitmap.
      Parameters:
      popupDrawInfo - The information about the popup to be rendered.
      Returns:
      The drawn bitmap.
    • onPopupClicked

      public boolean onPopupClicked(PopupClickInfo popupClickInfo)
      Handler method that gets called when the popup is clicked
      Parameters:
      popupClickInfo - The information about the popup click event.
      Returns:
      True if the click was handled. False otherwise.