-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
I don't get the example code to run because of an console error:
var map = L.map("map-canvas", {
attributionControl: false,
zoomControl: false
}).setView(L.latLng(47.491695, 11.095498), 12);
var baseLayer = new L.TileLayer('http://otile1.mqcdn.com/tiles/1.0.0/map/{z}/{x}/{y}.jpg', {
filter: function () {
new L.CSSFilter(this, {
filters: ['saturate(200%)']
}).render();
}
});
map.addLayer(baseLayer);
throws an error
Uncaught ReferenceError: options is not definedL.ChannelFilters.Matrix.L.ChannelFilter.extend.initialize @ leaflet-tilefilter.self.js?body=1:657e @ leaflet.js:6(anonymous function) @ leaflet-tilefilter.self.js?body=1:1044
scaffold.self.js?body=1:3 5
with leaflet version: http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js
Help would be appreciated
Metadata
Metadata
Assignees
Labels
No labels