Browse Source

vector tiles wip

Maurits van der Schee 5 years ago
parent
commit
9b7fa10e43
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      examples/clients/leaflet/vector-tile-layer.js

+ 2
- 2
examples/clients/leaflet/vector-tile-layer.js View File

@@ -1,7 +1,7 @@
1 1
 /* global L */
2 2
 (function() {
3 3
 
4
-    L.vectorTileLayer = L.GeoJSON.extend({
4
+    L.VectorTileLayer = L.GeoJSON.extend({
5 5
 
6 6
     includes: L.Evented.prototype,
7 7
 
@@ -108,7 +108,7 @@ var total_tiles = width * height; // -> eg. 377
108 108
 });
109 109
 
110 110
 L.vectorTileLayer = function (options) {
111
-    return new L.vectorTileLayer(options);
111
+    return new L.VectorTileLayer(options);
112 112
 };
113 113
 
114 114
 }).call(this);

Loading…
Cancel
Save