Permalink
Browse files

Removing empty removeAllMarkers provider methods as they aren't needed.

git-svn-id: https://mapstraction.googlecode.com/svn/trunk@81 5785637c-5c24-0410-85b3-eb650f34d106
  • Loading branch information...
1 parent 4ddf361 commit d8d5e2392a324a25303fd5e03c0195559cee6111 dezfowler committed May 21, 2010
@@ -110,11 +110,7 @@ mxn.register('cloudmade', {
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];
@@ -250,10 +250,6 @@ mxn.register('geocommons', {
},
- removeAllMarkers: function() {
- // Done in mxn.core.js
- },
-
declutterMarkers: function(opts) {
var map = this.maps[this.api];
@@ -154,15 +154,9 @@ Mapstraction: {
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) {
@@ -154,11 +154,6 @@ Mapstraction: {
// 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];
@@ -125,12 +125,6 @@ Mapstraction: {
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];
@@ -181,16 +181,8 @@ mxn.register('openlayers', {
},
- 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) {
@@ -120,12 +120,6 @@ Mapstraction: {
// 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];
View
@@ -129,14 +129,9 @@ Mapstraction: {
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) {

0 comments on commit d8d5e23

Please sign in to comment.