Thursday, March 19, 2009

IE compatibility finally achieved

I've just spent the last two days getting Routefriend to work on IE. In the end, problems I was having were traced to two sources:
  • the array.indexOf() javascript function isn't supported by IE7
  • the GLatLng() function from the Google Maps API requires initial latitude, longitude values in IE7.
The Google Maps API issue was especially complicated to debug as the javascript code is errors come up, for example, as problems with "c()" as opposed to "GLatLng()".

No comments: