const geo = new OLGeoJSON();
const source = new VectorSource({
// format: new OLGeoJSON(),
wrapX: false,
projection: 'EPSG:4326',
features: geo.readFeatures(features, {
dataProjection: 'EPSG:4326',
featureProjection: 'EPSG:3857',
}),
});
使用矢量图层时,添加190多个要素不会显示任何点