View Single Post
Posts: 197 | Thanked: 91 times | Joined on Dec 2010
#1244
Originally Posted by MartinK View Post
Hmm, thats weird - I remember setting it according to how Mappero names its folders but now it looks like it actually uses another name.

ModRana expect the Google maps folder to be called:
Code:
.maps/Google Maps
So, I see 2 possibilities how to fix that:

Editing the /home/user/.modrana/map_config.conf file and changing the Google Maps entry from:
Code:
[[gmap]]
  label=Google maps
  url="http://mt1.google.com/vt/"
  type=png
  max_zoom=21
  min_zoom=0
  folder_prefix=Google Maps
  coordinates=google
  group="google"
Into:
Code:
[[gmap]]
  label=Google maps
  url="http://mt1.google.com/vt/"
  type=png
  max_zoom=21
  min_zoom=0
  folder_prefix=GoogleVector
  coordinates=google
  group="google"
You basically just need to change to folder prefix. After that modRana will look for Google map tiles in .maps/GoogleVector/.

Please note that this file might get replaced by newer revision if a newer revision is available during a modRana upgrade - the old one should be renamed, not completely vanish.

Or if you just want to reuse the Mappero tiles in modRana, sou can just rename the folder so that modRana can see it with the default Google maps path:
Code:
cd /home/user/MyDocs
mv .maps/GoogleVector/ .maps/Google\ Maps
Yeah, this works, thanks. Will you consider changing the name of of the folder in the next version or would that be too much trouble? It would be nice if it worked out of the box, but I can see that probably there are not that many people now who would use it.
 

The Following User Says Thank You to sup For This Useful Post: