Class Garmin.MapController

Object
   |
   +--Garmin.MapController

class Garmin.MapController


Garmin.MapController
Defined in GoogleMapController.js


Constructor Summary
Garmin.MapController(mapString)
            Accepts Garmin.Series objects and draws them on a Google Map.
 
Method Summary
 void addMarker(<Number> latitude, <Number> longitude)
           Add an icon to a point.
 void addMarkerWithIcon(<Number> latitude, <Number> longitude, icon)
           Adds a marker to the point with the icon specified
 void addStartFinishMarkers(series)
           Add start and finish markers to a track
 void centerAndScale(lat, lon, scale)
           Set the center point and zoom level of the map.
 Object createNearestValidLocationPoint(series, index, incDirection)
           Creates a GLatLng for the sample in the series closest to the index with a valid location (lat and lon).
 void drawTrack(series, color)
           Draw track on map.
 void drawWaypoint(series)
           Draw waypoint on map.
 Object findAZoomLevel(points)
           Calculates minimum bounding box for an set of points.
 void initialize(mapString)
          
 void setOnBounds(bounds)
           Set the bounding box on the map.
 Object toString()
           String representation of map.

Constructor Detail

Garmin.MapController

Garmin.MapController(mapString)

Method Detail

addMarker

void addMarker(<Number> latitude, <Number> longitude)

addMarkerWithIcon

void addMarkerWithIcon(<Number> latitude, <Number> longitude, icon)

addStartFinishMarkers

void addStartFinishMarkers(series)

centerAndScale

void centerAndScale(lat, lon, scale)

createNearestValidLocationPoint

Object createNearestValidLocationPoint(series, index, incDirection)

drawTrack

void drawTrack(series, color)

drawWaypoint

void drawWaypoint(series)

findAZoomLevel

Object findAZoomLevel(points)

initialize

void initialize(mapString)

setOnBounds

void setOnBounds(bounds)

toString

Object toString()


Documentation generated by JSDoc on Fri Sep 14 17:27:44 2007