Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/olcs/VectorSynchronizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import olSourceCluster from 'ol/source/Cluster.js';
import olLayerImage from 'ol/layer/Image.js';
import {olcsListen, getUid} from './util.js';
import olLayerVector from 'ol/layer/Vector.js';
import olLayerVectorTile from 'ol/layer/VectorTile.js';
import olcsAbstractSynchronizer from './AbstractSynchronizer.js';
import olcsFeatureConverter from './FeatureConverter.js';

Expand Down Expand Up @@ -99,7 +100,7 @@ class VectorSynchronizer extends olcsAbstractSynchronizer {
*/
createSingleLayerCounterparts(olLayerWithParents) {
const olLayer = olLayerWithParents.layer;
if (!(olLayer instanceof olLayerVector)) {
if (!(olLayer instanceof olLayerVector) || olLayer instanceof olLayerVectorTile) {
return null;
}
console.assert(olLayer instanceof olLayerLayer);
Expand Down