We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 225b2b9 commit 1d0d2a1Copy full SHA for 1d0d2a1
stub.js
@@ -55,6 +55,12 @@ window.google = {
55
return {
56
getSouthWest: function() { return sw; },
57
getNorthEast: function() { return ne; },
58
+ toJSON: () => ({
59
+ south: sw ? (sw.lat || sw.latitude) : 0,
60
+ north: ne ? (ne.lat || ne.latitude) : 0,
61
+ west: sw ? (sw.lng || sw.longitude) : 0,
62
+ east: ne ? (ne.lng || ne.longitude) : 0,
63
+ }),
64
};
65
},
66
Map: function() {
0 commit comments