As suggested I've gone in with Firebug to see what's going on. It looks like Google is doing two obnoxious things:
- It's stripping out all class attributes from my HTML.
- It's throwing all kinds of hard-coded styles around.
Here's my HTML along with the first couple of wrappers inserted by Google:
<div style="font-family: Arial,sans-serif; font-size: small;">
<div id="iw_kml">
<div>
<h6>Concession</h6>
<h4>BOIS KASSA 1108000 (Mobola-Mbondo)</h4>
<p>
Description goes here</p>
<a target="_blank"><span />View details </a>
</div>
</div>
</div>
As you can see, my classes (e.g. MapPopup
in my first div
, Button
etc. in the <a>
tag) have all been stripped out.
Knowing this I'll be able to work around Google's interference, using !important
and targeting the container div
for the whole map - still, this is annoying, and unexpectedly clumsy coming from Google.