The problem is happening in GLatLngBounds.extend()

This code
  Object.extend=function(destination,source)
in
  http://emicus.com/javascripts/base_packaged.js?1245717749
is causing the problem.

The Maps API creates GLatLngBounds.extend(), but base_packaged.js also
adds a .extend() Method to all Objects. Since GLatLngBounds is an
Object, there's a clash of Method names.

The API version of the .extend() code wins, but base_packaged.js doesn't
know that, and calls GLatLngBounds.extend() with {} as the first
parameter, thinking that it's calling Object.extend().
GLatLngBounds.extend() is expecting a GLatLng as the first parameter,
and fails.


I suspect that you won't be able to use the Maps API and
base_packaged.js in the same frame. If you need them both, you'll
probably have to move one or the other into an iframe.

-- 
Mike Williams
http://econym.org.uk/gmap



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to