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.

Howto setup custom style file

2 posters

Go down

Howto setup custom style file Empty Howto setup custom style file

Post  Wyo Sun May 06, 2012 7:24 am

I've played arround with Oruxmaps and Mapsforge offline maps. So far it seems rather nice albeit I'd like to change some styles. I've already asked in the Mapsforge group (https://groups.google.com/forum/?fromgroups#!topic/mapsforge-dev/538jP6fnYFI),downloaded the "osmarender.xml" and put it next to "switzerland.map" as "switzerland.map.xml" into the "oruxmaps/mapfiles" folder. When I now start oruxmaps the "switzerland.map" gets loaded, yet the display turns completely black. So what's wrong?

Wyo

Cantidad de envíos : 5
Fecha de inscripción : 2012-05-06

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  TheDuke Sun May 06, 2012 5:11 pm

I think you must change the path to the symbols and patterns files in the *.map.xml file.

greets
TheDuke

TheDuke

Cantidad de envíos : 41
Fecha de inscripción : 2012-01-09

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  Wyo Mon May 07, 2012 3:21 pm

TheDuke wrote:I think you must change the path to the symbols and patterns files in the *.map.xml file.
Sure? These path should be relative. Beside that wouldn't correct the black screen since most ways don't need a symbol or a pattern.

Wyo

Cantidad de envíos : 5
Fecha de inscripción : 2012-05-06

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  TheDuke Tue May 08, 2012 10:42 am

Yes, pretty sure. It is best to test first the custom schema with the original mapsforge "AdvancedMapViewer".
There you will see a meaningful error message.

regards
TheDuke

TheDuke

Cantidad de envíos : 41
Fecha de inscripción : 2012-01-09

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  Wyo Thu May 10, 2012 7:35 am

TheDuke wrote:"AdvancedMapViewer"
Okay. There seems to be no info (http://code.google.com/p/mapsforge/wiki/RenderThemeAPI) about how to setup a test environment. Any help?

Wyo

Cantidad de envíos : 5
Fecha de inscripción : 2012-05-06

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  TheDuke Thu May 10, 2012 10:35 am

Please install the APK from here AdvancedMapViewer.apk

This APK allows you to load Custom Render Theme for the map (with the menu button),
and will show error messages on what is wrong.

greets
TheDuke

TheDuke

Cantidad de envíos : 41
Fecha de inscripción : 2012-01-09

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  Wyo Fri May 11, 2012 1:26 pm

TheDuke wrote:This APK allows you to load Custom Render Theme...
I've now downloaded this APK and also downloaded all the patters and symbols and stored them in the same location as the osmarender.xml. Yet neither the standard path nor even the absolute path or whatever I tried worked.

I give up, I've now spend too much time for something which should just work. There's no reason why any error message should appear. A missing pattern or symbol may not be drawn but the rest should work as usual.

Wyo

Cantidad de envíos : 5
Fecha de inscripción : 2012-05-06

Back to top Go down

Howto setup custom style file Empty Re: Howto setup custom style file

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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