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"> 

google's sample on server

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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -