javascript - How to insert interactive map? -


i trying use googlemap in website :

           function insertmap()            {                var map;                 var op = {                     zoom: 10,                     center: new google.maps.latlng(-34.397, 150.644),                     maptypeid: google.maps.maptypeid.roadmap                 };                                     map = new google.maps.map(document.getelementbyid('id'), op);            } 

i calling function on button click event. problem insert static map ( single image ) instead of interactive map. tried isstaticmap : false not working , when did shows nothing neither static nor interactive. me out !

there implementation using jquery might you. source code , demo included!

http://www.position-absolute.com/articles/create-an-interactive-google-map-widget-with-a-list-filter-and-a-map-helper-class/


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -