@corpsmap/corpsmap 3.1.2 → 3.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/dev.js +45 -18
- package/lib/prod.js +45 -18
- package/package.json +1 -1
- package/src/application-bundles/config-bundle.js +5 -1
- package/src/application-bundles/create-ol-map-bundle.js +26 -8
- package/src/application-bundles/map-view-bundle.js +312 -308
- package/src/application-containers/map.js +5 -3
- package/src/application-exports/map-provider.js +6 -1
- package/src/config/default-config.js +561 -561
- package/src/openlayers-utils/layer-utilities.js +6 -3
|
@@ -70,7 +70,8 @@ function getXyzSource(options) {
|
|
|
70
70
|
minZoom: options.minzoom,
|
|
71
71
|
url: url,
|
|
72
72
|
crossOrigin: isCrossOrigin(options.url),
|
|
73
|
-
// CWBI-13636 Prevent horizontal wrapping.
|
|
73
|
+
// CWBI-13636 Prevent horizontal wrapping.
|
|
74
|
+
// Line may no longer be needed.
|
|
74
75
|
// wrapX: false,
|
|
75
76
|
});
|
|
76
77
|
}
|
|
@@ -168,7 +169,8 @@ function getEsriVectorSource(options) {
|
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
function getTileLayer(options, source) {
|
|
171
|
-
// CWBI-13636 Prevent horizontal wrapping.
|
|
172
|
+
// CWBI-13636 Prevent horizontal wrapping.
|
|
173
|
+
// Line may no longer be needed.
|
|
172
174
|
// source.wrapX = false;
|
|
173
175
|
return new Tile({
|
|
174
176
|
source: source,
|
|
@@ -181,7 +183,8 @@ function getTileLayer(options, source) {
|
|
|
181
183
|
}
|
|
182
184
|
|
|
183
185
|
function getImageLayer(options, source) {
|
|
184
|
-
// CWBI-13636 Prevent horizontal wrapping.
|
|
186
|
+
// CWBI-13636 Prevent horizontal wrapping.
|
|
187
|
+
// Line may no longer be needed.
|
|
185
188
|
// source.wrapX = false;
|
|
186
189
|
return new Image({
|
|
187
190
|
source: source,
|