Reactjs openlayer矢量图层添加功能不显示
使用vectorlayer时,添加超过190个特征不会显示任何点Reactjs openlayer矢量图层添加功能不显示,reactjs,openlayers,Reactjs,Openlayers,使用vectorlayer时,添加超过190个特征不会显示任何点 const geo = new OLGeoJSON(); const source = new VectorSource({ // format: new OLGeoJSON(), wrapX: false, projection: 'EPSG:4326', features: geo.readFeatures(features, { dataProjection: 'EPSG:43
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',
}),
});