I my question not clear ?

Le jeudi 1 novembre 2012 10:35:39 UTC+1, pec76 a écrit :
>
> 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/-/WF5pxWfNpB4J.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to