diff --git a/js/jquery.gomap-1.3.2.js b/js/jquery.gomap-1.3.2.js index 8bf0cb5..0d2e46b 100644 --- a/js/jquery.gomap-1.3.2.js +++ b/js/jquery.gomap-1.3.2.js @@ -8,6 +8,11 @@ */ (function($) { + + if (!((typeof google !== "undefined" && google !== null ? google.maps : void 0) != null)) { + return; + } + var geocoder = new google.maps.Geocoder(); function MyOverlay(map) { this.setMap(map); }; @@ -867,4 +872,4 @@ return this.map.getBounds().contains(latlng); } } -})(jQuery); \ No newline at end of file +})(jQuery);