OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Mapsforge render themes

Go down

Mapsforge render themes Empty Mapsforge render themes

Post  Moglo Mon Oct 17, 2011 8:02 pm

Hi,

first of all, thanks for supporting the mapsforge .map-files.

At the moment, the rendering rules are hardcoded in mapsforge. However, there's a render theme mechanism in development which makes it possible to define custom render rules in xml-files and changing the render theme using the api.

I don't know if you are aware of this. It would be great if Oruxmaps wil support these render themes once the development of the render-mechanism has finished.

Moglo

Cantidad de envíos : 5
Fecha de inscripción : 2011-10-17

Back to top Go down

Mapsforge render themes Empty Re: Mapsforge render themes

Post  Moglo Tue Oct 18, 2011 6:22 am

To be more specific:
The function for setting a theme is "setRenderTheme(String renderThemePath)" in MapView.java of mapsforge.
So it seems that OruxMaps would have to offer a FilePicker or similar for chosing a Theme-File and then passing the path of this Theme-File to this function.

Moglo

Cantidad de envíos : 5
Fecha de inscripción : 2011-10-17

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum