-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #1640 added singleTile option to Display Tab #1803
Fix #1640 added singleTile option to Display Tab #1803
Conversation
…Store2 into MV88-iss_1640_singletile_fix
@@ -79,6 +79,7 @@ function wmsToLeafletOptions(options) { | |||
transparent: options.transparent !== undefined ? options.transparent : true, | |||
tiled: options.tiled !== undefined ? options.tiled : true, | |||
opacity: opacity, | |||
"zIndex": options.zIndex, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove double quotes
newLayer = L.tileLayer.multipleUrlWMS(urls, newQueryParameters); | ||
} | ||
if ( newParameters.length > 0 ) { | ||
newParameters.forEach( key => newParams[key] = newQueryParameters[key] ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
convert to map please
web/client/utils/cesium/Layers.js
Outdated
@@ -35,9 +35,8 @@ var Layers = { | |||
updateLayer: function(type, layer, newOptions, oldOptions, map) { | |||
var layerCreator = layerTypes[type]; | |||
if (layerCreator && layerCreator.update) { | |||
return layerCreator.update(layer, newOptions, oldOptions, map); | |||
return layerCreator.update(newOptions, oldOptions, map); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You cannot change the signature of update, other layers (e.g. MarkerLayer) expect a layer as the first parameter
The SingleTile option has been added for leaflet and openlayers and cesium in layer properties.
It has been also fixed the tileprovider and wms proxy for cesium.
Cesium Layer has been updated with correct props.