Class kaXmlPoint
Object
|
+--kaXmlPoint
- class
kaXmlPoint
Defined in kaXmlOverlay.js
Constructor Summary |
kaXmlPoint
(pid, xml_overlay)
This object is a single point on the overlay.
|
Method Summary |
void
|
addGraphic( obj )
Add a new kaXmlGraphicElement to this kaXmlPoint.
|
void
|
clear()
Clear all the graphic elements of this kaXmlPoint.
|
void
|
parse(point_element)
Parse the XML fragment describing the point.
|
void
|
placeOnMap( x, y )
Show the point in the specified geo-position.
|
void
|
removeFromMap( )
Delete the point.
|
void
|
rescale(point_element)
|
void
|
setInnerHtml(ihtml)
Set the HTML content of this kaXmlPoint.
|
void
|
setPosition( x, y )
Move the point in the specified geo-position.
|
div
Object div
divId
Object divId
geox
Object geox
geoy
Object geoy
graphics
Object graphics
pid
Object pid
shown
Object shown
xml_overlay
Object xml_overlay
kaXmlPoint
kaXmlPoint(pid, xml_overlay)
This object is a single point on the overlay.
The object hold the div and all the stuff to draw and move the point
(symbol, label, icon, etc.).
pid The point ID (string)
xml_overlay The kaXmlOverlay object owner of this point
addGraphic
void addGraphic( obj )
Add a new kaXmlGraphicElement to this kaXmlPoint.
kaXmlGraphicElement subclasses are:
kaXmlSymbol
kaXmlIcon
kaXmlLabel
kaXmlLinestring
kaXmlPolygon
obj an object of class kaXmlGraphicElement
clear
void clear()
Clear all the graphic elements of this kaXmlPoint.
parse
void parse(point_element)
Parse the XML fragment describing the point. Then draw or translate
the point on the map.
point_element A DOM element
placeOnMap
void placeOnMap( x, y )
Show the point in the specified geo-position.
removeFromMap
void removeFromMap( )
rescale
void rescale(point_element)
setInnerHtml
void setInnerHtml(ihtml)
Set the HTML content of this kaXmlPoint.
This function delete any other content of the point.
ihtml A string containing the HTML
setPosition
void setPosition( x, y )
Move the point in the specified geo-position.
Documentation generated by
JSDoc on Mon Feb 5 08:25:15 2007