Class MultimapViewer

Object
   |
   +--MMViewer
         |
         +--MultimapViewer

class MultimapViewer
extends MMViewer

Defined in MultimapOpenAPI


Constructor Summary
MultimapViewer ( <HTMLElement> div_element, <integer> map_type, <integer> extra )
            The Multimap mapviewer.
 
Method Summary
 void addMapType( <MMMapType> map_type )
           Adds a map type to the list of map types displayed in the viewer.
 MMInfoBoxOverlay createInfoBox( <MMLocation> position, html, <MMInfoBoxOptions> options )
           A function to add an info box to the mapviewer.
 MMMarkerOverlay createMarker( <MMLocation> position, <MMMarkerOptions> options )
           A function to add a marker to the mapviewer.
 void declutterGroup( <String> group_name, <MMDeclutterOptions> options, <integer> declutter_type, <integer> cluster_type )
           Declutters a group of markers, or turns off decluttering for a group of markers.
 MMBounds geoBoundsToContainerPixels( <MMBounds> bounds, no_check )
           Retrieves pixel coordinates for a bounding box.
 Array getAvailableMapTypes()
           Retrieves the list of possible map types.
 String getClient()
           Retrieves the client service name for the mapviewer.
 integer getMapType()
           Gives the current map type.
 String getScaleBarUnits()
           DEPRECATED - Use getOption( 'units' ) instead.
 MMPoint latLonToMercator( latlon, projection )
           Converts lat/lon to Mercator Eastings/Northings.
 MMLatLon mercatorToLatLon( mercator, projection )
           Converts Mercator eastings/northings to lon/lat.
 Object parseXML( <String> xml )
           Parses an XML string.
 void removeMapType( <MMMapType> map_type )
           Removeds a map type from the list of map types displayed in the viewer.
 void setMapType( <integer> map_type )
           Changes the current map type.
 void setMarkerFilters( <Array> filters, group_name )
           This method sets the overlay filters parameter.
 void setScaleBarUnits( <String> units )
           DEPRECATED - Use setOption( 'units', 'km' ) instead.
 
Methods inherited from class MMViewer
mortonToTile, tileToMorton, setAllowedZoomFactors, beenDrawn, getOption, setOptions, removeAllOverlays, redisplayOverlay, getXMLHTTPRequest, getAutoScaleLocation, drawAndPositionMap, resetPosition, cancelSmoothMove, addEventHandler, removeEventHandler, getDimensions, getInnerDimensions, getMapBounds, withinMoveLimits, moveMap, moveMapMeters, panToPosition, geoPosToContainerPixels, setSmoothPanning, getSmoothPanning, setKeyboardPanning, getKeyboardPanning, setMouseWheelZoom, getMouseWheelZoom, setDraggable, getDraggable, setZoomDoubleClickable, getZoomDoubleClickable, setZoomDraggable, getZoomDraggable, getZoomFactor, zoom, setZoomFactor, getAvailableZoomFactors, getBrowserDimensions, getCurrentPosition, getMapPositionAt, manageLayout, endManageLayout, updateLayout, resize, addWidget, removeWidget, getContainer, getNamedLayer, redrawMap, getVersion, assignIgnoreEvents, getGreatCircleDistance
 

Constructor Detail

MultimapViewer

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

Method Detail

addMapType

void addMapType( <MMMapType> map_type )

createInfoBox

MMInfoBoxOverlay createInfoBox( <MMLocation> position, html, <MMInfoBoxOptions> options )

createMarker

MMMarkerOverlay createMarker( <MMLocation> position, <MMMarkerOptions> options )

declutterGroup

void declutterGroup( <String> group_name, <MMDeclutterOptions> options, <integer> declutter_type, <integer> cluster_type )

geoBoundsToContainerPixels

MMBounds geoBoundsToContainerPixels( <MMBounds> bounds, no_check )

getAvailableMapTypes

Array getAvailableMapTypes()

getClient

String getClient()

getMapType

integer getMapType()

getScaleBarUnits

String getScaleBarUnits()

latLonToMercator

MMPoint latLonToMercator( latlon, projection )

mercatorToLatLon

MMLatLon mercatorToLatLon( mercator, projection )

parseXML

Object parseXML( <String> xml )

removeMapType

void removeMapType( <MMMapType> map_type )

setMapType

void setMapType( <integer> map_type )

setMarkerFilters

void setMarkerFilters( <Array> filters, group_name )

setScaleBarUnits

void setScaleBarUnits( <String> units )


Documentation generated by JSDoc on Tue Feb 26 16:25:19 2008