cyberhobo / wordpress-geo-mashup

Official repository for Geo Mashup, the plugin that makes WordPress into a GeoCMS. Documentation:
https://github.com/cyberhobo/wordpress-geo-mashup/wiki/Getting-Started
63 stars 15 forks source link

show name lable for attached kml instead of infobox #783

Open islandcastaway opened 7 years ago

islandcastaway commented 7 years ago

I am trying to show the kml "name" next to a placemark icon from a kml file that is attached to the post instead of only a infobox when hovering over the placemark icon.

example kml is at http://stridetothetop.com/files/2017/03/ASEPTIC-TEAM-kml.kml

category page map code is `<?php if ( class_exists( 'GeoMashup' ) ) { $current_location = GeoMashupDB::get_post_location( get_the_ID() ); if ( $current_location ) { $map_arguments = array ( 'zoom' => '2', 'height'=>'600', 'width'=>'900' ); echo GeoMashup::map( $map_arguments );

         }
         }

echo '
'; ?>`

sample output is http://stridetothetop.com/chronicles/global-teams/

any help would be gratefully appreciated .