Mapping Google Maps 442
jgwebber writes "Google Maps is starting to cause a bit of a stir as Google makes the browser do still more backflips than most expected. In the tradition of dissecting Google Suggest and GMail, I've done a little dissecting of this newest service."
Re:what about plotting waypoints on the map? (Score:5, Informative)
USAPhotoMaps downloads aerial photo and topo map data from Microsoft's free TerraServer Web site, saves it on your hard drive, and creates seamless maps from it. You can:
1. See the latitude/longitude
2. Add waypoints, routes, and text
3. Jump to any waypoint or latitude/longitude in the U.S.A.
4. Transfer waypoints, tracks, and routes to and from most GPS receivers
5. See your GPS location
6. Scroll and zoom
And it's free.
let me know (Score:1, Informative)
Re:Safari support (Score:1, Informative)
I believe when they said "any modern browser" they were expressing shock that there are any modern browsers which experience problems with Google Maps, rather than expressing shock that there do not exist any modern browsers which do not experience problems with Google Maps.
Re:Old info (Score:4, Informative)
I love how you can clock on a waypoint in the directions and it pops up a bubble window in the main map with a closeup detail!
-nB
Endless pursuit (Score:3, Informative)
I once had an idea of doing this, and might eventually get around to finishing it. I just dont have the map library to do the overlay. All I could do is draw the tracks. Image librarys (like gd) make drawing the tracks easy, and overlaying just as simple. Getting a library of map images that would allow you to use it for this sort of thing would be the hard part.
tm
MOD PARENT UP! (Score:1, Informative)
Re:backflips? (Score:5, Informative)
It's just an expression.. (Score:3, Informative)
Settle down, Beavis.
Safari javascript is based on KDE's kjs library (Score:2, Informative)
Re:Safari support (Score:3, Informative)
And I can see where Google is coming from. Sometimes, to make the cleanest interface possible, you have to use some really powerful tricks. Gmail uses the same sort of setup that I used in my phone directory... I haven't looked into the specs of Safari too much, but I do know that I couldn't find a way of making my phone directory work with Opera. Reason being that the browser just didn't have the capability that I needed (extra strength XML support). To the best of my knowledge at the time, only IE and Mozilla were sufficiently evolved to allow what I was doing.
It's true that it's not entirely standard... but it's powerful enough that Mozilla decided to break tradition and include support for doing such things. And by the time I finished my phone directory, I did make the code mostly standard... but it still didn't work in Opera.
And if you are curious, I developed it for a corporate Intranet, so the code is not available for viewing. (And I don't own the code, so I don't have a personal copy).
Why Safari is NOT supported (Score:3, Informative)
I wished I had safari but from what I saw. (Score:3, Informative)
Re:Still doesn't work with Safari (Score:3, Informative)
JS / HTML graphics: iWon Prize Machine (Score:3, Informative)
Probably the most striking thing about Google Maps is the very impressive (for DHTML, anyway) graphics. Now, I'm sure that many of you old JavaScript hacks out there have known this sort of thing was possible for a long time, but it's very cool to see it (a) actually being used for something real, and (b) where normal users will see it.
Back in the Summer of 2000 iWon.com [iwon.com] released the Prize Machine [iwon.com].
They didn't want people to need a plugin to use it, so they wrote it in JavaScript.
It's a slot machine with moving prize images. You click the arm and it pulls down and starts spinning. It talks to the server to see if your spin won a prize or not, and spins the wheels accordingly.
Nifty little app, actually.
no (Score:1, Informative)
Sadly missing one invaluable feature... (Score:1, Informative)
The "e-mail" feature is also worthless, since you're just sending a link to the maps.google page.
Re:Google + DOM = Mozilla Juggernaut (Score:5, Informative)
Re:Scrolling only partially works (Score:2, Informative)
Whats up man? Haven't talked to you in a while and saw this
Re:What WOULD you call Google's approach? (Score:2, Informative)
Google's traditional search features could almost run on Lynx on a green screen. Maybe they can
Google looks great in Lynx.
RTFA (Score:4, Informative)
Re:Still doesn't work with Safari (Score:4, Informative)
Re:Safari support (Score:5, Informative)
Safari doesn't support XSLT. It's not google's fault that Safari is behind even IE6 in this respect.
bookmark is broken (Score:2, Informative)
I've described a simple solution for this problem on my blog just in case the folks at Google read Slashdot and want to make my new favorite mapping website just a little bit better
http://www.joehewitt.com/
Re:what about plotting waypoints on the map? (Score:3, Informative)
The photos are at least a few years old, but it's still pretty, if not particularly useful.
Re:Safari support (Score:2, Informative)
Fortunately, Dave Hyatt, one of the lead Safari developers, said in August that it's coming. http://weblogs.mozillazine.org/hyatt/archives/200
Re:what about plotting waypoints on the map? (Score:3, Informative)
First, multiply all your lats and lons by 1e5.
Now, take the first lat, and encode it (encode function to be specified later.) Append that to the string. Do the same with the first lon.
Now, take the DIFFERENCE between the second lat and the first one, and encode that. Append that to the string. Again, do the same with the second lon.
For each additional lat/lon, encode the difference from the previous one.
Now, the encoding:
If the number you have is negative, multiply by two and take the logical not. Otherwise, just multiply by two. Notice that this makes the least significant bit the sign bit.
Now break the number into 5-bit chunks. Encode the least significant chunk first, by casting to a byte, adding 32 if there are more nonzero chunks to come, and then adding 63. Repeat for each 5-bit chunk. Skip trailing (MSB) zero chunks, but always output at least one chunk for each number. (That's why there are so many ? symbols: it encodes a difference of zero from the previous lat or lon. Note that this means you'll also never see three ? symbols in a row.)
I haven't played with the 'levels' string yet; I assume it's used for removing details as you zoom out, and based on the characters that appear in it it may use the same encoding method except without the delta compression. The rest of the XML looks self-explanatory.