stuartmatthews / leaflet-geotiff

Leaflet plugin for displaying geoTIFF raster data

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How can i change the lat lng to different location it is inbuilt location in austraila

rohith231 opened this issue · comments

How can i change the lat lng to different location it is inbuilt location in austraila

Hi stuart how are u? How can i change the lat lng to different location it is inbuilt location in austraila .where to change the code to another lat lng

Hi @rohith231 , not sure if you still need this. But you can change this line
var mymap = L.map('mapid').setView([yourLat, yourLng], 6);
Please refer to leaflet documentation for more map related customization. https://leafletjs.com/reference-1.7.1.html