I don't know whether it is possible or not, but I tried to include in the ~/.modrana/map_config.conf
[[ltmap]]
label=LTMap
url="http://dc5.maps.lt/"
type=jpg
max_zoom=18
min_zoom=0
folder_prefix=LTMap
coordinates=ltmap
group=europe
icon="mapnik"
def getLTMap(lzxy):
return '%s%d/%d/%d.%s' % (lzxy[0].url, lzxy[1], lzxy[2], lzxy[3], lzxy[0].type)
[....]
URL_FUNCTIONS = {
'osm' : getOSMUrl,
'web_mercator_substitution' : getWebMercatorSubstitutionUrl,
'yahoo' : getYahooUrl,
'google' : getGoogleUrl,
'quadtree' : getQuadtreeUrl,
'quadtree_substitution' : getQuadtreeSubstitutionUrl,
'ltmap' : getLTMap,
}
and now I don't know what to do next... Maybe you can help me?