"Tiles don't seem to fit exactly, what can I do? Not much, sorry. In this case the projection is sufficiently different from the mercator projection and one would need real warping for a fix. Lower zoom levels usually decrease the errors. (For warping look at gdal)" If this is true, which epsg code correspods mercator projection that Maemo Mapper uses? I can use gdal and proj on server side and hopefully create MM compatible WMS-service.