forked from geosolutions-it/MapStore2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
8576 No feedback loading while query 3D Tiles layers (Identify) (geos…
…olutions-it#8602) (geosolutions-it#8631) tested locally, successfully on 2022.01.xx
- Loading branch information
1 parent
8571576
commit 0f18d6a
Showing
12 changed files
with
154 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,42 @@ | ||
import { createStructuredSelector } from 'reselect'; | ||
|
||
import { mapSelector, projectionDefsSelector, isMouseMoveCoordinatesActiveSelector } from '../../selectors/map'; | ||
import { mapTypeSelector, isOpenlayers } from '../../selectors/maptype'; | ||
import { layerSelectorWithMarkers } from '../../selectors/layers'; | ||
import { highlighedFeatures } from '../../selectors/highlight'; | ||
import { securityTokenSelector } from '../../selectors/security'; | ||
import { currentLocaleLanguageSelector } from '../../selectors/locale'; | ||
import { isLocalizedLayerStylesEnabledSelector, localizedLayerStylesNameSelector } from '../../selectors/localizedLayerStyles'; | ||
import { createShallowSelectorCreator } from '../../utils/ReselectUtils'; | ||
import isEqual from 'lodash/isEqual'; | ||
|
||
/** | ||
* Map state to props selector for Map plugin | ||
*/ | ||
export default createStructuredSelector({ | ||
projectionDefs: projectionDefsSelector, | ||
map: mapSelector, | ||
mapType: mapTypeSelector, | ||
layers: layerSelectorWithMarkers, | ||
features: highlighedFeatures, | ||
loadingError: state => state.mapInitialConfig && state.mapInitialConfig.loadingError && state.mapInitialConfig.loadingError.data, | ||
securityToken: securityTokenSelector, | ||
elevationEnabled: isMouseMoveCoordinatesActiveSelector, | ||
shouldLoadFont: isOpenlayers, | ||
isLocalizedLayerStylesEnabled: isLocalizedLayerStylesEnabledSelector, | ||
localizedLayerStylesName: localizedLayerStylesNameSelector, | ||
currentLocaleLanguage: currentLocaleLanguageSelector | ||
}); | ||
|
||
export default createShallowSelectorCreator(isEqual)( | ||
projectionDefsSelector, | ||
mapSelector, | ||
mapTypeSelector, | ||
layerSelectorWithMarkers, | ||
highlighedFeatures, | ||
state => state.mapInitialConfig && state.mapInitialConfig.loadingError && state.mapInitialConfig.loadingError.data, | ||
securityTokenSelector, | ||
isMouseMoveCoordinatesActiveSelector, | ||
isOpenlayers, | ||
isLocalizedLayerStylesEnabledSelector, | ||
localizedLayerStylesNameSelector, | ||
currentLocaleLanguageSelector, | ||
(projectionDefs, map, mapType, layers, features, loadingError, securityToken, elevationEnabled, shouldLoadFont, isLocalizedLayerStylesEnabled, localizedLayerStylesName, currentLocaleLanguage) => ({ | ||
projectionDefs, | ||
map, | ||
mapType, | ||
layers, | ||
features, | ||
loadingError, | ||
securityToken, | ||
elevationEnabled, | ||
shouldLoadFont, | ||
isLocalizedLayerStylesEnabled, | ||
localizedLayerStylesName, | ||
currentLocaleLanguage | ||
}) | ||
); |
Oops, something went wrong.