Panoramio, slideshow, iframe, KML layer.

96 views
Skip to first unread message

Tord Nilsen

unread,
Feb 9, 2012, 4:24:05 PM2/9/12
to google-map...@googlegroups.com
Hi everyone. My first post.

I am trying to show a 'slideshow' from Panoramio in an infowindow. But I cant get the hold of it. There must be something I have missed. 
The infowindows comes from a KML layer, generated by Google Earth. In Google Earth, the Panoramio Slideshow works (add ex. <iframe src="http://www.panoramio.com/wapi/.....) but when I try in my own map, the infowindows shows nothing. 
Previously I worked with Fusion tables, and slideshows from Picasaweb, that worked very well. But for my purpose a kml layer would be easyer to work with.
Has anyone done this? Any suggestions? Or is it that infowindow and iframe does not work together.

I would appreciate any suggestions

Regard
Tord

Rossko

unread,
Feb 9, 2012, 6:29:35 PM2/9/12
to Google Maps JavaScript API v3
KmlLayer will sanitise <description> content
http://code.google.com/apis/kml/documentation/kmlelementsinmaps.html
I guess it is stripping out iframes as a possible hazard

There are client-side KML parsers that don't do that.

Tord Nilsen

unread,
Feb 10, 2012, 2:50:08 AM2/10/12
to google-map...@googlegroups.com
Ok, thanks.
Hmm, then there is back to Fusion tables.
It is not as easy as I though this. All I want is a layer that I easy can change placemarker icons, show a link and show a slideshow from panoramio.
Well, back to scratch.
Reply all
Reply to author
Forward
0 new messages