Interface IInfoWindow

All Superinterfaces:
ICefObjRef, IOptionedMapObject<provided.mixedData.MixedDataDictionary>, IVisibleMapObject
All Known Subinterfaces:
IInfoWindowWrapped

public interface IInfoWindow
extends ICefObjRef, IVisibleMapObject, IOptionedMapObject<provided.mixedData.MixedDataDictionary>
Represents a pop-up information window on the map that can contain text, images or any other HTML component.
Author:
swong
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getContent()
    Get the HTML contents of the info window
    ILatLng getPosition()
    Get the ILatLng position of the window if set directly on the map, i.e.
    double getZIndex()
    Get the z-index layer position of the component
    void setContent​(java.lang.String str)
    Set the HTML contents of the info window
    void setInfoWindowEvent​(InfoWindowEventType eventType, java.lang.Runnable eventFn)
    Set the given event type on the info window
    void setPosition​(ILatLng latLng)
    Set the ILatLng position of the window if set directly on the map, i.e.
    void setZIndex​(double zIndex)
    set the z-index layer position of the component

    Methods inherited from interface provided.owlMaps.cefUtils.ICefObjRef

    getCefId

    Methods inherited from interface provided.owlMaps.general.IOptionedMapObject

    setOptions

    Methods inherited from interface provided.owlMaps.general.IVisibleMapObject

    getVisible, setVisible
  • Method Details

    • getContent

      java.lang.String getContent()
      Get the HTML contents of the info window
      Returns:
      The contents of the info window
    • setContent

      void setContent​(java.lang.String str)
      Set the HTML contents of the info window
      Parameters:
      str - The new contents of the window
    • getPosition

      ILatLng getPosition()
      Get the ILatLng position of the window if set directly on the map, i.e. not anchored.
      Returns:
      The ILatLng position
    • setPosition

      void setPosition​(ILatLng latLng)
      Set the ILatLng position of the window if set directly on the map, i.e. not anchored.
      Parameters:
      latLng - The ILatLng position
    • getZIndex

      double getZIndex()
      Get the z-index layer position of the component
      Returns:
      The current z-index value
    • setZIndex

      void setZIndex​(double zIndex)
      set the z-index layer position of the component
      Parameters:
      zIndex - The new z-index value
    • setInfoWindowEvent

      void setInfoWindowEvent​(InfoWindowEventType eventType, java.lang.Runnable eventFn)
      Set the given event type on the info window
      Parameters:
      eventType - The type of the event
      eventFn - The callback function to run when the event occurs.