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.StringgetContent()Get the HTML contents of the info windowILatLnggetPosition()Get the ILatLng position of the window if set directly on the map, i.e.doublegetZIndex()Get the z-index layer position of the componentvoidsetContent(java.lang.String str)Set the HTML contents of the info windowvoidsetInfoWindowEvent(InfoWindowEventType eventType, java.lang.Runnable eventFn)Set the given event type on the info windowvoidsetPosition(ILatLng latLng)Set the ILatLng position of the window if set directly on the map, i.e.voidsetZIndex(double zIndex)set the z-index layer position of the componentMethods inherited from interface provided.owlMaps.cefUtils.ICefObjRef
getCefIdMethods inherited from interface provided.owlMaps.general.IOptionedMapObject
setOptionsMethods 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
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
Set the given event type on the info window- Parameters:
eventType- The type of the eventeventFn- The callback function to run when the event occurs.
-