Displaying Google map in IE using
<object

2019-03-04 18:01发布

问题:

How to make it work in ie8-ie9?

I have used iframes, but i have to take away all the iframe and replace them with some not bug way of displaying.

This the best way which works every where except the ie7-ie9 because in IE display only empty box.

I way that I think about to take google map link and separate them between link and style, but have no idea now to do it.

<div style="margin: 0 auto; width:550px; height:400px;">
<object type="text/html" data="https://maps.google.co.uk/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=BH20+5QT&amp;aq=&amp;sll=50.638194,-2.206535&amp;sspn=0.048883,0.100851&amp;t=m&amp;ie=UTF8&amp;hq=&amp;hnear=East+Lulworth+BH20+5QT,+United+Kingdom&amp;ll=50.638085,-2.181816&amp;spn=0.021774,0.049009&amp;z=14&amp;iwloc=A&amp;output=embed" style="width:550px; height:400px;">
</object></div>