css - Google maps control is not showing -
i have embedded google map on contact page google zoom in/out not working , how add info box here link
http://www.spheretekk.com/safari/map-lax.html
and here screenshot in chrome
http://www.safarikidindia.com/ss.jpg
here uodated js
< script type = "text/javascript" > function initialize() { //initalize js after onload var map = new google.maps.map(document.getelementbyid('map_canvas'), { maptypeid: google.maps.maptypeid.roadmap, }); var randompoint0 = new google.maps.latlng(22.59373, 72.94922); //first location var marker0 = new google.maps.marker({ //set marker position: randompoint0, map: map }); google.maps.event.adddomlistener(document.getelementbyid('locationid0'), 'click', //set dom listener 1 function () { map.setzoom(13); map.setcenter(marker0.getposition()); }); var randompoint1 = new google.maps.latlng(19.01626, 72.84019); //first location var contentstring = '<div id="content">' + '<div id="sitenotice">' + '</div>' + '<h2 id="firstheading" class="firstheading">uluru</h2>' + '<div id="bodycontent">' + '<p><b>uluru</b>, referred <b>ayers rock</b>, large ' + 'sandstone rock formation in southern part of ' + 'northern territory, central australia. lies 335 km (208 mi) ' + 'south west of nearest large town, alice springs; 450 km ' + '(280 mi) road. kata tjuta , uluru 2 major ' + 'features of uluru - kata tjuta national park. uluru ' + 'sacred pitjantjatjara , yankunytjatjara, ' + 'aboriginal people of area. has many springs, waterholes, ' + 'rock caves , ancient paintings. uluru listed world ' + 'heritage site.</p>' + '<p>attribution: uluru, <a href="http://en.wikipedia.org/w/index.php?title=uluru&oldid=297882194">' + 'http://en.wikipedia.org/w/index.php?title=uluru</a> (last visited june 22, 2009).</p>' + '</div>' + '</div>'; var infowindow = new google.maps.infowindow({ content: contentstring }); var marker1 = new google.maps.marker({ //set marker position: randompoint1, map: map }); google.maps.event.adddomlistener(document.getelementbyid('city'), 'change', //set dom listener 1 function () { map.setzoom(13); map.setcenter(marker1.getposition()); }); map.setcenter(marker0.getposition()); map.setzoom(5); } google.maps.event.addlistener(marker, 'click', function () { infowindow.open(map, marker); }); < /script> what missing or doing wrong?
the issue should because of universal img{max-width: 100%;}
try 1 in css
.gmnoprint img { max-width: none; }
Comments
Post a Comment