Author Topic: [Theme] green nightways  (Read 11502 times)

Offline brotbuexe

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 148
  • Thanked: 1 times
    • View Profile
[Theme] green nightways
« on: March 29, 2012, 07:32:35 »
If we could share our custom themes in here...

---------------------------------------------------------------------------------------------------------------
How to use the themes:

1. Get vector map running.
2. put the themes in /sdcard/Locus/mapsVector/_themes/

Should be like:
/sdcard/Locus/mapsVector/_themes/Themename1/Themename1.xml
/sdcard/Locus/mapsVector/_themes/Themename2/Themename2.xml
...

3. Select the theme in Settings -> Map - advanced -> Theme of the maps
---------------------------------------------------------------------------------------------------------------

My first and really simple green Nightmap. Use it on bicycle, don't need a lot of information, so only the ways in green.

[attachment=0:2s3xz4m0]greennightways.png[/attachment:2s3xz4m0]
[attachment=1:2s3xz4m0]greennightways.zip[/attachment:2s3xz4m0]
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11352
  • Thanked: 292 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Renderthemes for Vectormap
« Reply #1 on: March 29, 2012, 08:25:17 »
nice :) ... information to all: if will be interest, I'll gladly (same with custom screens themes) put your work into locus shop for others
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline Starman

  • More than Newbie
  • *
  • Posts: 42
    • View Profile
Re: Renderthemes for Vectormap
« Reply #2 on: March 29, 2012, 08:48:45 »
Nice! THX! Works well. One could almost use a button on Quick-switch for changing themes.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
"I saw the angel in the marble, and carved until I set him free." -  Michelangelo
 

Offline jurajs

  • Apprentice of Locus
  • **
  • Posts: 129
    • View Profile
Re: Renderthemes for Vectormap
« Reply #3 on: March 30, 2012, 16:39:20 »
@brotbuexe - nice job... but not working for me... I have copied it correctly. I have the choice in settings to switch it to greennightways, but the map remains the same as before.... cant find the reason why.

@menion - when talking about "Locus Shop" is this feature working already ? I get an error when trying to run "Locus Shop" like this :
"Unexpected problem! Please contact me with description of your problem"

let me check the logs ....

Code: [Select]
----------  Mar 30, 2012 4:33:49 PM  ----------
TAG:UtilsServer
MSG:sendPurchaseRequest()
TRACE:java.lang.NullPointerException
at menion.android.locus.core.g.i.a(L:452)
at menion.android.locus.core.g.i.a(L:295)
at menion.android.locus.core.g.i.a(L:257)
at menion.android.locus.core.billing.x.a(L:342)
at menion.android.gui.extension.x.doInBackground(L:1)
at android.os.AsyncTask$2.call(AsyncTask.java:264)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
at java.lang.Thread.run(Thread.java:856)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11352
  • Thanked: 292 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Renderthemes for Vectormap
« Reply #4 on: March 30, 2012, 16:44:00 »
jurajs, I think that problem is simple ... you have to use new 0.3.0 version of vector maps. They're for download by Locus 2.2.0 or some are on MapsForge web page

thanks for error. I'll look at it now ... you've got last Locus version right?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline jurajs

  • Apprentice of Locus
  • **
  • Posts: 129
    • View Profile
Re: Renderthemes for Vectormap
« Reply #5 on: March 30, 2012, 18:00:42 »
Quote from: "menion"
jurajs, I think that problem is simple ... you have to use new 0.3.0 version of vector maps. They're for download by Locus 2.2.0 or some are on MapsForge web page

thanks for error. I'll look at it now ... you've got last Locus version right?

0.2 or 0.3 ... who can keep on trrrack with that ?! ;-) I'll try... thanks ;-)

and... Yes, I have the last vesion. thanks for your time.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11352
  • Thanked: 292 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Renderthemes for Vectormap
« Reply #6 on: March 30, 2012, 18:02:46 »
you're welcome. Sorry for that, I didn't expected that there will be so huge interest in vector maps rendering themes. So I didn't created some ... as Tommi I think wrote in one topic ... at least different icon in list of vector maps for both types. I'll change this in next version
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline jurajs

  • Apprentice of Locus
  • **
  • Posts: 129
    • View Profile
Re: Renderthemes for Vectormap
« Reply #7 on: March 30, 2012, 22:21:38 »
well well... I have just tested it... works fine with v.0.3 maps. This is a killer feature with enormous potential when you think about all the possibilities ;-)
I have browsed the web a bit... but sadly i couldn't find any other themes except the default one. I guess it wil change over time ;-)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline polaramike

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://www.unpaved.de/
Re: Renderthemes for Vectormap
« Reply #8 on: March 31, 2012, 01:35:11 »
Hi!

Killer feature - very, very nice!

Anyhow, sadly it does not work for me yet. It's the newest Locus pro version on a Galaxy Tab P7500 with 0.2 and 0.3 maps (from vector maps 4 locus). Tried the theme you posted above as well as a modified osmarender.xml - no way to get it running.It always uses the original one, no matter which theme I select.

Mike
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11352
  • Thanked: 292 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: Renderthemes for Vectormap
« Reply #9 on: March 31, 2012, 02:06:37 »
as I wrote above "you have to use new 0.3.0 version of vector maps. They're for download by Locus 2.2.0 or some are on MapsForge web page" ... so maps from vectormaps4locus are version 0.2.4 so they will not work for theme changing ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline polaramike

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://www.unpaved.de/
Re: Renderthemes for Vectormap
« Reply #10 on: March 31, 2012, 08:07:05 »
Thanks - I thought vectormaps4locus would be 0.3.x, did not know they are 0.2.x. What do you mean by "they are for download with Locus 2.2.0"? Do you mean I shall download them with Locus itself (with the download feature in the maps menu)? Or?

Mike
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline pmoravec

  • Premium
  • More than Newbie
  • *
  • Posts: 43
    • View Profile
Re: Renderthemes for Vectormap
« Reply #11 on: March 31, 2012, 08:55:09 »
Quote from: "polaramike"
Thanks - I thought vectormaps4locus would be 0.3.x, did not know they are 0.2.x. What do you mean by "they are for download with Locus 2.2.0"? Do you mean I shall download them with Locus itself (with the download feature in the maps menu)? Or?

Mike
Hi, to make it clear - the people from Mapsforge did a complete rewrite of their library and version 0.3.0 it is not compatible with older maps from 0.2.4 version. Because Menion "sells" the vector maps (in fact, the money is used to pay for the Amazon? cloud where he offers the data for download), he adapted the old version of the library (0.2.4) to be included in Locus as well so that the people can use their already-downloaded maps (and don't complain about the "wasted" credit). But the old version of the library does not have the new cool features like the map skins.

So if you wish to use the render themes, you need the new map - either downloading it  in 2.2.0+ (but you pay for the credit in Locus shop to download vector maps), download the map from mapsforge developers (if they offer it),  or from some other source - e.g. some people in forums offered Germany maps. Or, you could always download OSM map file e.g. from GeoFabrik and convert the map by the current MapWriter plugin from Mapsforge yourself.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jurajs

  • Apprentice of Locus
  • **
  • Posts: 129
    • View Profile
Re: Renderthemes for Vectormap
« Reply #12 on: March 31, 2012, 20:40:14 »
Hi guys again...

Please forgive me for this noob post ;-)

I am trying to do my own render theme by myself. Should be just a bit different from original osmarender. But I am not successful yet. As my first try, I have simply copied this one http://mapsforge.googlecode.com/svn/tru ... render.xml, renamed it, and tried to use it without any changes. Definitely I am doing something wrong, because it doesn't work at all.

Can you guys give me a little start-up hint on this so i can proceed a bit further ?

EDIT :

I had to include all the patterns and symbols. also correct path to that files has to be replaced in xml file....
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1223
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Renderthemes for Vectormap
« Reply #13 on: March 31, 2012, 23:02:20 »
Quote from: "jurajs"
I had to include all the patterns and symbols. also correct path to that files has to be replaced in xml file....
And now it works? This is exactly what needs to be done.
Actually I already prepared exacly this here: viewtopic.php?f=10&t=1749#p11037
Makes sense to read other topics in the forum, too.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jurajs

  • Apprentice of Locus
  • **
  • Posts: 129
    • View Profile
Re: Renderthemes for Vectormap
« Reply #14 on: March 31, 2012, 23:27:17 »
Quote from: "tommi62"
Makes sense to read other topics in the forum, too.

be kind dude, i'm not that noob...  and stop trolling.  :evil:
« Last Edit: January 01, 1970, 01:00:00 by Guest »