Quikmaps classes

Class QMap

Object
   |
   +--GMap2
         |
         +--AbstractQMap
               |
               +--QMap

class QMap
extends AbstractQMap

Field Summary
<static>  Object DRAW
          Static property for 'draw lines' drawing mode
<static>  Object MARKERS
          Static property for 'normal' drawing mode
<static>  Object SCRIBBLE
          Static property for 'scribble' drawing mode
 
Constructor Summary
QMap(<HTMLDivElement> container, <Object> opts)
            The map object -- instantiated to place a map on a page.
 
Method Summary
 void addOverlay(<Overlay> overlay, noDataAdd)
           Add overlay to the map.
 void centerOnGeoText(<String> text)
           Geocode the input text and center the map on the first response.
 void clearOverlays()
           Clear overlays from the map.
 void disableEditing()
           Disable map editing
 Object editingEnabled()
           Test whether or not editing is enabled on the map
 void enableEditing()
           Enable map editing
 Object getDrawingColour()
           Get the current drawing colour
 Object getDrawingMode()
           Get the current drawing mode.
 Object getDrawingWidth()
           Get the current drawing width
 Object getGpx()
           Get a string of GPX text representing the map data
 Object getJSON()
           Get the JSON text representing the map data
 Object getKml()
           Get a string of KML text representing the map data
 Object getObject()
           Get a JavaScript data object representing the map data
 Object getXml()
           Get the QMaps XML text representing the map data
 void importJSON(<String> json)
           Import the json-formatted string.
 void importObject(<Object> obj)
           Import map data from the QMaps JavaScript object.
 void importXml(<String> xml)
           Import the xml data onto the map.
 void loadXml(<String> url, <Boolean> append)
           Set the xml data on the map by loading the data from a URL
 void setDrawingColour(<String> colour)
           Set the drawing colour.
 void setDrawingMode(<String> mode)
           Set the map drawing mode.
 void setDrawingWidth(<String> width)
           Set the drawing width.
 void setJSON(<String> json)
           Set the map data according to the json-formatted string.
 void setObject(<Object> obj)
           Set the map according to the QMaps JavaScript object.
 void setXml(<String> xml)
           Set the xml data on the map.
 
Methods inherited from class AbstractQMap
overlays, markers, polylines, removeOverlay, getMouseEventTarget
 

Field Detail

DRAW

<static> Object DRAW

MARKERS

<static> Object MARKERS

SCRIBBLE

<static> Object SCRIBBLE

Constructor Detail

QMap

QMap(<HTMLDivElement> container, <Object> opts)

Method Detail

addOverlay

void addOverlay(<Overlay> overlay, noDataAdd)

centerOnGeoText

void centerOnGeoText(<String> text)

clearOverlays

void clearOverlays()

disableEditing

void disableEditing()

editingEnabled

Object editingEnabled()

enableEditing

void enableEditing()

getDrawingColour

Object getDrawingColour()

getDrawingMode

Object getDrawingMode()

getDrawingWidth

Object getDrawingWidth()

getGpx

Object getGpx()

getJSON

Object getJSON()

getKml

Object getKml()

getObject

Object getObject()

getXml

Object getXml()

importJSON

void importJSON(<String> json)

importObject

void importObject(<Object> obj)

importXml

void importXml(<String> xml)

loadXml

void loadXml(<String> url, <Boolean> append)

setDrawingColour

void setDrawingColour(<String> colour)

setDrawingMode

void setDrawingMode(<String> mode)

setDrawingWidth

void setDrawingWidth(<String> width)

setJSON

void setJSON(<String> json)

setObject

void setObject(<Object> obj)

setXml

void setXml(<String> xml)

Quikmaps classes

Documentation generated by JSDoc on Fri Jul 27 18:32:22 2007