kartena / Proj4Leaflet

Smooth Proj4js integration with Leaflet.
http://kartena.github.io/Proj4Leaflet/
BSD 2-Clause "Simplified" License
587 stars 172 forks source link

All point in one area can't make zoom #177

Closed artemliubymov closed 3 years ago

artemliubymov commented 3 years ago

Hi guys, I specify CRS and try to show point without tyle just clear area, but all points in one point and zoom not working, what am i doing wrong?

var crs5563 = new L.Proj.CRS('EPSG:5563','+proj=tmerc +lat_0=0 +lon_0=27 +k=1 +x_0=5500000 +y_0=0 ellps=krass +towgs84=25,-141,-78.5,0,0.35,0.736,0 +units=m +no_defs', { origin: [-5602500.0, 5401000.0], resolutions: [ 400.00079375158754, 200.000529167725, 100.0002645838625, 50, 25, 15.000052916772502, 9.9999470832275, 5.000105833545001, 3.0001164168995005, 2.5000529167725003, 1.9999894166455001, 1.4999259165184997, 1.0001270002540006, 0.5000635001270003, 0.25003175006350015], }); var map = L.map('map', {crs: crs5563}); map.setView([48.875719, 32.795776], 1000); map.options.minZoom = 1; map.options.maxZoom = 36;

artemliubymov commented 3 years ago

resolved