Jump to content

How to use googleMap


zero_point

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...