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?
to your account
VTM uses XML push parsing (SAX) for themes, which can be slow and with less performance for large map styles, waiting for the whole theme to build up.
We can integrate also kXML2 XML pull parser, which is small / fast and well tested in Mapsforge, with the XML rules accessible immediately when they are available.
Furthermore it's based on the common XML pull API, so we can plug any platform pull parser (see mapsforge/mapsforge#974).
The text was updated successfully, but these errors were encountered:
I have a high demand for a parser that supports xi:include instruction. Do you know any? Built-in Android implementation does not support it. It looks like kXML2 does not support it too.
Sorry, something went wrong.
Do you mean the SAXParserFactory.setXIncludeAware?
We could activate XInclude processing, but that only works on Desktop Java, the Android SAXParserFactoryImpl doesn't supports it.
I know, that's why I would be happy if it will be substituted with anything that supports it.
this feature would be very useful to use OpenAndroMaps theme
Can discuss in forum and if there is interest from community to contribute.
Render theme xml pull parser, fix #431
Implemented in #786.
Successfully merging a pull request may close this issue.