codesite-noreply at google.com
2010-May-21 18:50 UTC
[Mapstraction] [mapstraction] r81 committed - Removing empty removeAllMarkers provider methods as they aren''t needed...
Revision: 81 Author: dezfowler Date: Fri May 21 11:49:50 2010 Log: Removing empty removeAllMarkers provider methods as they aren''t needed. http://code.google.com/p/mapstraction/source/detail?r=81 Modified: /trunk/source/mxn.cloudmade.core.js /trunk/source/mxn.geocommons.core.js /trunk/source/mxn.google.core.js /trunk/source/mxn.googlev3.core.js /trunk/source/mxn.microsoft.core.js /trunk/source/mxn.openlayers.core.js /trunk/source/mxn.openspace.core.js /trunk/source/mxn.yahoo.core.js ======================================--- /trunk/source/mxn.cloudmade.core.js Wed Feb 10 16:35:50 2010 +++ /trunk/source/mxn.cloudmade.core.js Fri May 21 11:49:50 2010 @@ -110,11 +110,7 @@ marker.proprietary_marker.closeInfoWindow(); map.removeOverlay(marker.proprietary_marker); }, - - removeAllMarkers: function() { - // Done in mxn.core.js - }, - + declutterMarkers: function(opts) { var map = this.maps[this.api]; ======================================--- /trunk/source/mxn.geocommons.core.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.geocommons.core.js Fri May 21 11:49:50 2010 @@ -250,10 +250,6 @@ }, - removeAllMarkers: function() { - // Done in mxn.core.js - }, - declutterMarkers: function(opts) { var map = this.maps[this.api]; ======================================--- /trunk/source/mxn.google.core.js Tue May 18 01:43:07 2010 +++ /trunk/source/mxn.google.core.js Fri May 21 11:49:50 2010 @@ -154,15 +154,9 @@ var map = this.maps[this.api]; map.removeOverlay(marker.proprietary_marker); }, - - removeAllMarkers: function() { - var map = this.maps[this.api]; - // FIXME: got a feeling this doesn''t only delete markers - map.clearOverlays(); - }, declutterMarkers: function(opts) { - throw ''Not implemented''; + throw ''Not supported''; }, addPolyline: function(polyline, old) { ======================================--- /trunk/source/mxn.googlev3.core.js Tue May 18 01:43:07 2010 +++ /trunk/source/mxn.googlev3.core.js Fri May 21 11:49:50 2010 @@ -154,11 +154,6 @@ // doesn''t really remove them, just hides them marker.hide(); }, - - removeAllMarkers: function() { - var map = this.maps[this.api]; - // TODO: Add provider code - }, declutterMarkers: function(opts) { var map = this.maps[this.api]; ======================================--- /trunk/source/mxn.microsoft.core.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.microsoft.core.js Fri May 21 11:49:50 2010 @@ -125,12 +125,6 @@ var microsoftShape = map.GetShapeByID(id); map.DeleteShape(microsoftShape); }, - - removeAllMarkers: function() { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, declutterMarkers: function(opts) { var map = this.maps[this.api]; ======================================--- /trunk/source/mxn.openlayers.core.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.openlayers.core.js Fri May 21 11:49:50 2010 @@ -181,16 +181,8 @@ }, - removeAllMarkers: function() { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, - declutterMarkers: function(opts) { - var map = this.maps[this.api]; - - // TODO: Add provider code + throw ''Not supported''; }, addPolyline: function(polyline, old) { ======================================--- /trunk/source/mxn.openspace.core.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.openspace.core.js Fri May 21 11:49:50 2010 @@ -120,12 +120,6 @@ // TODO: Add provider code }, - removeAllMarkers: function() { - var map = this.maps[this.api]; - - // TODO: Add provider code - }, - declutterMarkers: function(opts) { var map = this.maps[this.api]; ======================================--- /trunk/source/mxn.yahoo.core.js Wed May 19 16:33:35 2010 +++ /trunk/source/mxn.yahoo.core.js Fri May 21 11:49:50 2010 @@ -129,14 +129,9 @@ var map = this.maps[this.api]; map.removeOverlay(marker.proprietary_marker); }, - - removeAllMarkers: function() { - var map = this.maps[this.api]; - map.removeMarkersAll(); - }, declutterMarkers: function(opts) { - throw ''Not implemented''; + throw ''Not supported''; }, addPolyline: function(polyline, old) {