Leaflet - Getting tile border coordinates

المشرف العام

Administrator
طاقم الإدارة
Displaying grid borders is fairly easy with CSS or adding an image like this:



The result is a map like this:



However, I'm having a hard time trying to get the coordinates of those tile borders. I've seen how I can display the tile coordinates using X, Y and Z, but I want the latitude and longitude of those points (upper left and lower right).

How can I get those values with Leaflet?



أكثر...
 
أعلى