-
Notifications
You must be signed in to change notification settings - Fork 11
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
PB-64, PB-970: Add full support of KMZ file and fixed KML inlined icons #minor #1063
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
changed the title
PB-970: Add support for simple KMZ file
PB-970: Add support for simple KMZ file - #minor
Sep 12, 2024
web-mapviewer Run #3310
Run Properties:
|
Project |
web-mapviewer
|
Branch Review |
feat-PB-970-kmz-support
|
Run status |
Passed #3310
|
Run duration | 04m 38s |
Commit |
cbe20af6c7: PB-970: Added support for KMZ icons and fix inline KML icon
|
Committer | Brice Schaffner |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
21
|
Skipped |
0
|
Passing |
210
|
View all changes introduced in this branch ↗︎ |
ltshb
force-pushed
the
feat-PB-970-kmz-support
branch
from
September 12, 2024 09:58
e9210cd
to
ed15b91
Compare
ltshb
changed the title
PB-970: Add support for simple KMZ file - #minor
PB-970: Add full support of KMZ file and fixed KML inlined icons #minor
Sep 12, 2024
ltshb
force-pushed
the
feat-PB-970-kmz-support
branch
3 times, most recently
from
September 12, 2024 11:03
77160f4
to
014b8b8
Compare
pakb
approved these changes
Sep 12, 2024
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.
All good code wise.
Only thing I was wondering is : should we start documenting which exception will be raised/thrown by our file loading utils? There starts to be a lot of different reasons the handleFileContent
or other similar functions could fail by raising errors.
Only support the kml file inside the KMZ.
Icons in kml can be inlined in href using base64 like this <IconStyle><Icon><href>data:image/png;base64,...</href></Icon></IconStyle> So such href cannot be passed to our proxy. Also to get the KML name and/or extent there is no need to proxify the icon urls, because icons won't be loaded during these methods.
ltshb
force-pushed
the
feat-PB-970-kmz-support
branch
from
September 12, 2024 12:37
014b8b8
to
cbe20af
Compare
ltshb
changed the title
PB-970: Add full support of KMZ file and fixed KML inlined icons #minor
PB-64, PB-970: Add full support of KMZ file and fixed KML inlined icons #minor
Sep 12, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Only support the kml file inside the KMZ.
Test link with icon requiring proxy
Test link with inlined icon in KML as data:
Test link with KMZ with icons
Test link with KMZ used by user (taken from service-proxy logs)
Test link