Volleynerd Knowledge Base

Thursday, April 20, 2006

Geocoding and Google Maps


This is inline with something I've been wanting to do. Make a generic mapping page that will allow you to add any number of pushpins on a map.

I think this would be cool for a number of purposes: places I've golfed / traveled, geocache finds, etc.

I know Google Maps API will let me do this - you just have to provide lat/long coordinates - a geocoding service will tranlsate from street addresses.

Here's a tutorial [unfortunately using Ruby on Rails :) ] that walks through the steps.

Web 2.0 Technologies: Rails, Geocoding, and Google Maps

Scott Guthrie points to this control written in ASP.NET 2.0. Nice long detailed article about it's usage.

After one night of poking around with the sample, I grabbed a Google Maps API Key, and see how easy it is to start mapping. The geocoding service at http://rpc.geocoder.us/service/ is very easy to use, and FREE. (WSDL for this service is here at http://geocoder.us/dist/eg/clients/GeoCoder.wsdl)

(Google Maps API is right here)

So I almost immediately started thinking about the best (or the most fun) way to use the maps API from ASP.NET. First thought - write an ASP.NET 2.0 Server Control.

Well, some dudes beat me to it. Here are some links:
http://www.codeproject.com/aspnet/LatLaysFlat-Part1.asp
and the 4-part series listed here



Comments: Post a Comment

Home