javascript - Black blocks on Google map API v3 -
i have problems embedded google map. i'm using api v3, , reason black blocks rendered behind map controls , marker.
here's screenshot:
i have html5 doctors reset stylesheet, , simple custom styling layout , typography. when refresh page whole map blinks moment , black blocks rendered.
here's codepen, map not displayed there reason. have marked with: [google map] it's easier find. http://codepen.io/jinx/pen/bcrpn
[update]
i have created new html without content except map div
element , scripts , css files original html included , map works properly.
this confuses me because appear bug due html surrounding map?
[update2]
i got map render on code pen has no controls , no marker. still same result on local version.
could because i'm working locally?
[update3]
i checked in firefox, internet explorer 9, opera , safari , map rendered perfectly. seems chrome bug.
also, have noticed chrome offsetting element boxes out of browser window visible area. here's screenshot.
inspectors in other browsers show boxes normally.
it seem indeed chrome bug. have made copy of project folder, , opened index.html there , fine.
i guess cache problem/bug.
Comments
Post a Comment