jquery - How to use div element to show google maps? -


i learning basics of google maps api. facing issues in implementing template.

i use

<div class=container>   <!-- put here --> <div id='canvas'></div> <!-- doesn't work --> </div> 

but put

<!--i put here, it's work --> <div id='canvas'></div > <div class=container> </div> 

how should it?

you need quote class:

<div class="container">   <!-- put here --> <div id='canvas'></div> <!-- doesn't work --> </div> 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -