Class MultimapViewer

Object
   |
   +--MMViewer
         |
         +--MultimapViewer

class MultimapViewer
extends MMViewer

Defined in MultimapAPI


Field Summary
<static>  Object superclass
          
 
Constructor Summary
MultimapViewer ( <HTMLElement> div_element, <integer> map_type, <integer> extra )
            The Multimap mapviewer.
 
Method Summary
 InfoBoxOverlay createInfoBox( <MMLocation> position, html, <String> cssClass, <MMPoint> anchor , <boolean> dont_move, <boolean> no_combine_classes )
           A function to add an info box to the mapviewer.
 MarkerOverlay createMarker( <MMLocation> position, <String> label, <MMIcon> icon, text )
           A function to add a marker to the mapviewer.
 Array getAvailableMapTypes()
           Retrieves the list of possible map types.
 String getClient()
           Retrieves the client service name for the mapviewer.
 MMLatLon getCurrentPosition()
           Gets the current position of the map.
 MMBounds getMapBounds()
           Returns the bounds of the rectangle displayed in the mapviewer.
 MMLatLon getMapPositionAt( <MMPoint> step )
           Returns the position at the given pixel offset.
 integer getMapType()
           Gives the current map type.
 String getScaleBarUnits()
           Gets the units currently used for the scale bar.
 MMPoint latLonToMercator( latlon )
           Converts lat/lon to Mercator Eastings/Northings.
 MMLatLon mercatorToLatLon( mercator )
           Converts Mercator eastings/northings to lon/lat.
 Object parseXML( <String> xml )
           Parses an XML string.
 void setMapType( <integer> map_type )
           Changes the current map type.
 void setScaleBarUnits( <String> units )
           Sets the units for the scale bar.
 
Methods inherited from class MMViewer
removeOverlay, removeAllOverlays, addOverlay, redisplayOverlay, getXMLHTTPRequest, getAutoScaleLocation, resetPosition, addEventHandler, removeEventHandler, getDimensions, getInnerDimensions, withinMoveLimits, moveMap, moveMapMeters, panToPosition, setSmoothPanning, getSmoothPanning, setKeyboardPanning, getKeyboardPanning, setMouseWheelZoom, getMouseWheelZoom, setDraggable, getDraggable, setZoomDoubleClickable, getZoomDoubleClickable, setZoomDraggable, getZoomDraggable, getZoomFactor, zoom, setZoomFactor, getAvailableZoomFactors, getBrowserDimensions, resize, addWidget, removeWidget, getNamedLayer, addTileOverlayCallback, removeTileOverlayCallback, assignIgnoreEvents
 

Field Detail

superclass

<static> Object superclass

Constructor Detail

MultimapViewer

MultimapViewer( <HTMLElement> div_element, <integer> map_type, <integer> extra )

Method Detail

createInfoBox

InfoBoxOverlay createInfoBox( <MMLocation> position, html, <String> cssClass, <MMPoint> anchor , <boolean> dont_move, <boolean> no_combine_classes )

createMarker

MarkerOverlay createMarker( <MMLocation> position, <String> label, <MMIcon> icon, text )

getAvailableMapTypes

Array getAvailableMapTypes()

getClient

String getClient()

getCurrentPosition

MMLatLon getCurrentPosition()

getMapBounds

MMBounds getMapBounds()

getMapPositionAt

MMLatLon getMapPositionAt( <MMPoint> step )

getMapType

integer getMapType()

getScaleBarUnits

String getScaleBarUnits()

latLonToMercator

MMPoint latLonToMercator( latlon )

mercatorToLatLon

MMLatLon mercatorToLatLon( mercator )

parseXML

Object parseXML( <String> xml )

setMapType

void setMapType( <integer> map_type )

setScaleBarUnits

void setScaleBarUnits( <String> units )


Documentation generated by JSDoc on Wed Aug 16 15:33:06 2006