您好,是设置了不管用还是固定成别的比例尺级别了?您要是直接在前端写比例尺级别呢?
//自定义比例尺
var scaleDenominators = [4000000, 2000000, 1000000, 500000, 250000, 125000];
var origin = [114.59, 42.31];
//leaflet CRS投影设置
var crs = L.Proj.CRS("EPSG:4326", {
origin: origin,
scaleDenominators: scaleDenominators
});