Guten Morgen
@EvanE
ich werde heute Nachmittag mal damit herumprobieren. Vielleicht finde ich eine Umrechnung auf die vom JXMapKit geforderten Tiles. Eine Einstellung zum Ändern habe ich bislang noch nicht gefunden.
@!i!
Ich verwende die standard Swing TileFactoryInfo und TileFactory:
final int max = 17;
TileFactoryInfo fact = new TileFactoryInfo(12,17,max,256,true,true,"file:/C:/tiles2/","x","y","z"){
public String getTileUrl(int x,int y,int z){
//z=max-z;
return this.baseURL+z+"/"+x+"/"+y+".png";
}
};
TileFactory tf = new DefaultTileFactory(fact);
jxmapkit1.setTileFactory(tf);
jxmapkit1.setDefaultProvider(org.jdesktop.swingx.JXMapKit.DefaultProviders.Custom);
jxmapkit1.setAddressLocation(new GeoPosition(47.4493,9.7261));