PB-856 : add a style selector for KML in layer settings
this enables users to opt-out of the default style (Google Earth like) we apply by default to external KML, and let them go back to the GeoAdmin (all red) style that was previously (on mf-geoadmin3) applied across the board.
adding this choice to the layer URL extra attributes
web-mapviewer
Run #3872
Run Properties:
Passed #3872 •
f26ca6b20a: PB-856 : add a style selector for KML in layer settings
| Project |
web-mapviewer
|
| Branch Review |
feat-PB-856-add-kml-style-selector
|
| Run status |
|
| Run duration | 04m 46s |
| Commit |
|
| Committer | Pascal Barth |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
21
|
|
|
0
|
|
|
212
|
| View all changes introduced in this branch ↗︎ | |
@pakb @hansmannj With styling and icons we might have a general issue with the introduction of babs icons, this PR (kml style selector) and PB-64 self-contained KML. I did not yet check and tested the babs icon for legacy icons, but did you think about this ? What happen if you open and edit a drawing with legacy babs icon ? Currently (at least before babs icon implementation) the icon selector was a mapping between icon url from the drawing and our icons service which only work if the url was found in our service, now with legacy unlisted icons what do we do ? The same question will also apply for self-contain kml where the icon might not be found in our service-icons if we deprecated them, what do we do in this case ? The response of these questions might impact the style selector, we should have a discussion about this tomorrow.
I tried to load Rossier.kml from the JIRA ticket, but it doesn't allow me anymore. It works in production
@pakb @ismailsunni @ltshb : What's the status here? I think the issues with the BABS icons should be solved. We keep on providing the old icons but unlist them in the viewer. What else needs to be clarified for this PR to be merged?
using this PR test link:
- I no longer able to load KML file using the import file tool, but I can still load it by using drag and drop