Google Maps Classes and Functions Reference

Rough initial version. Based on original annotation from http://spaces.msn.com/members/sompost/ with additions.

Original name (as listed in maps.2.js) is given in square brackets and linked to the original source. Meta data is from Google Maps meta data file. Generated by Javascript deobfuscation helper.

_app
_finishDrop
_pastebox
approxEquals
asPixels
attachEvent
Bounds
BrowserInfo
cancelBubble
createLink
dc
Directions
DragTracker
encodeNumber
encodeNumberAsCharArray
extendClassName
getElementById
GoogleMapsApp
HtmlImageObjFactory
Icon1
Icon
ih
InfoWin
Ke
Ld
Locations
Location
Log
MapHolder
Map
Marker
nd
Ne
num2Str
onDropHandler
onPasteHandler
Page
PanSiner
parseXmlFromString
Point
Polyline
qh
removeAllChildren
Set
Size
Synchronizer
Td
Tiles
UrlMaker
XmlHttpRequestFactory
Xslt
zb

_app [_app]

Args:

Sd, Pd, xd, Jd, Id

_finishDrop [_finishDrop]

Args:

References:

_pastebox [_pastebox]

Args:

gd

approxEquals [zc]

Args:

rg, wh

References:

asPixels [yb]

Args:

x

References:

attachEvent [le]

Args:

bf, ja, sf

References:

Bounds [U]

Args:

Uh, Pg, ed, Jc

Methods:

toString()

containsSegment(md,Pc)

containsBounds(pd)

References:

BrowserInfo [ii]

Args:

Bg, Vf, Eh

References:

cancelBubble [aa]

Args:

b

References:

Args:

Fb, gi

References:

dc [dc]

Args:

D, Fe

Something about encoding XML? values as HTML tags e.g. title.

References:

Directions [Tb]

Args:

rb, Oc, da

Methods:

loadFromXML(c)

getSegmentById(F)

toHTML(R)

References:

DragTracker [Na]

Args:

C, K, top, R

Handles mouse tracking

Methods:

moveTo(K,top)

onMouseDown(b)

onMouseMove(b)

onMouseUp(b)

onWindowMouseOut(b)

disable()

enable()

References:

encodeNumber [Mb]

Args:

Q, ba

Fiddles value if it's negative/positive before passing to encodeNumberAsCharArray?

References:

encodeNumberAsCharArray [Tg]

Args:

Q, ba

References:

extendClassName [Nb]

Args:

c, xa

References:

getElementById [Ve]

Args:

F

GoogleMapsApp [L]

Args:

Sd, Pd, xd, Jd, Id

Main class

Methods:

beforePrint()

afterPrint()

loadMap(ni)

createMapControl()

onMapStateChanged()

resizeMapView()

getWindowSize(e)

loadIconClasses()

loadXML(Ug,Fg)

loadVPage(da)

showOverlayPanel(ia)

showDirectionsPanel(y)

search(bb,Zh,ug)

clearSearchState()

getPageURL()

email()

print()

initSafari()

loadSafari(ga)

References:

HtmlImageObjFactory [o]

Args:

Methods:

createElement(C,ac)

create(C,g,k,K,top,Ga,ac,xa)

Icon1 [se]

Args:

f, s

Is this actually Icon & other Icon is IconClass or Marker or something?

Methods:

loadFromXML(c)

References:

Icon [N]

Args:

ja, g, k, vg, Wh, og, kh, Gg, Cd

(?) Actually IconClass? Image used for marker

Methods:

translateImageMapArray(x,l)

load(s)

get(ja)

References:

ih [ih]

Args:

gd

References:

InfoWin [t]

Args:

Dh, Kh, Cf, bg, Wf

Popup window pointing at location

Methods:

setContentSize(g,k)

setSize(g,k)

getWindowHeight()

getTotalHeight()

getTotalHeightAboveGround()

getTotalShadowHeight()

getTotalWidth()

getOffsetLeft()

getOffsetTop()

setWindowSize(g,k)

setShadowSize(g,k)

setMaskSize()

hide()

show()

isVisible()

sizeToContent(ad)

positionAt(x,l,s)

calculatePointerOffset(g)

createCroppingDiv(f)

createWindow(Ga)

createShadow(Ga)

hasMask()

getMaskMap()

createMask()

addAreaToMaskMap(ne,cg)

clearMaskMap()

getMaskLeft()

getMaskTop()

createContentArea(g)

prepareOffscreen()

clearOffscreenArea()

flipOffscreenArea()

onMouseDown(b)

createCloseButton()

onCloseMouseDown(b)

References:

Ke [Ke]

Args:

D

line -> list of coordinates (getLineAsString?)

References:

Ld [Ld]

Args:

F, ue, V

Methods:

loadFromXML(c)

References:

Locations [Yb]

Args:

kd, Sg, da

Collection of Location

Methods:

loadFromXML(c)

getLocationById(F)

toHTML(R)

References:

Location [Lc]

Args:

F, j, X, Hg, da

A place answering to query

Methods:

loadFromXML(c)

toHTML(R)

References:

Log [I]

Args:

Methods:

start()

end()

addTime(ve)

MapHolder [pc]

Args:

p

Methods:

onMapStateChanged()

onMapResize()

reset()

addPoint(Uc,od,Wg)

References:

Map [d]

Args:

R, Ub, g, k, eg, ze

This is the main view class containing the user interface/Map view (also used by map blow up.)

Methods:

createMapDiv()

loadTileImages()

deleteTiles()

initializeMap()

getSpanLatLng(e)

getCenterLatLng(e)

getBoundsBitmap(e)

getBoundsLatLng(e)

calculateTileMeasurements()

configureImage(f,x,l)

onDrag()

onMove()

rotateTiles()

rotateLeft()

rotateRight()

rotateUp()

rotateDown()

getTotalOffset(c)

onDragStart(b)

onDragEnd(b)

onDoubleClick(b)

onClick(b)

getRelativeClickPoint(b,wg,e)

reconfigureAllImages()

pan(va,za)

doPan()

cancelPan()

recenterOrPanToLatLng(j)

recenterOrPanToBitmap(j)

centerAndZoom(Hc,J)

centerAtLatLng(j)

centerAtBitmap(j)

addStateListener(bh)

onStateChanged()

onResize(b)

getCurrentOffset(e)

switchSpecification(ab)

setSpecification(ab)

zoomTo(ka)

toggleTileBorders()

addOverlay(ia)

createLocalMarker(r)

createLocationMarker(We,s)

clearOverlays()

getDivCoordinate(x,l,e)

orderLocations(af,Ae)

repositionOverlays()

setMarkerPosition(pa,s,If)

loadVPage(E,Bf,Ng)

registerKeyHandlers(C)

onKeyPress(b)

onKeyUp(b)

ignoreKeyEvent(b)

startContinuousPan()

doContinuousPan()

onWindowBlur(b)

onIconMouseDown(r,b)

clearInfoWindowArgs(da)

infoWindowNavigate(Mg,Qe,Jf,Ye)

showInfoWindow(r)

addMarkersToInfoWindowMask()

addMarkerToInfoWindowMask(Da,hb,pa)

showSizedInfoWindow(x,l,s,ad)

showMapBlowup(j,s)

createSpecChangeLink(p,Fb,Ub)

onInfoCloseClick(b)

closeInfoWindow()

panToInfoWindow()

repositionInfoWindow()

getVMLPathString(y)

createRawVML(re,i,c)

getBitmapVectors(eb,v,A)

getVectorPath(v,A)

getEncodedImageSource(v,A)

createVectorSegments(rb,Ab,La,fa)

createImageSegments(rb,Ab,La,fa)

drawDirections(y,O,oh)

drawDirectionsMarkers()

showDirectionsStart()

showDirectionsEnd()

showDirectionsStep(Kb)

getDirIndicatorAngle(V)

getDirIndicatorPath(Za)

hideDirectionsMarkers()

directionsMarkersAreVisible()

createMapControl()

createZoomControls(Y)

createPanningControls(Y)

createZoomSlider(Y)

getRelativeZoomSliderPos()

getZoomFromRelativeCoord(l)

showCopyright()

createCopyright(T)

References:

Marker [cb]

Args:

X, Ib, Ua, p, Sb

Methods:

addLayer(f)

setPosition(x,l)

appendTo(i)

removeFrom(i)

hide()

show()

isVisible()

References:

nd [nd]

Args:

Yh, ka

Used for logging/creating hyperlinks? (Blank at present.)

References:

Ne [Ne]

Args:

str, Fd

Some sort of parser/converter for paste/drag'n'drop data?

References:

num2Str [cd]

Args:

fb

References:

onDropHandler [Cg]

Args:

b

onPasteHandler [bi]

Args:

b

Page [H]

Args:

bb, Ya, Bc, Tc, B, Zg, dg, Gh, jg, z, Sc, y, nb, da

XML record ...

Methods:

loadFromXML(c)

getNodeValue(D)

metaToHTML(R)

References:

PanSiner [Wb]

Args:

Yf

Methods:

reset()

next()

more()

References:

parseXmlFromString [lg]

Args:

str

References:

Point [n]

Args:

x, l

Methods:

toString()

equals(S)

distanceFrom(S)

approxEquals(S)

References:

Polyline [Lb]

Args:

gh, yd, ie, Dd

Methods:

decodePolyline(Vb)

decodeLevels(Vb)

getPoint(pb,j)

getVectors(A,J,v)

getVectorsHelper(A,Xh,tb,ka,Gf,v)

References:

qh [qh]

Args:

D

Something to do with calculating total offset from top?

References:

removeAllChildren [ah]

Args:

c

References:

Set [sc]

Args:

ba

Methods:

add(kb)

remove(kb)

contains(kb)

References:

Size [M]

Args:

g, k

Methods:

toString()

equals(S)

approxEquals(S)

References:

Synchronizer [qa]

Args:

F, Ba

Methods:

create(Ba)

invalidateAll()

invalidate(xa)

isValid()

References:

Td [Td]

Args:

Always returns false

Tiles [gb]

Args:

Ee

Methods:

getBitmapCoordinate(Ka,Pa,J,e)

getLatLng(x,l,J,e)

getTileCoordinate(Ka,Pa,J,e)

getTileURL(x,l,J)

getLowestZoomLevel(vf,Ce,Le)

getPixelsPerDegree(J)

References:

UrlMaker [Ja]

Args:

Methods:

setValue(ja,Q)

setAllMapValues(p)

getLatLngArg(j)

getSpanArg(Ma)

getSpecArg(Ub)

reset()

getURL(Mh)

References:

XmlHttpRequestFactory [Yd]

Args:

Methods:

create()

Xslt [Z]

Args:

Vc

Methods:

create(Vc)

getCached(lb)

cache(lb,Tf)

transformToHTML(qc,vb)

asynchronousTransform(qc,vb,kc,Nc,Ba)

References:

zb [zb]

Args:

Used for creating image tags?

Methods:

create(C,g,k,K,top,Ga,ac,xa,rf)