zero_point Posted August 17, 2015 Share Posted August 17, 2015 Hi all, I created basic googleMap ... from w3school example ... but I have one question ... dafault all is set to the center view ... how can I set it more left .... For example : I have google map of size 500x500 px ... and of course the pointer is set to coords 250,250 = to the center ... how can I move it more left => 100,250 ... I hope you understand what I want ... thanks a lot indeed for your answers Link to comment Share on other sites More sharing options...
justsomeguy Posted August 17, 2015 Share Posted August 17, 2015 What "pointer", what are you referring to that you want to move? A map marker? Link to comment Share on other sites More sharing options...
dsonesuk Posted August 17, 2015 Share Posted August 17, 2015 You can change default centre to whatever to want, just change lat and log usually set by variable 'latlng' in format of 00.000000, 00.000000, if you have marker in centre it will still remain at same location and usually set by variable 'locations'' if you want actual coordinates open map at location in google maps website, right-click mouse button at new centre and select "what's here?" a description should pop-up with coordinates. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now