you said the 'mapServers' is OPTIONAL,but when i set config
like this:
var config = {overlays:overlays,selectedBasemap: 'OpenStreetMap',selectedOverlays: ["cities"],baseLayers:baseLayers,};
there will be a problem in leaflet-autolayers.js:397
ERROR is : Uncaught TypeError: Cannot read property 'length' of undefined
you said the 'mapServers' is OPTIONAL,but when i set config like this:
var config = {
overlays:overlays,
selectedBasemap: 'OpenStreetMap',
selectedOverlays: ["cities"],
baseLayers:baseLayers,
};
there will be a problem in leaflet-autolayers.js:397 ERROR is : Uncaught TypeError: Cannot read property 'length' of undefined