On Oct 1, 1:04 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I just switched to the ajax loader, i.e jsapi instead of maps but now
> I see that firebug tells me that in
>
> var reasons=[];
> reasons[G_GEO_SUCCESS] = ...
>
> G_GEO_SUCCESS is not defined
>
> Same for GPolygon from epoly.js in GPolygon.prototype.Contains =
> function(point) {...
>
> Loading the "old" way there are no errors.
>
> Any reasons why?Read the first paragraph of the documentation: http://code.google.com/apis/maps/documentation/reference.html The Google Maps API is now integrated with the Google AJAX API loader, which creates a common namespace for loading and using multiple Google AJAX APIs. This framework allows you to use the optional google.maps.* namespace for all classes, methods and properties you currently use in the Google Maps API, replacing the normal G prefix with this namespace. Don't worry: the existing G namespace will continue to be supported. For example, the GMap2 object within the Google Maps API can also be defined as google.maps.Map2. Note that this reference documentation refers only to the existing G namespace. This would apply to GPolygon, I'm not sure how it would apply to G_GEO_SUCCESS, but I haven't looked at it in detail. -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
