Load KML attachments for all geo mashup map markers


/ Published in: JavaScript
Save to your folder(s)

By default KML is only loaded for a selected marker. This bit of [custom javascript](http://code.google.com/p/wordpress-geo-mashup/wiki/Documentation#Custom_JavaScript) will load it for all markers.


Copy this code and paste it in your HTML
  1. GeoMashup.addAction( 'marker', function( properties, marker ) {
  2. GeoMashup.showMarkerAttachments( marker );
  3. }

URL: http://code.google.com/p/wordpress-geo-mashup

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.