[Google Maps API v2] CSS class issues with loaded KML
Greetings,
I've created a kml file with a set of placemarks that have infobox
with content. I'm attempting to add a jquery shadowbox-type effect by
applying a class="shadowbox" to a html element in an infobox. So that
when an image is clicked the shadowbox appears with a set gallery. JS
works find outside of maps, but I'm seeing that there are issues when
added to kml and loaded into Gmap. Unfortunately, it seems that the
class element is stripped once the KML file is loaded. So an element
that would look something like:
<div class="shadowbox"><a href="#">Hello</a></div> when loaded from
kml comes out as <div><a href="#">Hello</a></div>. CSS class has been
removed.
Is this a limitation of KML or Gmaps? Is there a workaround?
Thanks in advance
--
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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home