Derive datasource type from 'External' if possible.
This commit is contained in:
parent
efb301b357
commit
277d6a520c
@ -98,6 +98,9 @@ carto.Renderer = function Renderer(env) {
|
||||
next(new Error('No .shp file found in zipfile'));
|
||||
} else {
|
||||
l.Datasource.file = file;
|
||||
l.Datasource.type = l.Datasource.type ||
|
||||
(external.type.ds_options &&
|
||||
external.type.ds_options.type);
|
||||
next();
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user