
org.meteoinfo.data.mapdata.webmap.OpenStreetMapInfo Maven / Gradle / Ivy
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package org.meteoinfo.data.mapdata.webmap;
/**
*
* @author yaqiang
*/
public class OpenStreetMapInfo extends TileFactoryInfo {
//
//
//
/**
* Constructor
*/
public OpenStreetMapInfo() {
super("OpenStreetMap", 1, 17, 19,
256, true, true, // tile size is 256 and x/y orientation is normal
"https://tile.openstreetmap.de/%1$d/%2$d/%3$d.png",//5/15/10.png",
"x", "y", "z");
}
// //
// //
// //
// //
// @Override
// public String getTileUrl(int x, int y, int zoom) {
// zoom = this.getTotalMapZoom() - zoom;
// String url = String.format(this.baseURL, zoom, x, y);
// return url;
// }
//
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy