common.js

<div id="map" style="width: 600px; height: 400px"> </div> <script> function myMap() {     var mapOptions = {         center: new google.maps.LatLng(46.455626, 30.741017),         zoom: 20,         mapTypeId: google.maps.MapTypeId.HYBRID     } var map = new google.maps.Map(document.getElementById("map"), mapOptions); } </script> <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA1F2m24tGsNa8kw2Ck1GFtFJqvB9e0-Zo&callback=myMap"></script>
GoogleMapOdessa

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.