Click or drag to resize

Telogis.GeoBase.MapLayers.DivObject

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

MapLayers.DivObject inherits from MapLayers.AbstractObject.

A class for displaying arbitrary HTML in a DIV on an MapLayers.ObjectLayer.

Constructor
NameDescription
MapLayers.DivObject(config, beforeAttach)

Arguments

  • config (Object) - Configuration options for the MapLayers.DivObject.

    Properties
    NameTypeDescription
    innerHTMLString

    A string containing the html to fill the DIV with.

    Defaults to .
  • (Optional)beforeAttach (Function) - An optional callback to be executed (in arbitrary scope) after the object's element is created, but before it and its container element are attached to the document's DOM tree. Appropriate specification of this function can avoid unnecessary DOM reflows. Defaults to function () {}.

Functions
NameDescription
destroy ()

Frees resources used by the MapLayers.ImageObject.

setInnerHTML (String innerHTML)

Sets the HTML content of the DIV

Arguments
  • innerHTML (String) - A string containing the html to fill the DIV with.