Skip to content
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

Support group selectors in CSS part of SVG #493

Closed
lukaszkrystek opened this issue Oct 25, 2018 · 6 comments
Closed

Support group selectors in CSS part of SVG #493

lukaszkrystek opened this issue Oct 25, 2018 · 6 comments
Assignees
Milestone

Comments

@lukaszkrystek
Copy link

lukaszkrystek commented Oct 25, 2018

Some SVG files don't display properly.
They display properly in browsers (Chrome, Safari). However, using Macaw (iOS/macOS) they do not display correctly.
Please see attached files.

SVG_not_supported.zip

@ystrot ystrot self-assigned this Oct 25, 2018
@ystrot ystrot added this to the 0.9.4 milestone Oct 25, 2018
@ystrot
Copy link
Member

ystrot commented Oct 25, 2018

Hi lukaszkrystek,

As for Europe sample, Macaw currently doesn't support xmlns. So if you remove all "svg:" strings from your file, the map will be shown correctly.

Another issue looks like a bug, we'll take a look what's wrong here.

@lukaszkrystek
Copy link
Author

lukaszkrystek commented Oct 25, 2018

Hi, thanks for the response.

It's great, that you will take a look on the another issue.

Additionally, I attached one more svg file, which renders differently on browsers (Chrome, Safari) and in Macaw.
Europe.svg.zip

Is there any chance, that xmlns will be supported in the future? Or maybe the Macaw would skip this parameter and display the file?

@ystrot ystrot changed the title SVG file displaying error Support group selectors in CSS part of SVG Oct 25, 2018
@ystrot ystrot closed this as completed in 379ef44 Oct 25, 2018
@ystrot
Copy link
Member

ystrot commented Oct 25, 2018

I've fixed issue with the second SVG and open another ticket for xmlns support: #494.

@lukaszkrystek
Copy link
Author

Great thanks, now it works very good!
So only support for XML namespaces is the last thing I think.

@ystrot
Copy link
Member

ystrot commented Oct 26, 2018

@lukaszkrystek JFYI #494 fixed as well, so all your samples should work now.

@lukaszkrystek
Copy link
Author

lukaszkrystek commented Oct 26, 2018

@ystrot Yes thanks, attached earlier SVG files works very good!

But there are still some files, which doesn't open properly.

I created seperate issue: #495

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants