/** * jQuery asGmap v0.3.5 * https://github.com/amazingSurge/jquery-asGmap * * Copyright (c) amazingSurge * Released under the LGPL-3.0 license */ !function(o,t){if("function"==typeof define&&define.amd)define(["jquery"],t);else if("undefined"!=typeof exports)t(require("jquery"));else{var e={exports:{}};t(o.jQuery),o.jqueryAsGmapEs=e.exports}}(this,function(o){"use strict";function t(o,t){if(!(o instanceof t))throw new TypeError("Cannot call a class as a function")}var e=function(o){return o&&o.__esModule?o:{default:o}}(o),n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},i=function(){function o(o,t){for(var e=0;e'+o.content+""});window.google.maps.event.addListener(e,"click",function(){i.open(t.map,e)}),o.popup&&i.open(t.map,e)}};o.hasOwnProperty("latitude")&&o.hasOwnProperty("longitude")&&o.latitude&&o.longitude?(n.position=new window.google.maps.LatLng(o.latitude,o.longitude),i()):o.hasOwnProperty("address")&&this.geocoder.geocode({address:o.address},function(o){o&&o.length&&(n.position=o[0].geometry.location,i())})}},{key:"addMarkers",value:function(o){for(var t=0;t1?t-1:0),n=1;n1?t-1:0),i=1;i