Class PopupWindow

java.lang.Object
io.jmix.mapsui.component.PopupWindow

public class PopupWindow extends Object
Component that displays html content in a popup window on a GeoMap at a given location.
  • Constructor Details

    • PopupWindow

      public PopupWindow(org.locationtech.jts.geom.Point point)
      Creates an instance of a popup that will be opened in the given geographical point.
      Parameters:
      point - geographical point where popup will be opened
    • PopupWindow

      public PopupWindow(org.locationtech.jts.geom.Point point, String content)
      Creates an instance of a popup that will be opened in the given geographical point.
      Parameters:
      point - geographical point where popup will be opened
      content - the HTML content of the popup
  • Method Details

    • getPoint

      public org.locationtech.jts.geom.Point getPoint()
      Returns the geographical point of the popup window.
    • setPoint

      public PopupWindow setPoint(org.locationtech.jts.geom.Point point)
      Sets the geographical point where the popup window will be opened.
      Parameters:
      point - geographical point
      Returns:
      the instance of PopupWindow on which this method was called. Useful for a fluent API.
    • getContent

      public String getContent()
      Returns the content of the popup window
    • setContent

      public PopupWindow setContent(String content)
      Sets the HTML content of the popup window.
      Parameters:
      content -
      Returns:
      the instance of PopupWindow on which this method was called. Useful for a fluent API.
    • getPopupWindowOptions

      public PopupWindowOptions getPopupWindowOptions()
    • setPopupWindowOptions

      public PopupWindow setPopupWindowOptions(PopupWindowOptions popupWindowOptions)
      Sets custom options for the popup window.
      Parameters:
      popupWindowOptions -
      Returns:
      the instance of PopupWindow on which this method was called. Useful for a fluent API.