SiteWatch API Help

addEventItem

addEventItem

Previous topic Next topic  

addEventItem

Previous topic Next topic  

A method to add an event item to a map location.

 

Parameter

Value

id: string

Identity of object.

 left:

isn93 map left location.

 right:

isn93 map right location.

 top:

isn93 map top location.

 bottom:

isn93 map bottom location.

 

Return

Value

object:

An event item object.

 

Example:

var eventitem = map.addEventItem("event",

{ left: 359583 - 20, right: 359583 + 20, top: 406481 + 20, bottom: 406481 - 20 } );