Skip to content

Commit f3c70a6

Browse files
author
Ari
committed
Updates
1 parent 1674773 commit f3c70a6

File tree

4 files changed

+1505
-1501
lines changed

4 files changed

+1505
-1501
lines changed

dist/GoogleApiComponent.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
var language = options.language || 'en';
9696
var url = options.url;
9797
var client = options.client;
98+
var region = options.region;
9899

99100
return (0, _ScriptCache.ScriptCache)({
100101
google: (0, _GoogleApi2.default)({
@@ -103,7 +104,8 @@
103104
libraries: libraries,
104105
version: version,
105106
url: url,
106-
client: client
107+
client: client,
108+
region: region
107109
})
108110
});
109111
};

dist/components/HeatMap.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
}
173173

174174
var data = positions.map(function (pos) {
175-
return new google.maps.LatLng(pos.lat, pos.lng);
175+
return { location: new google.maps.LatLng(pos.lat, pos.lng), weight: pos.weight };
176176
});
177177

178178
var pref = _extends({

dist/index.js

+2
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@
258258
fullscreenControl: this.props.fullscreenControl,
259259
scrollwheel: this.props.scrollwheel,
260260
draggable: this.props.draggable,
261+
draggableCursor: this.props.draggableCursor,
261262
keyboardShortcuts: this.props.keyboardShortcuts,
262263
disableDoubleClickZoom: this.props.disableDoubleClickZoom,
263264
noClear: this.props.noClear,
@@ -399,6 +400,7 @@
399400
fullscreenControl: _propTypes2.default.bool,
400401
scrollwheel: _propTypes2.default.bool,
401402
draggable: _propTypes2.default.bool,
403+
draggableCursor: _propTypes2.default.string,
402404
keyboardShortcuts: _propTypes2.default.bool,
403405
disableDoubleClickZoom: _propTypes2.default.bool,
404406
noClear: _propTypes2.default.bool,

0 commit comments

Comments
 (0)