dist files

This commit is contained in:
javi 2014-07-11 14:37:55 +02:00
parent 612c7ad6b1
commit 7a75d44eb6
3 changed files with 10 additions and 4 deletions

4
dist/torque.full.js vendored

File diff suppressed because one or more lines are too long

4
dist/torque.js vendored

File diff suppressed because one or more lines are too long

View File

@ -2078,6 +2078,12 @@ exports.Profiler = Profiler;
for(var k in opt) {
self.options[k] = opt[k];
}
// use cdn_url if present
if (data.cdn_url) {
var c = self.options.cdn_url = self.options.cdn_url || {};
c.http = data.cdn_url.http || c.http;
c.https = data.cdn_url.https || c.https;
}
self.templateUrl = self.url() + "/api/v1/map/" + data.layergroupid + "/" + torque_key + "/{z}/{x}/{y}.json.torque";
self._setReady(true);
} else {