Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
#157-layerOptions.boxReload in fe point layers
Browse files Browse the repository at this point in the history
  • Loading branch information
bariela committed Sep 22, 2022
1 parent e2587f8 commit ece6933
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ol/dataLayers/layerTypes/points.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import boxReloadVectorSourceLoader from '../boxReloadVectorSourceLoader';

const pointsLayer = (layerData, handleIsLoading) => {
let vectorSource;
if (layerData.geoReferenceId === null) {
if (layerData.geoReferenceId === null || (layerData.layerOptions && layerData.layerOptions.boxReload)) {
vectorSource = boxReloadVectorSourceLoader(layerData, handleIsLoading, layerData.title);
} else {
vectorSource = vectorSourceLoader(layerData, handleIsLoading, layerData.title, 'points');
Expand Down

0 comments on commit ece6933

Please sign in to comment.