javascript - Google Maps API marker move on scroll and layout style -
i'm new in google maps api, trying embed marker address on google maps have errors.
https://developers.google.com/maps/documentation/javascript/adding-a-google-map#map
i'm using documentation , have copied code doesn't work because when scroll marker it's not fixed in map move , doesn't stay in correct place.
also, buttons in left corner map , satellite doesn't appear properly, appear background line in whole map , don't smaller.
finally, + , - button doesn't appear.
someone tell me why have problem?
here code:
<script> function initmap() { var blitz8 = {lat: 45.806510, lng: 10.109520}; var map = new google.maps.map(document.getelementbyid("map"), { zoom: 18, center: blitz8 }); var marker = new google.maps.marker({ position: blitz8, map: map }); }; </script>
and here live page:
hi resolve problem disabled css option in base.scss please check , fix that, check picture uploaded below
Comments
Post a Comment