Monthly Archives: January 2007

Events in MS Virtual Earth

Microsoft’s Virtual Earth documentation is pretty good, once you get past the impossibly-to-navigate design. One missing bit shows that they don’t do nearly enough functional programming: they left out what the callback functions take as an argument. The callback functions (like in VEMap.AttachEvent(event_name, callback)) take a MapEvent. The four fields of a MapEvent are view, […]

Microsoft Virtual Earth on Firefox 2

Microsoft Virtual Earth (Microsoft’s competition to Google Maps and the excellent Yahoo! Maps) doesn’t believe that Firefox 2 can support SVG: the way they check for SVG support is if the user agent matches the regexp “Firefox/(.*)“, and if the version number (the .*), when split on ‘.‘, has a major version greater than 0 […]