Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit d8d5e2392a324a25303fd5e03c0195559cee6111 1 parent 4ddf361
dezfowler authored
View
6 source/mxn.cloudmade.core.js
@@ -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];
View
4 source/mxn.geocommons.core.js
@@ -250,10 +250,6 @@ mxn.register('geocommons', {
},
- removeAllMarkers: function() {
- // Done in mxn.core.js
- },
-
declutterMarkers: function(opts) {
var map = this.maps[this.api];
View
8 source/mxn.google.core.js
@@ -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) {
View
5 source/mxn.googlev3.core.js
@@ -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];
View
6 source/mxn.microsoft.core.js
@@ -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];
View
10 source/mxn.openlayers.core.js
@@ -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) {
View
6 source/mxn.openspace.core.js
@@ -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
7 source/mxn.yahoo.core.js
@@ -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) {
Please sign in to comment.
Something went wrong with that request. Please try again.