SiteWatch API Help

getDivMarker

getDivMarker

Previous topic Next topic  

getDivMarker

Previous topic Next topic  

A method that returns a divmarker in a map location.

 

Parameter

Value

id: string

Identity of object.

 

Return

Value

object:

A divmarker 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.