Class IWMarker

Extends IWOverlay.

IWMarker is an example implementation of the IWOverlay interface. IWMarker can be used to mark POI`s on the map.

Author: JAN

Constructor Summary
IWMarker(map, coordinate)
            Creates a new IWMarker object.
 
Method Summary
 void addScaleDependentIcon(scaleDependentIcon)
           Adds a scale dependent icon to the marker.
 void afterAppend()
           This method will be called by the addOverlay method after the marker has been added to the map.
 void beforeRemove()
           This method will be called by the removeOverlay method after the marker has been removed from the map.
 void destroy()
           Destroys the marker.
 IWIcon getDefaultIcon()
           Returns the default icon for this marker.
 Array getScaleDependentIcons()
           Returns the scale dependent icons.
 void setDefaultIcon(icon)
           Sets the default icon.
 void setScaleDependentIcons(newScaleDependentIcons)
           Sets the scale dependent icons to the marker.
 String toString()
           Returns a string representation of this marker.
 
Methods inherited from class IWOverlay
setHotspot(newHotspot)
getHotspot()
getLayer()
setCoordinate(newCoordinate)
getCoordinate()
beforeAppend()
afterRemove()
redraw()
destroyOverlay()
Methods inherited from class IWDraggable
allowDraggingOutsideParent(isDraggingOutsideParentAllowed)
isDraggingOutsideParentAllowed()
setOnMouseMoveContainer(container)
getOnMouseMoveContainer()
setDraggingBounds(bounds)
getDraggingBounds()
setDraggable(isDraggable)
isDraggable()
setDraggableContainer(draggableContainer)
getDraggableContainer()
setDragButton(button)
getDragButton()
Methods inherited from class IWMapElement
isDisplayed()
getParent()
setParent(newParent)
isVisible()
setVisible(visible)
setPrintable(printable)
isPrintable()
setContainerClassname(classname)
getContainer()
setContainer(newContainer)
setId(id)
getId()
onContextMenu(event)
onMouseUp(event)
onMouseDown(event)
onMouseMove(event)
onMouseOut(event)
onMouseOver(event)
onClick(event)
onDblClick(event)
onSelect(event)
onMouseWheel(event)
destroyMapElement()


Constructor Detail

IWMarker

IWMarker(map, coordinate)

Method Detail

addScaleDependentIcon

void addScaleDependentIcon(scaleDependentIcon)

afterAppend

void afterAppend()

beforeRemove

void beforeRemove()

destroy

void destroy()

getDefaultIcon

IWIcon getDefaultIcon()

getScaleDependentIcons

Array getScaleDependentIcons()

setDefaultIcon

void setDefaultIcon(icon)

setScaleDependentIcons

void setScaleDependentIcons(newScaleDependentIcons)

toString

String toString()

Source-Code Copyright 2007-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:50 GMT+0100 (MEZ)