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!
Comments
Post a Comment