Hello,

I am developping a module for Joomla. Then I cannot control if other Google 
maps scripts are already loaded by other modules.

I need to include this script : 
   <script type="text/javascript" 
src="http://maps.googleapis.com/maps/api/js?sensor=true&libraries=places";></script>

But if an other module has already included the same, or without places 
library, or with another additional library, this generate errors.

What is the good practice to load only the needed code. For exemple If I 
need only to load the places library, because another extension has already 
laoded the map api ???

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/ked4hP9uc-YJ.
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.

Reply via email to