It looks like from the code and how the map operates is that the university map is a overlay map type. You can see in the code that the regular Google Map is created first, then the cut. You can see this during a zoom in or zoom out that the GM map goes up first and then the tiles of the university buildings fill in. Upoin a quick look at the code, I can see this in the code as well (UWMap.js). Now upon map click, there is a distance search going on with an ajax call to find the building/facility closest (in a JSON file?) to the where the user clicks. You can see this if you click outside the building.
Yeah, it is very nice. It is version 2 like Larry said. There is a basic sample on how to possibly do something similar in v3: http://search.missouristate.edu/map/mobile/examples/tileoverlay.htm I would suspect he took a high quality image of the campus map that either matched or was transformed into GM's projection and then it was cut up into the map tiles needed at the different zoom levels. His name's on the UWMap.js code. You could possibly contact him as well. Dave On Apr 17, 11:09 am, dabernathy89 <[email protected]> wrote: > Yes, I've poked around quite a bit in the .js file that calls up the map. I > think most of the code deals with the markers and the menu stuff on the left > of the map. For the life of me, though, I can't figure out (and maybe this > would be obvious to more experienced users) how he overlays the campus > buildings - is it all one image, is it multiple images, is it polygons with > gradients (did they have that in v2?)? I'm extremely impressed by how clean > the overlays look compared to other campus maps I've seen, but I can't see > how he did it. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
