Closed thybag closed 3 years ago
Currently small maps are too zoomed out
See leaflet code here - img size is used to work out lat/lng for leaflet projection. Currently zoom is hard coded but needs to vary based on the size of the map image in use.
img
https://github.com/thybag/RPGCampaignManager/blob/master/resources/js/Components/Map.js#L93
Currently small maps are too zoomed out
See leaflet code here -
img
size is used to work out lat/lng for leaflet projection. Currently zoom is hard coded but needs to vary based on the size of the map image in use.https://github.com/thybag/RPGCampaignManager/blob/master/resources/js/Components/Map.js#L93