SiteWatch API Help

getDom

getDom

Previous topic Next topic  

getDom

Previous topic Next topic  

A method that returns a divmarker dom in a map location.

 

Return

Value

object:

A divmarker dom object.

 

Example:

var divmarker = map.getDivMarker("hello");

 

var dom = divmarker.getDom();

dom.innerHTML = "Hello World";

 

divmarker.update(); //Update the divmarker so the location is updated.