Map's renred good in initial, but don't work when I pass center param

When I set leaflet fw initially, it showed the mapo in browser window, but when I passed centerMap value to center attribute of leaflet tag as instructed, it broke. When I passed value object directly, it showed me map back but don’t center, just showed as in initial. What could go wrong?


If you are still looking for help then can you please share your code?