Changelog
From Google Mapki
V2.166
01-Jul-2009
New Map Type
G_HYBRID_3D_MAP
V3.7
25-Jun-2009
Deleted event
map "load"
New event
map "staticmaploaded"
V2.165
24-Jun-2009
New Classes
GDirectionsRenderer GOrientable
Deleted Methods
GGeoXml.getKmlAsync() GLayer.getKmlAsync() GMarker.getKmlAsync() GPolygon.getKmlAsync() GPolyline.getKmlAsync() GStreetviewOverlay.getKmlAsync()
New Methods
GDirectionsRenderer.clear() GDirectionsRenderer.renderResult() GDirectionsRenderer.renderTrip() GGeoXml.getKml() GLayer.getKml() GMarker.getKml() GPolygon.getKml() GPolyline.getKml() GStreetviewOverlay.getKml()
New Static Method
GDirections.getDirections()
New Constant
G_TRAVEL_MODE_TRANSIT
V2.164
17-Jun-2009
No syntax changes.
V3.6
11-Jun-2009
No syntax changes.
V2.163
10-Jun-2009
New Constants
G_ADSMANAGER_STYLE_ADUNIT = "adunit" G_ADSMANAGER_STYLE_ICON = "icon"
Deleted external modules
api_directions_module display_manager kml_util marker_manager traffic_api uri_renderer
New GMapOptions
noResize (reintroduced after being deleted in v2.162)
V2.162
03-Jun-2009
New Methods
GNavLabelControl.setMinAddressLinkLevel() jstiming.Timer()
New parameters
jstiming.load
Deleted external modules
controls_api extended_dom
Deleted GMapTypeOptions
enableZoomLevelLimits
Deleted GMapOptions
mapOrderMarkers noResize suppressCopyright usageType
New GMarkerOptions
{dragCross:false}
V3.5
27-May-2009
Initial public release of API version 3. No syntax changes.
V3.4
Date unknown
New properties
MarkerImage.anchor MarkerImage.origin MarkerImage.size
Deleted methods
Marker.get_draggable() Marker.set_draggable() MarkerImage.get_anchor() MarkerImage.get_origin() MarkerImage.get_url()
V3.3
Date unknown
No syntax changes.
V3.2
Date unknown
No syntax changes.
V3.1
Date unknown
Initial non-public release of API v3.
V2.160
20-May-2009
New behaviour
Key validation is skipped for the googlegroups.com domain
V2.159
14-May-2009
Changed behaviour
Notices if the agent is "Android"
V2.158
06-May-2009
New poly Option
{mouseOutTolerance:number}
New Methods
G_HYBRID_MAP.getMaxZoomAtLatLng(latlng,callback) G_NORMAL_MAP.getMaxZoomAtLatLng(latlng,callback) G_SATELLITE_MAP.getMaxZoomAtLatLng(latlng,callback) G_SATELLITE_3D_MAP.getMaxZoomAtLatLng(latlng,callback)
V2.157
29-Apr-2009
New Method
GStreetviewPanorama.getScreenPoint()
V2.156
22-Apr-2009
New Class
GBandwidth
New Constants
GBandwidth.ALLOW_ALL = 3 GBandwidth.ALLOW_KEEP = 1 GBandwidth.ALLOW_ONE = 2 GBandwidth.DENY = 0
New Properties
GBandwidth.hybTileLayer GBandwidth.mapTileLayer GBandwidth.satTileLayer GBandwidth.terTileLayer
New Static Methods
GBandwidth.forceLowBandwidthMode(a) GBandwidth.getLowBandwidthPath() GBandwidth.initializeLowBandwidthMapLayers() GBandwidth.isInLowBandwidthMode() GBandwidth.setLowBandwidthMode(a) GBandwidth.setupBandwidthHandler(a,b,c) GBandwidth.trackTileLoad(a,b)
New event
GMarker "initialized"
V2.155
17-Apr-2009
Classes Deleted
jstiming GGjw
V2.154
10-Apr-2009
New Class
jstiming
New Methods
jstiming.Timer(a) jstiming.getLabels(a) jstiming.getTick(a,b,c) jstiming.report(a,b,c) jstiming.setTimerName(a,b)
New Parameters
jstiming.load
New external module
mod_jslinker
V2.153
02-Apr-2009
(Crashes as soon as you try to create a GMap2() object. The API tries to call window.jstiming.Timer(), but there is no such thing.)
New external modules
mod_controls_api mod_tileshift
Removed external modules
mod_controls mod_lyrsctrl
Deleted Class
GLocalContents
Possibly many events deleted (I can't be sure without being able to run the code).
V2.152
25-Mar-2009
(Crashes as soon as you try to create a GMap2() object. The API tries to call window.jstiming.Timer(), but there is no such thing.)
New Events
"failed" "flashcloseinfowindow" "flashopeninfowindow" "flashshowinfowindowcontent"
V2.151
17-Mar-2009
Deleted static methods
GBounds.intersection() GBounds.intersects() GLatLng.fromRadians()
New event
"flashstatsflow"
Key validation changes
Key validation is skipped for the googleusercontent.com domain
V2.150
11 Mar 2009
New event
"dapperreport"
V2.149
04 Mar 2009
Deleted loader token
_mSvgForced
New recognised browser
chrome
New event
iwdragupdate
V2.148
24 Feb 2009
New Class
GLanguage
New Static Methods
GLanguage.getLanguageCode() GLanguage.isRtl()
New Methods
GProjection.getNearestImage(pixel,zoom,centrepixel) GMercatorProjection.getNearestImage(pixel,zoom,centrepixel)
New Events
nextpointgone nextpointmoved visibletilesloaded
V2.147
17 Feb 2009
External modules deleted
mod_gears.js
External modules added
mod_mylocation.js
New events
maximizesizechanged
V2.146
10 Feb 2009
New Class
GMapUIOptions()
Deleted Methods
map.setDefaultUI() GGjw.search() GGjw.setCache() GGjw.setSearchCountryCode() GGjw.setSearchViewport()
GMarker.bindInfoWindowTabsHtml() was deleted from 146a and 146b but reinstated
New Methods
map.setUIToDefault() GClientGeocoder.getAddressInBounds()
Changed behaviour
The GLog panel is always displayed, even if you never call GLog.
V2.145
04 Feb 2009
New Methods
map.getDefaultUI() map.setDefaultUI() map.setUI()
Browser Support
Mozilla Minefield and Mozilla Shiretoko are now treated as if they were Firefox rather than Mozilla
New GMapOption
{itc:id} The parameter is the id of a HTMLElement
V2.144
28 Jan 2009
New Classes
GLargeMapControl3D GSmallZoomControl3D
New Properties
GStreetviewClient.ReturnValues GStreetviewPanorama.ErrorValues
V2.143
21 Jan 2009
New Methods
map.enablePinchToZoom() map.disablePinchToZoom() map.pinchToZoomEnabled()
New events
gesturestart gesturechange gestureend
New external module
mod_quadtree.js
V2.142
14 Jan 2009
No syntax changes
V2.141
7 Jan 2009
Deleted Methods
GGroundOverlay.prototype.getKmlAsync() GInfoWindow.getKmlAsync() GTrafficOverlay.prototype.getKmlAsync() GScreenOverlay.prototype.getKmlAsync()
New Classes
GNavLabelControl
New Methods
map.getEventContract() GNavLabelControl.allowSetVisibility() GNavLabelControl.clear() GNavLabelControl.getDefaultPosition() GNavLabelControl.initialize() GNavLabelControl.printable() GNavLabelControl.selectable()
New Events
"photoidchanged" "viewchangeend"
New sprite option
left
The MARS, MOON and SKY map types were unintentionally deleted from v2.141a through v2.141d, but have been reinstated in v141e
G_MARS_ELEVATION_MAP G_MARS_INFRARED_MAP G_MARS_VISIBLE_MAP G_MOON_ELEVATION_MAP G_MOON_VISIBLE_MAP G_SKY_VISIBLE_MAP G_MARS_MAP_TYPES G_MOON_MAP_TYPES G_SKY_MAP_TYPES
V2.140
10 Dec 2008
No syntax changes
V2.139
3 Dec 2008
New Map Types
G_MAPMAKER_NORMAL_MAP G_MAPMAKER_HYBRID_MAP
New Map Type Set
G_MAPMAKER_MAP_TYPES
New MapOption
supports2dMapTypesOnly boolean
New GoogleBarOption
experimentalLscStyle boolean
New external modules
mod_scrollwheel.js mod_uri_renderer.js mod_gears.js
New events
touchstart touchend touchmove touchcancel
New property
GMapType.PIXEL_MARGIN default 3
Behaviour changes
GMapType.getSpanZoomLevel adds a margin specified by the PIXEL_MARGIN
V2.138
18 Nov 2008
New methods
GGjw.setCache() GGjw.setSearchCountryCode() GGjw.setSearchViewport()
V2.137
11 Nov 2008
New Class
GGjw
New Methods
GGjw.search() GTileLayerOverlay.getKmlAsync(callback) GStreetviewOverlay.getKmlAsync(callback)
Deleted Methods
GClientGeocoder.getAddress()
New external modules
mod_api_directions_module.js mod_legacy_api_gc.js
New event
"paste"
V2.136
05 Nov 2008
Deleted External Modules
api_infowindow control
New External Modules
controls
New event
"reportaction"
New GTileOverlayOption
{statsFlowType:string} default = ""
V2.135
28 Oct 2008
New constant
G_LAYER_PARAM_DENSITY_MODIFIER = "dm"
Deleted Method
GInfoWindow.reposition()
Deleted property
GLayer.initialized
New event
"balloonclose"
Changed parameters
GCopyright now has 7 parameters instead of 6. The 7th parameter is a featureTriggers[] array
Changed return information
The Objects in the array returned by GMapType.getCopyrights() now includes featureTriggers information if there is any.
V2.134
21 Oct 2008
No syntax changes
V2.133
14 Oct 2008
New Class
GLocalContents() - currently switched off by loader token _mF[159]
New methods
GLocalContents.getContent() - currently switched off by loader token _mF[159] GLocalContents.clear() - currently switched off by loader token _mF[159]
GLayer.setParameter(a,b)
New constant:
G_LAYER_PARAM_COLOR = "c"
Deleted methods
GAdsManager.copy() GHierarchicalMapTypeControl.copy() GKeyboardHandler.copy() GLargeMapControl.copy() GMapTypeControl.copy() GMarkerManager.copy() GOverviewMapControl.copy() GScaleControl.copy() GSmallMapControl.copy() GSmallZoomControl.copy() GMenuMapTypeControl.copy() GStreetviewPanorama.copy()
New methods
GLayer.setParameter(a,b)
New external module
mod_trends_api.js
V2.132
7 Oct 2008
New methods
GMarker.getKmlAsync(callback) GPolygon.getKmlAsync(callback) GPolyline.getKmlAsync(callback)
New external module
mod_kml_util.js
V2.131
30 Sep 2008
Deleted Class
GJsLoaderInit
New Class
GLayer
New Methods
GGeoXml.prototype.getKmlAsync() GGroundOverlay.prototype.getKmlAsync() GInfoWindow.getKmlAsync() GLayer.prototype GLayer.prototype.copy() GLayer.prototype.getKmlAsync() GLayer.prototype.hide() GLayer.prototype.initialize() GLayer.prototype.initialized GLayer.prototype.isHidden() GLayer.prototype.redraw() GLayer.prototype.remove() GLayer.prototype.show() GTrafficOverlay.prototype.getKmlAsync() GScreenOverlay.prototype.getKmlAsync()
New static methods
GLayer.addInitializer()
New loader parameters
tile_override
V2.130
23 Sep 2008
No syntax changes
V2.129
17 Sep 2008
Changed parameters
GMap.updateCurrentTab() accepts 3 parameters instead of 2 GMap.updateInfoWindow() accepts 3 parameters instead of 2
New Class
GLayer()
New Methods:
GLayer.copy(); GLayer.hide(); GLayer.initialize(); GLayer.isHidden(); GLayer.redraw(); GLayer.remove(); GLayer.show();
New static methods
GLayer.addInitializer();
New properties
GLayer.initialized
new external modules
mod_lyrs mod_panoramio_iw mod_wikipedia_iw mod_youtube_iw
V2.128
9 Sep 2008
There don't appear to be any syntax changes
V2.127
2 Sep 2008
New Constant
G_MAP_OVERLAY_LAYER_PANE = 1
New External Modules
mod_nl mod_touch
V2.126
29 Aug 2008
New release numbering system. There is no v2.126, but there are v2.126a, v2.126b, v2.126c and v2.126d.
New Methods
GKeyboardHandler.copy() GLargeMapControl.copy()
New parameters
GLargeMapControl.intitialize takes one parameter instead of two
New external modules
mod_control mod_keyboard
Deleted external module
mod_control_api
V2.125
19 Aug 2008
New event
map "panzoombyuser"
New method
GMarkerManager.prototype.copy()
New external modules
mod_arrow mod_display_manager mod_earth mod_marker_manager mod_log
V2.124
11 Aug 2008
New external module
mod_tbr
New constants
G_TRAVEL_MODE_DRIVING = 0 G_TRAVEL_MODE_WALKING = 1
New GDirectionsOptions
avoidHighways bool travelMode use one of the new constants
Changed paramaters
new GMaptype() now has an indeterminate number of parameters
Events
map "panto"
returns parameter "mdrag" when the map is dragged
map "zoomto"
returns parameter "dclk" or "drclk" when double click zoom is performed
V2.123
5 Aug 2008
new Modules
extended_dom api_infowindow
V2.122
30 Jul 2008
new Event
GLargeMapControl "zoomto"
Is only triggered when the slider is used.
There is one parameter, which can be "zs_drag" or "zb_click"
changed behaviour
Notices if the agent is iPod or iPhone
V2.121
23 Jul 2008
New Methods
GSize.getHeightString() GSize.getWidthString()
New static Method
GLatLngBounds.fromUrlValue(string)
New external module
mod_jslinker
V2.120
16 Jul 2008
New events
beforetilesload infowindowcontentset
V2.119
08 Jul 2008
New loader token
_mJavascriptVersion returns the version number of the *Latest* API release
New constant
G_API_VERSION returns the contents of _mJavascriptVersion
New event
"maxiframeremove"
New methods
GInfoWindow.copy() GInfoWindow.reposition(latlng)
New property
GIcon.sprite Reference to an object that has a .image, .width and .height
If it exists, the GIcon.sprite will be used instead of the GIcon.image and GIcon.iconSize
Changed parameters
new GClientGeocoder new GLatLng new GLatLngBounds
now accept indeterminate numbers of parameters
New Polyline/Polygon technology
CANVAS
There are now four poly rendering technologies 0: Image server 1: VML 2: SVG 3: CANVAS
V2.118
24 Jun 2008
There appear to be no syntax changes.
V2.117
17 Jun 2008
New method:
GControl.allowSetVisibility()
New GAdsManagerOption
mode
Possible values are {mode:experimental} and {mode:classic}
V2.116
11 Jun 2008
new Method:
GOverviewMapControl.setMapType()
new GMapOptions:
copyrightOptions {list of GCopyrightOptions}
new GCopyrightOptions
googleCopyright bool separator string, default " - " showTosLink bool, default true
The settings are ignored if the seventh parameter of GApiLoad() is true, which is currently the case, or if {isEmbed} is true)
Loader flag deleted:
_mSvgEnabled It is no longer possible to disable SVG in Firefox.
Behavior change:
The _mSvgForced system for detecting browser SVG support is changed.
V2.115
03 Jun 2008
Deleted Method:
GInfoWindow.reposition()
V2.114
27 May 2008
New GMapType
G_SATELLITE_3D_MAP
New Methods
GMap.getEarthInstance(a) GMap2.getEarthInstance(a)
V2.113
20 May 2008
Deleted Constants
G_GOOGLEBAR_TYPE_ALL_RESULTS = 1 G_GOOGLEBAR_TYPE_YPONLY_RESULTS = 3
Added Constants
G_GOOGLEBAR_TYPE_BLENDED_RESULTS = "blended" G_GOOGLEBAR_TYPE_LOCALONLY_RESULTS = "localonly"
Changed Constant
G_GOOGLEBAR_TYPE_KMLONLY_RESULTS = "kmlonly" (was = 2)
Changed Parameters
GKeyboardHandler() takes 3 parameters instead of two
V2.112
14 May 2008
Deleted class
GLoadApi
New Constants
GOOGLEBAR_TYPE_ALL_RESULTS = 1 GOOGLEBAR_TYPE_KMLONLY_RESULTS = 2 GOOGLEBAR_TYPE_YPONLY_RESULTS = 3
Deleted properties
GSize.widthUnit GSize.heightUnit
V2.111
6 May 2008
New external module
mod_mspe.js Contains the code for poly editing features
New Methods
GPolygon.deleteVertex(vertex) GPolygon.disableEditing() GPolygon.enableDrawing() GPolygon.enableEditing() GPolygon.insertVertex(vertex,latlng) GPolygon.setFillStyle(opts) GPolygon.setStrokeStyle(opts) GPolyline.deleteVertex() GPolyline.disableEditing() GPolyline.enableDrawing() GPolyline.enableEditing() GPolyline.insertVertex() GPolyline.setStrokeStyle(opts)
New (inacessible) clickable overlay type
ControlPoint
New property
ControlPoint.index
New events
map "cancelline" ??? "capture" ??? "endline" ??? "mouseoutpoint" ??? "mouseoverpoint"
V2.110
30 Apr 2008
Changed parameters
map.clearOverlays() takes one parameter instead of none
GTileLayerOverlay()
GTileLayerOverlay.constructor()
GStreetviewOverlay.constructor()
all take two parameters instead of one.
second parameter is options
options include {zPriority} which accepts a number, default 10.
New properties
GTileLayerOverlay.zPriority GStreetviewOverlay.zPriority GTrafficOverlay.zPriority
V2.109
23 Apr 2008
map "click" event now returns third optional parameter: overlaylatlng
V2.108
16 Apr 2008
New event
GGeoXml "load"
V2.107
9 Apr 2008
Changed Parameters
GBounds now takes only one parameter instead of one array or four numbers. The v1-compatible 4-number syntax is deleted.
New GStreetviewPanoramaOption
{latlng}
New events
GGeoXml "refreshpointhook" GLargeMapControl "zoomto"
V2.106
2 April 2008
New symbols
GPolygon.addVerticesInteractively GPolygon.deleteVertex GPolygon.disableEditing GPolygon.enableEditing GPolygon.insertVertex GPolygon.setStyle GPolygon.update
GPolyline.addVerticesInteractively GPolyline.deleteVertex GPolyline.disableEditing GPolyline.enableEditing GPolyline.insertVertex GPolyline.setStyle GPolyline.update
New hooks
GPolyline.setClosed(bool) GPolygon.setClosed(bool)
None of this does anything yet.
V2.105
25 March 2008
new event
GStreetviewPanorama "drivingdirectionsinfo"
Also, there's code added to the traffic module for processing traffic incidents, but it doesn't seem to be accessible yet.
V2.104
18 March 2008
new Method
GPolyline.isDrawing()
changed parameters
GStreetviewClient() now takes one parameter instead of none GStreetviewClient.getNearestPanorama() now takes two parameter instead of three GStreetviewClient.getNearestPanoramaLatLng() now takes two parameter instead of three
V2.103
11 March 2008
new Classes
GStreetviewClient() GStreetviewOverlay() GStreetviewPanorama(a)
new Methods
GStreetviewClient.getNearestPanorama(a,b,c) GStreetviewClient.getNearestPanoramaLatLng(a,b,c) GStreetviewClient.getPanoramaById(a,b) GStreetviewOverlay.constructor(a) GStreetviewOverlay.copy() GStreetviewOverlay.getTileLayer() GStreetviewOverlay.hide() GStreetviewOverlay.initialize(map) GStreetviewOverlay.isHidden() GStreetviewOverlay.redraw() GStreetviewOverlay.refresh() GStreetviewOverlay.remove() GStreetviewOverlay.show() GStreetviewOverlay.supportsHide() GStreetviewPanorama.blur() GStreetviewPanorama.checkResize() GStreetviewPanorama.copy() GStreetviewPanorama.focus() GStreetviewPanorama.followLink() GStreetviewPanorama.getPOV() GStreetviewPanorama.hide() GStreetviewPanorama.isHidden() GStreetviewPanorama.panTo() GStreetviewPanorama.remove() GStreetviewPanorama.retarget() GStreetviewPanorama.setContainer() GStreetviewPanorama.setLocationAndPOV() GStreetviewPanorama.setLocationAndPOVFromServerResponse() GStreetviewPanorama.setPOV() GStreetviewPanorama.show() GStreetviewPanorama.unhide()
new Static Methods
GStreetviewClient.ReturnValues
deleted Methods
GLatLng.fromUrlValue() [the static method of the same name continies to exist] GPolyline.isDrawing()
new events
capture ??? error GStreetviewPanorama
new module
mod_cb_api.js
new loader flags
_mf[56] Streetview panorama flash location _mf[57] Streetview overlay server location _mf[59] Streetview enabled switch _mf[60] Something to do with Streetview
V2.102
New Instance Method
GLatLng.fromUrlValue(string)
The static method with the same name continues to exist. What's changed is that a new instance method with the same name and behaviour has been added.
V2.101
14 Feb 2008
New Methods
GLog.getMessages()
Parameter changes
GPolyline.redraw() now takes no parameters instead of one.
Changed behaviour
The id attributes applied to anonymous marker click targets are now "mtgt_unnamed_0", "mtgt_unnamed_1", "mtgt_unnamed_2", etc. In previous releases they were all "mtgt_undefined" GPolygon and GPolyline were modularized
Bugfixes
Map type change no longer triggers 'moveend' event (issue 85) GGroundOverlay transparency in IE6
V2.100
05 Feb 2008
New methods
GMap.fromLatLngToContainerPixel(latlng) GMap2.fromLatLngToContainerPixel(latlng) GPolyline.isDrawing()
Deleted methods
GPolygon.edit() GPolyline.edit() GPolyline.clearMarkerPools() GPolyline.getFadedColor() GPolyline.hideDottedLine() GPolyline.initGlobalListeners() GPolyline.setDrawingLine()
Changed parameters
GMapType.getMinimumResolution() now has no parameters instead of one GPolygon() now takes an unspecified number of parameters instead of seven GPolyline() now takes an unspecified number of parameters instead of five
Bugfixes
GLargeMapControl had extra transparent div (issue 90) GLargeMapControl bottom button was offset in IE centered map (issue 179) Map panning with large infoWindowAnchor (issue 3) GGeoXml key check treated domain names as case specific (issue 5) Longitude value of infinity caused endless loop (issue 18) Geocoder didn't respect setBaseCountryCode or setViewport (issue 91)
V2.99
29 Jan 2008
There are no syntax changes.
Change of behaviour
An API key which does not specify a port number is now valid for all ports
V2.98
22 Jan 2008
New methods
GClientGeocoder.getAddress(glatlng,callback) GClientGeocoder.getAddresses(glatlng,callback)
Bugs introduced
GLargeMapControl has extra transparent div (issue 90) GLargeMapControl is offset in a centered map (issue 179) Geocoder doesn't respect setBaseCountryCode or setViewport (issue 91)
V2.97
15 Jan 2008
There are no syntax changes.
V2.96
8 Jan 2008
There are no syntax changes.
Bugfix
map.clearOverlays cleared poly listeners (issue 47)
V2.95
5 Dec 2007
New constants
G_GOOGLEBAR_LINK_TARGET_BLANK G_GOOGLEBAR_LINK_TARGET_PARENT G_GOOGLEBAR_LINK_TARGET_SELF G_GOOGLEBAR_LINK_TARGET_TOP G_GOOGLEBAR_RESULT_LIST_INLINE G_GOOGLEBAR_RESULT_LIST_SUPPRESS
New GMapOptions
googleBarOptions
New googleBarOptions
showOnLoad boolean linkTarget One of the G_GOOGLEBAR_LINK_TARGET_* values resultList One of the G_GOOGLEBAR_RESULT_LIST_* values
New map types
G_MARS_ELEVATION_MAP G_MARS_INFRARED_MAP G_MARS_VISIBLE_MAP G_MOON_ELEVATION_MAP G_MOON_VISIBLE_MAP G_SKY_VISIBLE_MAP
New map type sets
G_MARS_MAP_TYPES G_MOON_MAP_TYPES G_SKY_VISIBLE_MAP
New events
map "tilesloaded"
Bugfixes
Geodesic lines & problem with zooming (issue 10) Javascript error when tiles fail to load (issue 38) Calling GAdsManager.enable caused JS error (issue 46)
V2.94
16 Nov 2007
New Class
GHierarchicalMapTypeControl(tiny)
New Methods
GHierarchicalMapTypeControl.addRelationship() GHierarchicalMapTypeControl.clear() GHierarchicalMapTypeControl.clearRelationships() GHierarchicalMapTypeControl.copy() GHierarchicalMapTypeControl.getDefaultPosition() GHierarchicalMapTypeControl.initialize() GHierarchicalMapTypeControl.printable() GHierarchicalMapTypeControl.removeRelationship() GHierarchicalMapTypeControl.selectable()
Deleted Method
GTrafficOverlay.hasTrafficInView()
New Static parameters
GDirections.MAP_MARKER GDirections.PANEL_ICON
New loader token
_mIsRtl
Changed behaviour
GDirections uses green "A", "B", "C" icons instead of G_START_ICON, G_PAUSE_ICON, G_END_ICON
Bugfix
GTrafficOverlay 'changed' event now fires (issue 2)
Bug introduced
Calling GAdsManager.enable() causes JS error (issue 46)
V2.93
08 Nov 2007
Structural change
The code for the map controls and for GGeoXml have been moved into an external module
New Classes
GAppFeatures(options) GDragObject [has no constructor]
New methods
GInfoWindow.disableMaximize() GInfoWindow.enableMaximize() GMap.getDragObject() GMap2.getDragObject() GMapTypeControl.copy() GScaleControl.copy() GSmallMapControl.copy() GSmallZoomControl.copy()
New static methods
GDraggableObject.getDraggableCursor() GDraggableObject.getDraggingCursor()
Deleted property
GScaleControl.maxLength
Changed Parameters
GLoadApi() takes 10 parameters instead of 9 GOverlay.initialize() takes 2 parameters instead of 1
New GMapTypeOption
enableZoomLevelLimits
New GInfoWindowOptions
maxTitle maxContent
New GLoadApiOption
public_api
New GDraggableObjectOption
scroller
New Map Type
G_PHYSICAL_MAP (currently switched off)
New behaviour
The bottom end of the GLargeMapControl slider only goes down to the min resolution of the map type In previous releases it always went down to zero but levels below getMinimumResolution were ignored
V2.92
24 Oct 2007
New Classes
GScreenOverlay(a) GScreenPoint GScreenSize GMenuMapTypeControl(a,b)
New Methods
GAdsManager.copy() GTrafficOverlay.hasTrafficInView() GMap.disableGoogleBar() GMap.enableGoogleBar() GMap2.disableGoogleBar() GMap2.enableGoogleBar() GScreenOverlay.copy() GScreenOverlay.hide() GScreenOverlay.initialize() GScreenOverlay.isHidden() GScreenOverlay.redraw() GScreenOverlay.remove() GScreenOverlay.show() GScreenOverlay.supportsHide() GMenuMapTypeControl.clear() GMenuMapTypeControl.getDefaultPosition() GMenuMapTypeControl.initialize() GMenuMapTypeControl.printable() GMenuMapTypeControl.selectable()
Deleted Methods
GMarker.supportsHide() GOverlay.isHidden() GOverlay.supportsHide() GOverviewMapControl.isHidden() GTrafficOverlay.isHidden() GTrafficOverlay.supportsHide() GTrafficOverlay.hasTrafficDataInView()
New Properties
GScreenPoint.point GScreenPoint.xunits GScreenPoint.yunits GScreenSize.size GScreenSize.xunits GScreenSize.yunits
Changed Parameters
new GGeoXml now takes an indefinite number of parameters instead of four GGeoXml.gotoDefaultViewport() takes no parameters instead of one GGeoXml.initialize() takes no parameters instead of one GGeoXml.redraw() takes no parameters instead of one GGeoXml.remove() takes no parameters instead of one new GGroundOverlay() now takes an indefinite number of parameters instead of four GGroundOverlay.initialize() takes no parameters instead of one GGroundOverlay.redraw() takes no parameters instead of one GLoadApi() now takes 9 parameters instead of eight
Changed behaviour
Some code now behaves differently if the CPU is "intel". Previously only the browser and operating system affected the code behaviour.
Bug introduced
GTrafficOverlay 'changed' event no longer firing (issue 2)
V2.91a
28 Oct 2007
No syntax changes
V2.91
11 Oct 2007
Deleted Methods
GDraggableObject.getDraggableCursor() GDraggableObject.getDraggingCursor()
Changed parameters
GGeoXml takes 4 parameters instead of 3
New poly options
{clickable:false} makes the poly not clickable. Clicks drop through to the map object.
Changed Behaviour
If you forget to enable VML, then API v2.91 will enable it for you in MSIE. Hidden polygons and polylines (where supported) are not clickable Fixed info window misalignment in MSIE when the wrong DOCTYPE is used Infowindow CSS looks correct in quirks mode
V2.90
26 Sep 2007
New Methods
GLatLngBounds.union(GLatLngBounds)
New Parameters
GOverlay.initialize() now theoretically takes two parameters instead of one.
Changed behaviour
The undocumented {maxurl} option for info windows no longer works,
V2.89
13 Sep 2007
New Methods
GMapType.getCopyrights(latlngbounds,zoom) GTileLayerOverlay.refresh()
Changed Parameters
GClientGeocoder now has four parameters instead of one
(cache, APIkey, client, channel)
GDraggableObject.moveBy() now has one parameters instead of two
(GSize)
GDraggableObject.moveTo() now has one parameters instead of two
(GPoint)
GLatLng.distanceFrom() now has two parameters instead of one
(glatlng, radius of planet)
New GMapTypeOption
radius
Changed Behaviour
doubleClickZoom is enabled by default. autoPan is enabled by default for draggable markers see Message from pamela
V2.88
28 Aug 2007
New Methods
GBounds.containsPoint(gpoint) GBounds.mid() GLatLngBounds.containsLatLng(glatlng) GMarker.getLatLng() GMarker.setLatLng(glatlng)
New Methods associated with polygon and polyline editing. They don't seem to be working yet.
GPolygon.edit() GPolyline.edit() GPolyline.clearMarkerPools(a) GPolyline.getFadedColor(a,b) GPolyline.hideDottedLine() GPolyline.initGlobalListeners(a) GPolyline.isDragging() GPolyline.setDrawingLine()
New Events
capture possibly thrown by an inaccessible class that performs polyline editing lineupdated possibly thrown by a poly when being edited opencontextmenu possibly thrown by a poly when being edited
Existing Events now thrown by GPolyline and GPolygon
click, drag, dragend, mouseover, mouseout, opencontextmenu
Changed behaviour
Clicks through polygons now return only the "overlay" parameter to GEvent.addOverlay(map,"click") map.removeOverlay(null) now crashes
V2.87
16 Aug 2007
New Methods
GDraggableObject.moveBy(leftwards,upwards)
GInfoWindow.supportsHide()
New Static Methods
GDraggableObject.getDraggableCursor()
GDraggableObject.getDraggingCursor()
New GMarkerOption
autoPan
New behaviour
Better graphics in tabbed info window
V2.86
New Methods
maptype.getAlt()
New event
GTrafficOverlay "changed"
Changed behavior
PoweredByGoogle logo & Terms of Use anchors now have target="_blank"
V2.85
See Official Blog
New Methods
GLatLng.copy() GMap2.updateCurrentTab(fn,fn) GMap2.updateInfoWindow(tabs,fn) GMap.updateCurrentTab(fn,fn) GMap.updateInfoWindow(tabs,fn) GMarker.bindInfoWindow(node,opts) GMarker.bindInfoWindowHtml(html,opts) GMarker.bindInfoWindowTabs(tabs,opts) GMarker.bindInfoWindowTabsHtml(tabs,opts) GMarker.closeInfoWindow() GMarker.getTitle() GPolygon.getArea() GPolygon.getBounds() GPolyline.getBounds(v1,v2) GPolyline.getLength()
New Parameters
new GGeoXml takes three parameters instead of two.
New Event
polyrasterloaded
V2.84
7 Jul 2007
See Official Blog
New Methods
GDraggableObject.moveTo(left,top) GGeoXml.getDefaultBounds() GGeoXml.gotoDefaultViewport(map) GGeoXml.hasLoaded() GGeoXml.loadedCorrectly() GTileLayerOverlay.constructor(tilelayer)
Deleted Methods
GGeoXml.getDefaultBound()
Methods changed from static to prototype
GDraggableObject.setDraggableCursor() GDraggableObject.setDraggingCursor()
New GInfoWindowOptions
{contentSize:gsize}
{noClearOnClose:true}
{noCloseBeforeOpen:true}
{onCloseClick:function}
{onMaximizeClick:function}
{onRestoreClick:function}
New GPolylineOptions
{geodesic:true}
V2.83
20 Jun 2007
new Classes
GAdsManager(map,AdSenseId)
new Methods
GAdsManager.disable() GAdsManager.enable()
GBounds.intersects(bounds,bounds)
GGeoXml.getDefaultBound() GGeoXml.getDefaultCenter() GGeoXml.getDefaultSpan() GGeoXml.getTileLayerOverlay()
GTileLayerOverlay.getTileLayer()
GTrafficOverlay.hasTrafficDataInView()
new loader tokens
_mAdSenseForMapsEnable _mWizActions
new GInfoWindowOption
{limitSizeToMap:true}
deleted Methods
GBounds.mid()
changed behaviour
If you forget to set up the VML namespace, polylines and polygons still get drawn in MSIE.
V2.82
31 May 2007
New Methods
GClientGeocoder.getBaseCountryCode() GClientGeocoder.getViewport() GClientGeocoder.setBaseCountryCode(a) GClientGeocoder.setViewport(a)
V2.81
19 May 2007
New Classes
GDirections(a,b) GRoute(a,b,c) GStep(a)
New Methods
GDirections.clear() GDirections.getBounds() GDirections.getCopyrightsHtml() GDirections.getDistance() GDirections.getDuration() GDirections.getGeocode(a) GDirections.getMarker() GDirections.getNumGeocodes() GDirections.getNumRoutes() GDirections.getPolyline() GDirections.getRoute(a) GDirections.getStatus() GDirections.getSummaryHtml() GDirections.load(a,b) GDirections.loadFromWaypoints(a,b) GRoute.getDistance() GRoute.getDuration() GRoute.getEndGeocode() GRoute.getEndLatLng() GRoute.getNumSteps() GRoute.getStartGeocode() GRoute.getStep(a) GRoute.getSummaryHtml() GStep.getDescriptionHtml() GStep.getDistance() GStep.getDuration() GStep.getLatLng() GStep.getPolylineIndex()
Deleted Parameters
GClientGeocoder loses the second parameter (added in v2.80)
New Parameters
map.setFocus() now has two parameters instead of one
New Constants
G_END_ICON G_GEO_BAD_REQUEST G_GEO_MISSING_QUERY G_GEO_UNKNOWN_DIRECTIONS G_PAUSE_ICON G_START_ICON
New GMapOptions
isEmbed
New GDirectionsOptions
locale getPolyline getSteps preserveViewport
New GInfoWindowOptions
buttons
New GInfoWindowButtonOptions
isGif width height rightPadding show clickHandler text textLeftPadding
New loader tokens
_mDirectionsEnableApi _mF _mIwButtonFullSize _mUrlLanguageParameter
New events
addfeaturetofolder
Changed behaviour
No API key required for http://localhost/
V2.80
16 May 2007
New behaviour
GGeoXML will now render ground overlays specified in a loaded KML file
New supported browser
Camino is accepted as a known supported browser
New Methods
GOverlay.isHidden() GOverlay.supportsHide() GOverviewMapControl.isHidden() By default, overlay.supportsHide() returns false and overlay.isHidden() throws "Interface method not implemented". Overlay subClasses that support hide overwrite these inherited methods GMarker, GInfoWindow and GGroundOverlay always support hide GPolygon and GPolyline may support hide. Presumably it depends on the graphics system being used. Other overlay subClasses don't support hide.
New parameters
GJsLoaderInit() accepts two parameters instead of one GClientGeocoder() accepts two parameters instead of one The second parameter is an API key to be used for geocoding. I guess this allows pages hosted on domains owned by Google to use no key for the API code (and thus see the NAVTEQ maps) but use a key for geocoding without having to use an iframe.
New loader tokens
_mLoadingMessage _mAuthToken _mTimeoutMessage
V2.79
18 Apr 2007
New Classes
GGroundOverlay(url of image, latlngbounds, opts) GTrafficOverlay()
New Function
GJsLoaderInit(url)
New Methods
GGroundOverlay.prototype.copy() GGroundOverlay.prototype.hide() GGroundOverlay.prototype.initialize(map) GGroundOverlay.prototype.redraw(bool) GGroundOverlay.prototype.remove() GGroundOverlay.prototype.show()
GTrafficOverlay.prototype.disableTrafficButton() GTrafficOverlay.prototype.disableTrafficLayer() GTrafficOverlay.prototype.enableTrafficButton() GTrafficOverlay.prototype.enableTrafficLayer() GTrafficOverlay.prototype.initialize() GTrafficOverlay.prototype.redraw() GTrafficOverlay.prototype.remove() GTrafficOverlay.prototype.trafficButtonEnabled() GTrafficOverlay.prototype.trafficLayerEnabled()
New parameters
GGeoXml() now accepts two parameters instead of one
New settings
_mTrafficEnableApi if true, the GTrafficOverlay Class is exposed
New behaviour
GBrowserIsCompatible takes more factors into consideration. GBrowserIsCompatible now takes an optional boolean parameter
New GInfoWindowOptions
{maxMode:bits} The value is a bit-coded integer in the range 0 to 7.
New events
showtrafficchanged submit
V2.78
5 Apr 2007
New Methods
map.disableScrollWheelZoom() map.enableScrollWheelZoom() map.scrollWheelZoomEnabled() GPolygon.fromEncoded()
New GInfoWindowOption
{noCloseOnClick:true}
New parameters
GLoadAPI() now takes 8 parameters instead of 7. GLatLng.toUrlValue() now takes a parameter: an integer that specifies the precision.
CSS styles removed
iw title
V1 Map Type names removed
G_MAP_TYPE G_HYBRID_TYPE G_SATELLITE_TYPE Were all put under the control of a loader token. When this token was switched off in October 2008, these names became no longer usable in v2.78 and above.
V2.77
22 Mar 2007
GEvent, GLog, GXml abd GXmlHttp now really are a Namespaces (they were always documented as Namespaces but previously implemented as Classes)
Deleted properties
GMap.windo GMap2.windo
New Methods
GMarker.ishidden() GMap.infoWindowSizeWatcher() GMap2.infoWindowSizeWatcher()
Removed parameters
GEvent.callBackArgs now takes 2 parameters instead of 5. GEvent.trigger now takes 2 parameters instead of 5.
New CSS classes
title iw
V2.76
10 Mar 2007
New class
GGeoXml
New methods
GGeoXml.copy() GGeoXml.hide() GGeoXml.initialize() GGeoXml.redraw() GGeoXml.remove() GGeoXml.show()
New parameter
GOverlay.remove() now takes a parameter. Currently only used by GGeoXml.remove()
New events
map:infowindowupdate map:markerload map:markerunload marker:updatejson
New GInfoWindowOptions
autoScroll boolean maxHeight number
V2.75
See Official Blog
22 Feb 2007
new methods
GMarker.setImage(fileName)
extra parameters
GAddCopyright() now accepts 10 parameters instead of 9
GCopyright() now accepts 6 parameters instead of 5
V2.74
13 Feb 2007
See Official Blog
Deleted properties:
map.contextMenuManager
New properties:
GSize.widthUnit GSize.heightUnit arrow.arrowOffset GIcon.imageMapType
New parameters:
GSize now takes 4 parameters instead of 2. The new parameters can be used to specify the widthUnit and heightUnit. Possible values are "em", "px", "cm", "ex", "in", "mm", "pt", "pc", "%"
New events:
contextmenuopened maximizedcontentadjusted
New behaviour:
GControlPosition applies the widthUnit and the heightUnit of the passed GSize Better error checking in GDownloadUrl
V2.73
22 Jan 2007
Bugfixes:
It is now possible to open info windows in two different maps simultaneously. Errors are no longer thrown by dragging draggable markers (problem introduced in v2.72)
3 Feb 2007
New properties:
map.contextMenuManager
arrow.ground
arrow.group
Note: the arrow overlay Class is not accessible from the API)
New parameters:
_mMenuCenterMap
_mMenuZoomIn
_mMenuZoomOut
Changed Behaviour:
Previously, if you used 0 for an opacity, it would use the default opacity
Now, using 0 opacity makes a polyline or polygon invisible.
V2.72
13 Jan 2007
New Method:
GDraggableObject.getDraggableCursor() returns the value previously set by .setDraggableCursor()
New GMapOption:
{logoPassive:true}
makes the Google Logo unclickable
New event:
map "singlerightclick" triggers when the map is right-clicked returns a GPoint() which identifies the pixel of the map div if doubleClickZoom is enabled, double right clicks don't trigger it if doubleClickZoom is disabled, double right clicks trigger it twice
V2.71
30 Dec 2006
New passed parameters
_mSeeOnGoogleMaps tooltip contents for the Google Logo _mUrlHostParameter URL "host" to be used in usage logging
New methods
GOverlay.show() GOverlay.hide() GPolyline.hide() GPolyline.show() GPolygon.hide() GPolygon.show() GTileLayerOverlay.hide() GTileLayerOverlay.show()
New GMarkerOptions
{dynamic:true} does nothing at the moment
{noprint:true} ?
Changed Behaviour
When you click on the Google Logo, the parameters "&oi=map_misc" and "&ct=api_logo" are appended to the URL that's thrown to Google Maps. Those parameters don't seem to do anything in the current version of Google Maps, but perhaps they'll do something in the next version.
Bugfixes
Continuous zoom no longer unhides overlays (except tile layer overlays) Continuous zoom no longer dereferences overlays
V2.70a
27 Dec 2006
No Syntax changes.
Subtle changes to the handling of overlays during continuous zooms, but the bug with polylines becoming dereferenced is not fixed.
V2.70
7 Dec 2006
New function:
GVerify(imageFileName)
New method:
GBounds.mid()
New exposed properties:
GPolyline.color GPolyline.opacity GPolyline.weight GPolygon.color GPolygon.opacity GPolygon.outline
Extra parameters:
new GPolygon() now takes 7 parameters
new GPolyline() now takes 5 parameters
GPolyline.fromEncoded() now takes two parameters
The additional parameters are {GPolylineOptions}
New options:
GMarkerOptions: description, name, zIndexProcess GPolylineOptions: id, name, outline, mapsdt GDraggableObjectOptions: restrictX GMapOptions: mapOrderMarkers
New Event:
"visibilitychanged"
thrown by GMarker, GPolygon and GPolyline
reuturns one boolean parameter, which is true if the overlay has changed to being visible
Changed behaviour:
Polyline geometry is now calculated at zoom level 17 instead of the current zoom level. This means that any custom map types for maps that have polylines must be created with a GProjection that supports at least 18 zoom levels, like "new GMercatorProjection(18)".
V2.69
20 November 2006
See Official Blog for info on GPolygon.
New Class:
GPolygon
New methods:
GPolygon.copy() GPolygon.getVertex(N) GPolygon.getvertexCount() GPolygon.initialize(map) GPolygon.redraw(bool) GPolygon.remove()
New behaviour:
API keys generated without a subdomain name are accepted for all subdomains. E.g. you can register an API key for "pipex.com" and it will work for all websites owned by Pipex subscribers. There's a check that stops you using a key which has "co" or "off" as its first word, so you can't use the "co.uk" key, but you can use the "org.uk" key.
V2.68
8 November 2006
New method:
GBounds.copy()
Bugfixes:
Some problems with marker mouseover events failing to trigger in some circumstances.
V1 shut down
8 November 2006
The APIv1 code is no longer being served.
If you specify &v=1 when you load the API, then you get the APIv2 code.
V2.67
See Official Blog
25 October 2006
New Class:
GMarkerManager(map, options)
GMarkerManagerOptions:
maxZoom trackMarkers borderPadding
New methods:
GMarkerManager.addMarker(marker, minzoom, maxzoom) GMarkerManager.addMarkers(array of GMarkers, minzoom, maxzoom) GMarkerManager.getMarkerCount(zoom) GMarkerManager.refresh()
V2.66
11 October 2006
See Official Blog
Syntax changes: none that I can see
Changed behaviour: none that I can see
V2.65
See Official Blog
New event
ginfowindow "animate"
Bugfixes
The bug that occurred when: 1. There's a draggable marker with a custom icon that has no imagemap 2. The info window is open close to that marker 3. The browser is not MSIE 4. The map is zoomed and caused the marker redraw to fail is now fixed.
The bug that disabled map clicks from markers that vere removed and re-added is now fixed.
The bug that caused extra map clicks in MSIE is now fixed
V2.64
See Official Blog
New prototypes
The Classes GAddCopyright, GCopyright, GDownloadUrl, GEvent, GKeyboardHandler, GInfoWIndowTab, GLoadApi, GLog, GUnloadApi, GValidateKey, GXml, GXslt now have prototypes
New parameters
GLoadApi() now has 7 parameters instead of 5
New Event
map: "zoomrangechange"
New GMapTypeOption
alt: sets the text for the "title" attribute of the map tpe buttons
Changed Behaviour
Speed improvements in addOverlay and removeOverlay Instead of the info window graphics being constructed from lits of small PNG files, there are now just two larger PNG files, one for the info window parts and one for the shadow parts.
V2.63
Changed behaviour
Special processing if there are elements with id="business_name" inside the info window. Special processing if there are elements with id="dmap" or id="dnavbar" anywhere. API key validation is now bypassed for "orkut.com".
New GIconOptions
dragCrossMove
New GMapTypeOptions
latLngBounds maxZoom borderPadding
New GInfoWindowOptions
maxUrl onPrepareOpenFn
New Events
map "maxtab" ?? "vpage"
New GMapOptions
noResize staticMap
New Error
"singleton" can be thrown by the tile fetcher
New method
GBounds.equals(a)
New static method
GPolyline.fromEncoded(a)
Changed parameters
GAddCopyright() now has 9 parameters instead of 8 GCopyright() now has 5 parameters instead of 4
New parameter
GPolyline.zoomFactor (may possibly be a typo by the programmer)
V2.62
See Official Blog
New GInfoWindowOption:
maxUrl
Bug Fixes:
showMapBlowup now handles the zoomLevel and mapType options correctly.
GMarker.label now handles transparent PNG files as well as GIFs
map.removeOverlay() now works on GTileLayerOverlay objects.
Javascript errors that occur inside event callbacks are no longer suppressed.
Changed behaviour
addOverlay() now runs faster
The info window is now an overlay.
Clicking on the info window causes a click event.
Warning If you're using
GEvent.addListener(map, "click", function(overlay, point) {
if (overlay) {
you can no longer assume that the overlay is a GMarker.
V2.61
See Official Blog
New Class
GTileLayerOverlay(tilelayer)
Changed parameters
GLoadApi() now accepts five parameters instead of four.
V2.60
See Official Blog
Changed parameters
map.zoomIn() now has a third optional parameter. If set to true (and continuous zoom is enabled) then an animated zoom is performed. If false or absent then a normal zoom is performed.
map.zoomOut() now has a second optional parameter. If set to true (and continuous zoom is enabled) then an animated zoom is performed. If false or absent then a normal zoom is performed.
Changed behaviour
Zooming by using the standard map controls does not perform an animated zoom. Animated zooms only occur when using map.zoomIn() or map.zoomOut with the new parameter set true, or when executing a double-click zoom.
V2.59
See Official Blog
Deleted properties
GInfoWindow now has no accessible properties Previously these properties were accessible .images .map .pixelOffset .pixelPosition .point .selectedTab .shadow .tabs .window
New classes
GDraggableObject(a,b) (abstract class?)
static methods
GDraggableObject.getDraggingCursor(a)
GDraggableObject.setDraggableCursor(a)
GDraggableObject.setDraggingCursor(a)
instance methods
GDraggableObject.disable()
GDraggableObject.dragging()
GDraggableObject.enable()
GDraggableObject.enabled()
New properties
GIcon.dragCrossAnchor GIcon.dragCrossImage GIcon.dragCrossSize GIcon.maxHeight GMap.windo GMap2.windo
New methods
GControl.clear() GInfoWindow.getContentContainers() GInfoWindow.getTabs() GInfoWindow.maximize(a) GInfoWindow.reposition(latlng,offset) GInfoWindow.restore(a)
Changed parameters
GEvent.callbackArgs now accepts 5 parameters rather than 4
New Events
? "DOMMouseScroll" ? "mousewheel" map "infowindowprepareopen" infowindow "maximizeclick" infowindow "maximizeend" infowindow "restoreclick" infowindow "restoreend"
New GMarkerOptions
{bouncy} default=true
{bounceGravity} default=1
{bounceTimeout} default=30
New GMapOptions
(draggableCursor} default="url(http://www.google.com/intl/en_ALL/mapfiles/openhand.cur), default"
{draggingCursor} default="url(http://www.google.com/intl/en_ALL/mapfiles/closedhand.cur), move"
{suppressCopyright} default=false
{usageType} possible values "o"=overview "p"=blowup
Changed behaviour
When you release a draggable marker it does a silly little bounce.
(Untested) API key validation is skipped for googlepages.com pages.
Significant speed improvements in removeOverlay() and clearOverlays()
A new <accuracy> value is returned in the geocoder response
The API no longer assumes that markers are PNG files. If the GIcon.image string doesn't end in ".png" then the image is rendered natively in MSIE.
New HTML geocoder interface
&output=csv
Bug Fixes
marker.iconSize is no longer ignored in MSIE Calling marker.enableDragging() twice no longer causes a crash showMapBlowup now correctly copies the map types of the parent map
V2.58
See Official Blog and Zoooooooom!
Bug fixes:
The geocoder key validation now matches that used for the map. A key for www.mysite.com will now work on mysite.com and vice versa.
New methods:
marker.hide() marker.show() map.enableContinuousZoom() map.disableContinuousZoom() map.continuousZoomEnabled() map.enableDoubleClickZoom() map.disableDoubleClickZoom() map.doubleClickZoomEnabled()
marker.hide() makes a marker invisible and marker.show() makes a marker visible. This is equivalent to the display property for regular DOM elements.
When Continuous Zoom is enabled, anything that causes the zoom to change by one level causes a short animated zoom. The tiles are scaled to produce the effect.
map.zoomIn(latlng,true) does an animated zoom and pan centring the map at the specified GLatLng()
map.zoomIn(latlng,false) does an animated zoom and pan that keeps the specified latlng at the same position relative to the map container.
map.zoomOut(latlng) does an animated zoom and pan that keeps the specified latlng at the same position relative to the map container.
zoomIn() and zoomOut() without any parameters performs a zoom relative to the current centre.
When DoubleClickZoom is enabled, double clicking the map causes the map to zoom in by one level as well as centring the map at the clicked point.
New GInfoWindowOption:
suppressMapPan:true allows the info window to open without a corresponding map pan.
Events:
The map "zooming" event is triggered for each frame of a continuous zoom. No parameters are returned.
The map "zoomstart" event is triggered when a continuous zoom starts.
The parameters returned are:
integer +1 for zoomIn, -1 for zoomOut
GLatLng the passed GLatLng from zoomIn() or zoomOut()or the map centre if that parameter was absent
bool the second parameter from zoomIn()or false if that parameter was absent.
V2.57
24 Jun 2006
Syntax changes: none that I can see
Changed behaviour: none that I can see
V2.56
15 Jun 2006
See Official Blog
Changed parameters
GEvent.trigger() now accepts 5 parameters instead of 4. The extra parameter is passed to the listener function. map.zoomOut() now accepts a parameter - a GLatLng() - which does nothing if doContinuousZoom is false (which it is)
Changed functionality
map.zoomIn(latlng, true) now centres on the specified GLatLng as well as zooming in The map cursor has changed to the "hand" pointer.
V2.55a
14 Jun 2006
See: Official Blog
No syntax changes from v2.55
V2.55
12 Jun 2006
Syntax Changes:
New classes:
GClientGeocoder(cache) GGeocodeCache() GFactualGeocodeCache()
New methods:
GClientGeocoder.getCache() GClientGeocoder.getLatLng(address,function) GClientGeocoder.getLocations(address,function) GClientGeocoder.reset() GClientGeocoder.setCache(cache) GGeocodeCache.get(address) GGeocodeCache.isCachable(result) GGeocodeCache.put(address,result) GGeocodeCache.reset() GGeocodeCache.toCanonical(address) GFactualGeocodeCache.get(address) GFactualGeocodeCache.isCachable(result) GFactualGeocodeCache.put(address,result) GFactualGeocodeCache.reset() GFactualGeocodeCache.toCanonical(address)
New Constants
G_GEO_SUCCESS G_GEO_MISSING_ADDRESS G_GEO_UNKNOWN_ADDRESS G_GEO_UNAVAILABLE_ADDRESS G_GEO_BAD_KEY G_GEO_TOO_MANY_QUERIES G_GEO_SERVER_ERROR
Changed behaviour:
SVG is now enabled by default when using Firefox, unless the operating system is X11.
Bug Fixes:
performing removeoverlay and addoverlay inside a map click event no longer causes an infinite loop. in Google Maps, the marker is now displayed when the query contains only lat,lng coordinates.
V2.54
7 Jun 2006
See Official Blog
Syntax Changes:
The GMap2.dragging property is deleted.
New zoom settings are introduced: doContinuousZoom and doDoubleClickZoom. At present, it doesn't seem possible to switch on these settings. The code looks like they can be switched on by using var _mFlags = {doContinuousZoom:true, doDoubleClickZoom:true} but it doesn't seem to happen at the moment.
GMap2.zoomIn() now has two parameters. The first parameter is never used. The second parameter is a GLatLng() object which is only used if doContinousZoom is switched on (which can't be done at present). I can't work out its intended purpose.
Two new events are added "zoomstart" and "zooming". I suspect that these events have something to do with doContinuousZoom.
V2.53
31 May 2006
See: Official Blog
Syntax changes: none that I can see
Changed behaviour: the GOverviewMapControl no longer covers the copyright.
V2.52
24 May 2006
See Official Blog
Syntax changes: none that I can see
Changed behaviour: The GLog window is now very much wider.
V2.51
17 May 2006
See: Official Blog
New method
GLatLngBound.getCenter()
New GIcon parameter
new GIcon(gicon, image, label, shadow)
If the new fourth parameter is present, then it sets the GIcon().shadow property.
New Events
map "infowindowbeforeclose" marker "infowindowbeforeclose"
New GInfoWindowOptions option
onBeforeCloseFn
The map panes have been renumbered. A new, unnamed, pane has been added as number 1, and all the panes above that have been shifted up. E.g. G_MAP_MARKER_SHADOW_PANE was previously number 1, but now it is number 2.
V2.50a
16 May 2006
See Official Blog
V2.50
10 May 2006
- New bug: the map "mousemove", "mouseover" and "mouseout" events return the location in the second argument instead of the first.
- Added GMarker option
tooltip
Use like "new GMarker(point, {tooltip:"My House"});"
- Added Class:
GCopyright(id, bounds, minZoom, text)
The GCopyright class has no accessible properties or methods
- Added Method:
GCopyrightCollection.getCopyrightNotice(bounds, zoom)
- Added symbol:
GXslt.create()
At present there's just a void symbol GXslt.create(). There isn't any actual code associated with it, so the only change is that you now get the error "GXslt.create is not a function" instead of "GXslt.create is not defined" if you try to use it.
- Deleted properties:
GLatLngBounds.lat GLatLngBounds.lng
V2.49
2 May 2006
See Official Blog
No syntax changes.
GOverviewMapControl() is now placed in the corner of the map, rather than the corner of the page.
New bug: Tiles are drawn outside the map in MSIE 6.0 when the map div is under the influence of <center> or align=center or align=right.
V2.48
27 April 2006
See Official Blog
There don't seem to be any syntax changes.
V2.47
18 April 2006
See Official Blog
There don't seem to be any syntax changes.
- Bugfix: The bug that caused inert default markers to become clickable, is fixed.
V2.46
12 April 2006
See Official Blog
The following methods are deleted
GPolyline.fromEncoded() GPolyline.getNumPoints() GPolyline.getPoint()
The following methods are added
GMarker.disableDragging() GMarker.dragable() GMarker.dragging() GMarker.draggingEnabled() GMarker.enableDragging()
GPolyline.getVertex() GPolyline.getVertexCount()
GProjection.getWrapWidth()
The following symbols are exposed, but there appears to be no underlying methods associated with them
GMap.dragging() GMap2.dragging()
- Bugfix: The "IE shadowed marker bug" is fixed. (Markers in some regions near or under an info window shadow had become unclickable in IE. NOTE: this is not the situation where custom markers that don't have a properly configured click target are not clickable in shadow. These are Google markers and properly specified custom markers.)
- Bugfix: The bug that caused very slow panning when there were large numbers of HTML elements on the page, outside the map, is fixed.
- Bugfix: The bug that caused the map type button to not be highlighted if setCenter is called before adding GMapTypeControl, is fixed.
- Despite the entry in the Official Blog, the documented method GMapType.getCopyright() is still not available.
V2.45
06 April 2006
See Official Blog
The following symbols are deleted:
GMapType.getCopyright()
- Bugfix: The bug that caused problems when there was an <input> on the page with no type attribute (in particular that the dragend event didn't happen) is fixed.
V2.44
29 March 2006
See: Official Blog "There are no major changes in the current v2 revision".
The following symbols are deleted:
GCopyrightControl() GLogoControl() GMarker.clickable GMarker.icon GMarker.imageMap GMarker.images[] GMarker.map GMarker.point GMarker.position GPolyline.color GPolyline.minTolerance GPolyline.nextPointATIndexLevel GPolyline.nextPointIndexAtLevel GPolyline.opacity GPolyline.points GPolyline.weight GPolyline.zoomFactor
The following symbols are added:
G_MAP_MAP_PANE GInfoWindow.isHidden() GMap2.fromDivPixelToLatLng() GMap2.fromLatLngToDivPixel() GMap2.hideControls() GMap2.showControls() GMarker.getIcon() GMarker.getPoint() GMarker.setPoint() GOverviewMapControl.getOverviewMap()
The syntax of the GMap2() constructor is changed.
V2.43
23 March 2006
See Offical Blog
One brand new method has become available:
GMap2.getPane(i)
And a set of values that can be used with that method
G_MAP_MARKER_SHADOW_PANE G_MAP_MARKER_PANE G_MAP_FLOAT_SHADOW_PANE G_MAP_MARKER_MOUSE_TARGET_PANE G_MAP_FLOAT_PANE
Three methods that were previously only available for GMap() have become available for GMap2() also.
GMap2.disableInfoWindow() GMap2.enableInfoWindow() GMap2.infoWindowEnabled()
One method is replaced
GMap2.pan(x,y) has been replaced by GMap2.panBy(gsize)
V2.42
17 March 2006
See Official Blog
It's no longer necessary to make the GOverviewMapControl larger than its default size in order to be able to access its zoom control. Its map type control has been changed to a drop down list, instead of the usual three buttons, so it no longer gets in the way.
You can now develop map pages on your local computer without having to register an API key for "localhost". Just drag the file into your browser and GValidateKey() skips the key check if the protocol is "file:".
V2.41
8 March 2006
See Official Blog
One new class is introduced
GOverviewMapControl()
In adition to the inherited GControl() methods, it also supports
GOverviewMapControl.hide() GOverviewMapControl.show()
V2.40
6 March 2006
See Official Blog
No significant changes observed.
V2.39
27 February 2006
New classes added. These can both be considered to be bug fixes. There was previously a typo in the line that tried to expose the GKeyboardHandler symbol. GBounds() was somehow not included when compatibility mode was introduced.
GKeyboardHandler() GBounds()
New methods added
GEvent.addDomListener()
There were also some new events added, but I don't have full details any more.
V2.38
21 February 2006
See Official Blog
20050903 Changes
Bret Taylor says:
- We will be pushing post-Katrina imagery of the New Orleans area to the Google Maps servers imminently. To provide users with both "before" and "after" images, we are launching the imagery as a separate Map Type that only appears when your map viewport is over New Orleans. Basically, when you pan the map over New Orleans, a red "Katrina" button will appear after the "Hybrid" button.
20050826 Change list
(This change log applies to maps.18.js.)
These are the noteworthy changes in this version:
- 20050826-01 removed Array.prototype.clear()
- This was causing problems for people who were iterating over objects using the 'for (var x in y)' construct. The 'clear' member was showing up in the iteration.
- 20050826-02 Made the API key check more flexible
- As of this release, the key checks should work in the following cases:
- http: vs https:
- www.xyz.com vs xyz.com
- sub-directories should work:
http://www.xyz.com/a/b/c/map.html will work for a key registered
against http://www.xyz.com/a/b/
- 20050826-03 Several XSL related bug fixes (Safari only)
- 20050826-04 Clicking on Google Maps API logo will break frames
- In cases where a map was embedded in an iframe (probably because of the key check restrictions), clicking on the Google logo loaded the Google Maps page within the iframe. Now, clicking on the logo will load the page in the top-most frame (the window).
- 20050826-05 GIcon with no shadow image GIcon used to request null or undefined URLs when the shadow image was not specified.
- It now checks to see if shadow image is set before requesting those images.
- See: This thread
- 20050826-06 Custom icons in IE show actual size, not scaled size
- When creating a custom icon, if the specified image did not match the supplied size for the image, the image was not scaled (instead, the size was ignored).
- See: This thread
Pasha
20050805 Change List
(This change log applies to maps.17.js.)
- 20050805-01 - Info window is not correctly anchored during zoom.
- 20050805-02 - Wrong click coordinates passed to event handlers if infowindow is open.
- See this post
- 20050805-03 - Calling disableDragging disables all events.
- See this post
- 20050805-04 - Info window should resize when contents resize.
- This change makes the infowindow resize properly if its content changes its size, e.g. on font size changes or if images in the infowindow are loaded with delay. However, there are some limitations:
- In Firefox, we can only detect height changes, not width changes.
- In IE, only enlargement can be detected. If the content shrinks, the window remains the same size.
- 20050805-05 - Apply default style to all images created by the maps.
- See this post
Stay tuned for the next update and keep up the great work :)
Pasha (from this post)
