Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rohith231 opened this issue Aug 30, 2020 · 2 comments

Comments

@rohith231
Copy link

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

@rohith231
Copy link
Author

rohith231 commented Aug 30, 2020

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

@lawrenceli19
Copy link

lawrenceli19 commented Oct 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants