javascript - google maps api mobile rendering -


i trying open simple map on website on mobile ios device getting google map distorted. code straight google maps api documentation.

ios device capture

i use content delivery system enhance speed, have disables cache without luck. local issues or else going on mobile devices??

<html>   <head>     <!-- stylesheet contains specific styles displaying map          on page. replace own styles described in          documentation:          https://developers.google.com/maps/documentation/javascript/tutorial -->     <link rel="stylesheet" href="/maps/documentation/javascript/demos/demos.css">   </head>   <body>     <div id="map"></div>     <script>       function initmap() {         // create map object , specify dom element display.         var map = new google.maps.map(document.getelementbyid('map'), {           center: {lat: -34.397, lng: 150.644},           zoom: 8         });       }      </script>     <script src="https://maps.googleapis.com/maps/api/js?key=''&callback=initmap"     async defer></script>   </body> </html> 


Comments

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -