首先坐标应该是没有问题,在openlayers中可以正常显示,用leaflet能看出地图是存在的,但是始终没有办法定位到地图的中心,这是我的代码,请帮忙看一下
initmap{
var baseUrl = "http://localhost:8090/iserver/services/map-Gaotang_DOM2/rest/maps/%E6%B1%A1%E6%B0%B4l%40YW"
var dataurl = "http://localhost:8090/iserver/services/data-Gaotang_DOM/rest/data";
this.map = L.map('map', {
crs:L.CRS.EPSG3857,
preferCanvas:true,
attributionControl:false,
center: [431143.95 , 4081835.83],
zoom: 15
});
new L.supermap.TiledMapLayer(baseUrl).addTo(this.map);
}