Class GInfoWindow

    • Constructor Detail

      • GInfoWindow

        public GInfoWindow​(GLatLng latLng,
                           String content)
        Constructor.
        Parameters:
        latLng - the position where the info window should be opened
        content - the (HTML) content which should be shown. Any containing apostrophes will be escaped.
      • GInfoWindow

        public GInfoWindow​(GLatLng latLng,
                           Component content)
        Constructor.
        Parameters:
        latLng - the position where the info window should be opened
        content - the Component which should be shown. Internally uses document.getElementById('" + markupId + "') to link to the GInfoWindow
    • Method Detail

      • getJSconstructor

        public String getJSconstructor()
        Description copied from class: GOverlay
        Implement the needed JavaScript constructor for the corresponding JavaScript object.
        Specified by:
        getJSconstructor in class GOverlay
        Returns:
        String representing the JavaScript constructor.
      • isOpen

        public boolean isOpen()
      • close

        public void close()
      • getLatLng

        public GLatLng getLatLng()
      • setMaxWidth

        public void setMaxWidth​(Integer maxWidth)
      • setLatLng

        public void setLatLng​(GLatLng latLng)
      • getContent

        public String getContent()
      • setContent

        public void setContent​(String content)
      • getMaxWidth

        public Integer getMaxWidth()
      • getDisableAutoPan

        public Boolean getDisableAutoPan()
      • setDisableAutoPan

        public void setDisableAutoPan​(Boolean disableAutoPan)
      • getzIndex

        public Integer getzIndex()
      • setzIndex

        public void setzIndex​(Integer zIndex)