Skip to content

Commit

Permalink
fix(save-map): Store sublayers in sublayers prop
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipLeitner authored and jmacura committed Nov 29, 2024
1 parent 9145b9c commit eb8af73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion projects/hslayers/services/save-map/save-map.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class HsSaveMapService {
json.className = 'ArcGISRest';
json.singleTile = this.hsUtilsService.instOf(src, ImageArcGISRest);
if (getSubLayers(layer)) {
json.params = {LAYERS: getSubLayers(layer)};
json.subLayers = getSubLayers(layer);
}
}
if (this.hsUtilsService.instOf(src, ImageStatic)) {
Expand Down

0 comments on commit eb8af73

Please sign in to comment.