Maps are not visible…
-
Hi
I installed the plugin: https://ww.wp.xz.cn/support/plugin/mage-google-maps
I tried almost everything but instead of google map I get blank field…
I tried on diffrent servers, diffrent and naked thames…I get this code in my source code:
<div class="mage-map current" style="width:250px;height:300px;" ><div id="map-219" class="map map-219" style="width:100%; height:100%;"></div></div> <script type="text/javascript"> var bounds = []; jQuery(document).ready(function(){ map = new GMaps({ div: '#map-219', lat: -12.043333, lng: -77.028333, zoom: 10, }); GMaps.geocode({ address: '1600 Amphitheatre Pkwy, Mountain View, CA 94043', callback: function(results, status) { if (status == 'OK') { var latlng = results[0].geometry.location; map.setCenter(latlng.lat(), latlng.lng()); map.addMarker({ lat: latlng.lat(), lng: latlng.lng(), title: 'Dieta Jodowa', }); } } }); }); </script>And of course in head of my single post is:
<link rel='stylesheet' id='mage-maps-css' href='http://xxx.com/wp-content/plugins/mage-google-maps/source/css/mage-maps.css?ver=4.0' type='text/css' media='all' /> <script type='text/javascript' src='http://maps.google.com/maps/api/js?sensor=true&ver=4.0'></script> <script type='text/javascript' src='http://xxx.com/wp-content/plugins/mage-google-maps/source/js/gmaps.js?ver=0.2.26'></script>What
s wrong ? I cant even put static maps through this plugin… All I get is blank fieldThanks for any help
The topic ‘Maps are not visible…’ is closed to new replies.