Running sample google map in api tutorial -
i have copied html sample map from: https://developers.google.com/maps/documentation/javascript/examples/layer-kml. copied code text editor , saved html , run in ie , firefox no map showed.any advice please
thanks ian
you need file also:
<link href="/maps/documentation/javascript/examples/default.css" rel="stylesheet">
or include in place:
<style type="text/css"> html, body { height: 100%; margin: 0; padding: 0; } #map-canvas, #map_canvas { height: 100%; } @media print { html, body { height: auto; } #map_canvas { height: 650px; } } #panel { position: absolute; top: 5px; left: 50%; margin-left: -180px; z-index: 5; background-color: #fff; padding: 5px; border: 1px solid #999; } </style>
Comments
Post a Comment