Scott
Wed Mar 12 21:00:16 CDT 2008
"Michael Rubinstein" <me@gmail.com> writes:
> Scott, WebBrowser control can display Google Maps. Take a look at
>
http://code.google.com/apis/maps/documentation/staticmaps/ . Drop a
> WebBrowser control onto a form and do something like this in one of
> your methods:
> this.webBrowser1.Navigate(new Uri(this.buildGoogleRequestString()));
Thanks Michael,
I have looked at Google's new Static Maps feature, and that is what
we'll use if we don't find anything else. The docs say it will only
accept a limited number of requests per day, and we're concerned we
could run into those limits. We will also have to implement
scrolling, caching, displaying icons, and converting lat/lon to screen
coordinates and miles, but those are less painful than the request
limit.
> buildGoogleRequestString() here is just a wrapper that generates HTML
> code. You could start by pasting the code from the above link and
> replacing the Google Maps Key in it with your own. If you don't have
> the key, get it. This part is simple. Passing coordinates is just
> string manipulation. To do anything fancy with Goggle Maps you may
> need JavaScript enabled on the PDA. The PDA I am working with - XV6800
> does not allow it, or may be I just don't know how. May be somebody
> here knows better.
I tried, I couldn't get any of the dynamic scrollable maps to work on
Pocket IE or Opera.
Thanks again!
-----Scott.