Community of VE/MapPoint Users and Developers
This is a discussion on Getting Addresses Using Aerial Photos within the Virtual Earth Blogs forums, part of the Blogs category; I wrote a little mashup for Where 2.0 that shows some functionality I've always wanted and was just ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Getting Addresses Using Aerial Photos I wrote a little mashup for Where 2.0 that shows some functionality I've always wanted and was just too lazy...I mean busy! to get it done. The idea is that if I ever wanted to know what the lat/lon of a specific location on a map is (since I write a few geo-apps) all I wanted to do was click on the map (or in this case an aerial photo). In Virtual Earth 6.1, I had to take it a step further and reverse geocode the lat/lon for an address. I got really greedy and wanted to show a Bird's Eye image. Well, here we go:
I have to warn you, the app isn't totally stable but it works pretty well. Click anywhere on the map and you'll get a pin. Hover over the pin and you'll get a popup with the closest address to that respective point on the map. There's a button in the popup which you can click and get a Bird's Eye image of that location. You'll need to move your mouse of the Bird's Eye photo so it stays and you can't navigate it, but I thought I'd at least get the code out there for others to help me perfect it. Also, I didn't put great coding practices out there so no try / catches or exception handling. Sorry - this is quick and dirty folks! The code is documented below. I posted it the app up to my SkyDrive for those of you who don't code, but want to see the application in action. http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Geocode: Copy. Paste. Run. For those of you who are going to ask, no you can't click a Bird's Eye photo in the map control and get the lat/lons. We don't expose lat/lons in Bird's Eye mode. CP |
![]() |
| ||||
| Posted By | For | Type | Date | |
| A Simple Add-in for MapPoint API Beginners - MapPoint Articles - MP2K Magazine | This thread | Refback | 05-25-2008 01:23 PM | |
| The Magazine for MapPoint - MP2K Magazine | This thread | Refback | 05-22-2008 02:34 PM | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Virtual Earth Loyalist: Aerial View | VE For Government | Virtual Earth Blogs | 1 | 05-12-2008 08:52 AM |
| Mise Ć* jour des ortho photos (photos aĆ©riennes) dans Virtual Earth en France | EMEA Virtual Earth Blog | Virtual Earth Blogs | 0 | 09-27-2007 11:07 AM |
| Photos aƩriennes dans Virtual Earth en France | EMEA Virtual Earth Blog | Virtual Earth Blogs | 0 | 09-27-2007 11:07 AM |
| Preview Street-side Photos for Live.com | Eric Frost | MapPoint 2006/2009 Discussion | 2 | 06-12-2006 03:09 PM |
| How to use Aerial View (.ECW extensions files) in mappoint | vidyakulkarni | MapPoint 2006/2009 Discussion | 3 | 06-15-2005 11:23 AM |
Flights from Coventry
Holiday Hypermarket can help you to find great value holidays to suit you. Book great value flights from Coventry Airport. We provide key information about the airport too.
Turkey Weather
Check Turkey Weather before you travel. We provide information on Turkey including weather, flights and accommodation.
Turkey Holiday
Any Turkey Holiday should include a visit to Anadolu; the Anatolian high central plateau is where Turkish culture is rooted. Book a cheap Turkey Holiday online at dealchecker.co.uk.
Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!
Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?
Compare holiday prices
Compare holiday prices online where you can see all the possibilities at Travel.co.uk
Goa Holidays
Enjoy the warm and sunny climate of Western India. Visit On The Beach for information on Goa holidays.