Commit cb1610e1 authored by ext.sopra.ncastejon's avatar ext.sopra.ncastejon
Browse files

Fix KML file download.

parent 1bead292
Pipeline #5012 passed with stage
in 3 minutes and 58 seconds
......@@ -165,11 +165,13 @@ export class ResourceDownloadItemComponent implements OnInit {
} else {
queryableUrl += `/${this.resource.metadataLink.name}.shp?srsname=EPSG:3946`;
}
} else if (this.resource.type === linkFormats.kml) {
queryableUrl += `?${this.resource.parametersUrl}` +
`&typename=${this.resource.metadataLink.name}`;
}
} else {
queryableUrl = this.link.url;
}
queryableUrl += this.queryableParameters.insee;
return queryableUrl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment