wordpress - KMZ layers are showing on a jQuery gmap3, KML not -


h,

i want display kml/kmz attachments wordpress post in 1 single gmap3. page rendering without js errors , kml urls being pulled attachments correctly. kmls not showing, kmz.

see here in action:

http://dev.felixsalomon.net/wordpress/geo-kml-kmz-bg/

(check source code see 2 different urls)

any ideas i'm doing wrong?

after more testing got run. seems every kmllayer has added individually so:

$the_map.gmap3({   kmllayer:{     options:{       url: "first.url",   opts:{} }   } }); $the_map.gmap3({   kmllayer:{     options:{       url: "second.url",       opts:{}     }   } }); 

wheras approach fail:

$the_map.gmap3({     kmllayer:{         options:{           url: "first.url",       opts:{}         }     },     kmllayer:{         options:{           url: "second.url",       opts:{}         }     } }); 

i hope in future!


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -