By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,727 Members | 1,368 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,727 IT Pros & Developers. It's quick & easy.

Can we add marker in google Map using XY co ordinates

P: 4
Hi
I am using Google map in my application.
I am adding marker on Google map by using LAT/LONG of the point as shown below
Expand|Select|Wrap|Line Numbers
  1.  var marker = new google.maps.Marker({ position: new google.maps.LatLng(LatValue,LongValue), map: map, title: MyTitle, icon:MyIcon });
But it is found that in my case instead of LAT/LONG values , XY co ordinates are available.
So can we plot marker using XY co ordinates something like this
Expand|Select|Wrap|Line Numbers
  1.  var marker = new google.maps.Marker({ position: new google.maps.LatLng(X Co ordinate,Y Co ordinate), map: map, title: MyTitle, icon:MyIcon });
Is there any formula/method of converting XY co ordinate to LAT/LONG?

Thanks & Regards,
Anirudha Deshpande
Apr 20 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.