943,029 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 3835
  • VB.NET RSS
Nov 24th, 2009
0

Google map in vb.net, lat/lon boundaries

Expand Post »
I am acquiring a google earth image in vb.Net using the following:

VB.NET Syntax (Toggle Plain Text)
  1. imgImage.Load("http://maps.google.com/staticmap?center=" _
  2. + dblLat.ToString + "," + dblLong.ToString + _
  3. "&zoom=" + intZoom.ToString + _
  4. "&size=512x512&maptype=satellite")
where imgImage is a PictureBox .net object.
I need to know what the width and height of the image returned is in NauticalMiles. My understanding is that:
- ZoomFactor=1 means 360deg, which means 360*60NM
- ZoomFactor=2 means 180deg, which means 180*60NM
- etc.....
- ZoomFactor=5 should be equivalent to 1350NM

When I actually check this distance on GoogleEarth I get something closer to 1100NM from North to South and from East to West.
How can I get a better accuracy on the boundaries of my image?
By the way, I will be essentially working on large zooms (around 100NM resolution), so it's ok for me to ignore earth curvature.
Thanks for your help,
Charlie
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
charlie363 is offline Offline
1 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Dont see my Textlabel array
Next Thread in VB.NET Forum Timeline: Pls give ur idea





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC