libraries=panoramio and libraries=places in one map using Places Autocomplete and PanoramioLayer

171 views
Skip to first unread message

iNett-works

unread,
Mar 26, 2012, 5:17:48 PM3/26/12
to google-map...@googlegroups.com
Hi, I´m pretty new with google API V3 and trying to show PanoramioLayer calling the function panoramioLayer.setMap(map) having
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true&libraries=panoramio"></script> in the head.

with <script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?sensor=true&libraries=places"></script> in the head.

Both are working fine on its own, but having both &libraries in the head the call of panoramioLayer.setMap(map) does not show any result anymore.
I tried many different ways and searched a lot but found no way to let it work.

Does anyone know about the reason ?
Thanks and greetings

Enoch Lau (Google Employee)

unread,
Mar 27, 2012, 1:04:24 AM3/27/12
to google-map...@googlegroups.com
If you want to load multiple libraries, you need to do it in one script tag. See
Reply all
Reply to author
Forward
0 new messages