Skip to content

Commit

Permalink
Merge pull request #12 from Maplecroft/master
Browse files Browse the repository at this point in the history
Correct handling of tms scheme
  • Loading branch information
Peter Thorin authored Feb 9, 2017
2 parents 62ad088 + d7808f0 commit c3d7340
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@
},
scheme: function(context, scheme) {
context.tileLayer.scheme = scheme;
if (scheme === 'tms') {
context.tileLayer.tms = true;
}
},
subdomains: function(context, subdomains) {
context.tileLayer.subdomains = subdomains;
Expand Down

0 comments on commit c3d7340

Please sign in to comment.