Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make error messages more useful.

  • Loading branch information...
commit 90ff862c20cffcde8cc088bdcfcfb817f8aded79 1 parent b263deb
@wiseman wiseman authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/projection.js
  2. +2 −2 src/provider.js
View
4 src/projection.js
@@ -16,11 +16,11 @@
transformation: null,
rawProject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawProject not implemented by subclass.";
},
rawUnproject: function(point) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method rawUnproject not implemented by subclass.";
},
project: function(point) {
View
4 src/provider.js
@@ -22,11 +22,11 @@
],
getTileUrl: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTileUrl not implemented by subclass.";
},
getTile: function(coordinate) {
- throw "Abstract method not implemented by subclass.";
+ throw "Abstract method getTile not implemented by subclass.";
},
// releaseTile is not required
Please sign in to comment.
Something went wrong with that request. Please try again.