1/* 2 * NB: Loading this script is handled by legacy-core.php 3 */ 4jQuery(function($) { 5 6 WPGMZA.isProVersionBelow7_10_00 = true; 7 8 google.maps.Marker.prototype.setOffset = function(x, y) 9 { 10 this._offset = {x: x, y: y}; 11 this.updateOffset(); 12 } 13 14 google.maps.Marker.prototype.updateOffset = function() 15 { 16 var temp = {_offset: this._offset, googleMarker: this}; 17 WPGMZA.GoogleMarker.prototype.updateOffset.apply(temp); 18 } 19 20 Object.defineProperty(google.maps.Marker.prototype, "offsetX", { 21 get: function() { 22 if(!this._offset) 23 return 0; 24 return this._offset.x; 25 }, 26 set: function(value) { 27 if(!this._offset) 28 this._offset = {x: 0, y: 0}; 29 this._offset.x = value; 30 this.updateOffset(); 31 } 32 }); 33 34 Object.defineProperty(google.maps.Marker.prototype, "offsetY", { 35 get: function() { 36 if(!this._offset) 37 return 0; 38 return this._offset.y; 39 }, 40 set: function(value) { 41 if(!this._offset) 42 this._offset = {x: 0, y: 0}; 43 this._offset.y = value; 44 this.updateOffset(); 45 } 46 }); 47 48});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.