Skip to content

Commit

Permalink
fixed Google Maps connector y offset and rebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Tokumine committed Sep 7, 2011
1 parent 06e93bd commit bff0dfd
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion connectors/g/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ wax.g.connector.prototype.getTileUrl = function(coord, z) {
var mod = Math.pow(2, z),
y = (this.options.scheme === 'tms') ?
(mod - 1) - coord.y :
y,
coord.y,
x = (coord.x % mod);

x = (x < 0) ? (coord.x % mod) + mod : x;
Expand Down
4 changes: 2 additions & 2 deletions dist/wax.g.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-377-g774dc11 */
/* wax - 3.0.6 - 1.0.4-380-g06e93bd */


/*!
Expand Down Expand Up @@ -1166,7 +1166,7 @@ wax.g.connector.prototype.getTileUrl = function(coord, z) {
var mod = Math.pow(2, z),
y = (this.options.scheme === 'tms') ?
(mod - 1) - coord.y :
y,
coord.y,
x = (coord.x % mod);

x = (x < 0) ? (coord.x % mod) + mod : x;
Expand Down
4 changes: 2 additions & 2 deletions dist/wax.g.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wax.leaf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-377-g774dc11 */
/* wax - 3.0.6 - 1.0.4-380-g06e93bd */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.leaf.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wax.mm.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-377-g774dc11 */
/* wax - 3.0.6 - 1.0.4-380-g06e93bd */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.mm.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/wax.ol.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* wax - 3.0.6 - 1.0.4-377-g774dc11 */
/* wax - 3.0.6 - 1.0.4-380-g06e93bd */


/*!
Expand Down
2 changes: 1 addition & 1 deletion dist/wax.ol.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bff0dfd

Please sign in to comment.