Any help gratefully appreciated.
Map page: http://samsplayground.com/map/
Goal: Have a Flickr photo slideshow play in info window on map
I'm using Wordpress plugin "slickr-flickr" to create my slideshow
which utilises shortcode
I can't use the exact shortcode I would use in my wordpress posts eg.
[slickr-flickr tag"example"]
because shortcode doesn't work in the wordpress page template file
which my map api is in.
slideshow is playing fine under map with php echo code:
<?php echo do_shortcode('[slickr-flickr tag="Seattle" type="slideshow"
size="small"]'); ?>
But if I insert same code within map api info box the map will not
show.
eg.
var point = new GLatLng(46,-121);
var marker = createMarker(point,'Test','<?php echo
do_shortcode('[slickr-flickr tag="Seattle" type="slideshow"
size="small"]'); ?>')
map.addOverlay(marker);
Presumably php cannot be inserted where html would normally go in this
manner, any suggestions?
I'm very novice with php and map api, just trying to get a map with my
travels on it. Please help.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.