79 Commits

Author SHA1 Message Date
Lukyanov Fedor
7a9a8d3fb7 Add ne and sw to bounds object (#287)
* Add ne and sw to bounds object

* Add ability to use ne and sw in fitBounds

* Return all corners from fitBounds

* Remove exports object in favour export
2016-11-30 23:13:19 +03:00
Andries Smit
496e9a5d7d Fix reference to maps instead of map. (#283)
Sorry, made a smal but ugly mistake in the last pull request.
The this.maps does not have a function getCenter .... but this.map does
2016-11-24 21:17:59 +03:00
Andries Smit
affee2a8dd Keep original center on _mapDomResizeCallback (#282)
When the resize event is triggered, the original center was lost. 
This issue is significant when the map is renders outside visible dom with zero height and width.
When placed into the visible dom, the resize is triggered correctly. With this change the center will persist. (Without this fix the old center is the top left corner)
2016-11-24 20:09:06 +03:00
Matt Dean
7be0f10591 expose map type callback (#275) 2016-11-24 20:05:30 +03:00
Ivan
6273309665 #add handlers for fly update layers (#272)
* #add handlers for fly update layers

* #remove force param

* Update google_map.js
2016-11-07 12:07:14 +03:00
alex-e-leon
d348c64f85 Fixed componentWillReceiveProps options function bug (#273)
Fixes a bug which prevented you from changing the function passed to
the options prop
2016-11-07 11:31:26 +03:00
Ivan
1c801812b2 #add layerTypes props handler, and GMapLayers view (#264)
* #add layerTypes props handler, and GMapLayers view

* #fix linter, change props place

* #add layerTypes props descrition
2016-11-01 15:46:07 +03:00
cybice
4a25508ecf Closes #260 2016-10-20 20:28:17 +03:00
Ivan Starkov
b8bf3ad03f Fix, I see no reason now to prevent mouseDown event propagation (#248) 2016-09-27 14:49:54 +03:00
Viktor Bezdek
94eac51b6e Fix unreliable window and document detection (#246)
* Fix unreliable DOM availability detection to more robust approach

Signed-off-by: Viktor Bezděk <viktor.bezdek@siteone.cz>

* Temporarily commit compiled files to repo before pull request #246 gets published to fix ssr issues

Signed-off-by: Viktor Bezděk <viktor.bezdek@siteone.cz>

* Revert "Temporarily commit compiled files to repo before pull request #246 gets published to fix ssr issues"

This reverts commit 7e19a8630c7e3e148803f0797cbf89567c7a8c45.
2016-09-23 17:49:31 +03:00
Martin Jujou
7d1180c542 Fix ipad dragging issue (#233)
* Fix ipad dragging issue

* Limit touch events to map only
2016-09-01 11:04:09 +03:00
Ivan Starkov
a0791b52ed fixes #220 (#222) 2016-08-23 13:54:35 +03:00
cybice
f23a649011 Fix incorrect onChildMouseDown is called when marker is already removed 2016-08-22 17:42:51 +03:00
Rupesh Singh
e196e9f1e5 Reset Bounds when surrounding div resizes (#219)
* added listeners for element/map resize event

* changed names accordingly

* added eslint-disabled to pass through travis checks

* changes for travis checks

* added eslint disables

* disabling eslint for lNo 906

* removed trailing spaces

* removed unnecessary id and refs

* removed eventListners on unMount
2016-08-22 17:31:02 +03:00
alex-e-leon
476afbfe54 Allow gmap option props to be changed dynamically (#215) 2016-08-10 09:53:48 +03:00
shark0der
5a3f0b3ac0 Skip falsy values in _onMouseChangeHandler_raf as well (#205)
* Skip falsy markers

* Skip falsy markers in _onMouseChangeHandler_raf
2016-07-25 13:31:28 +03:00
shark0der
ef1689e7a3 Skip falsy markers (#204) 2016-07-25 01:20:26 +03:00
Ivan
7c8ec7a2bb #add newBounds to fitBounds utils (#202)
* #add newBounds to fitBounds utils

* #fix by lint rules

* remove npm debug.log

* #fix eslint by disable lines
2016-07-24 21:40:32 +03:00
Ivan Starkov
fb3af2cd7c Fix context (#198) 2016-07-20 16:41:15 +03:00
Ivan Starkov
bc83e67490 closes #185 (#186) 2016-07-03 01:50:23 +03:00
David Heidrich
2170819237 calculate current touch position on click (fixes #28) (#178) 2016-06-24 16:34:40 +03:00
Ivan Starkov
26dbb12ed6 small umd and dev fixes (#177) 2016-06-23 22:40:07 +03:00
Stanislav Ermakov
e1ab7f794b added this.props.center check (#174) 2016-06-16 12:44:42 +03:00
cybice
0d7cef1dd3 Update exports 2016-06-13 18:57:23 +03:00
cybice
100c219e1e Test rxjs instead of reconciler, add ability to draw layers, test performance 2016-06-13 17:51:37 +03:00
Ivan Starkov
670fadd2da Add develop (#172)
* Add isNumber

* Update babel, remove lodash deps

* develop first commit

* Fix zIndex

* Add readme

* Fix tests

* Fix build issues

* Update travis build
2016-06-13 03:29:55 +03:00
cybice
5b8936288a Update linter 2016-06-13 01:36:02 +03:00
cybice
5547713e1b Fix error 2016-06-13 00:23:05 +03:00
cybice
936028bc90 Remove draggable from shallowEqual 2016-06-12 23:54:06 +03:00
cybice
13d760d050 Fix map moves back in some cases 2016-05-31 17:13:40 +03:00
Anthony Lapenna
949736af9b Added support for minZoomOverride flag. If set to true, the minZoom option will be used instead of being calculated. 2016-05-11 19:08:21 +12:00
carsy
63faae5435 Add className to marker holder
Take the className from `$markerHolderClassName` and add it to the
marker holder.
2016-04-24 12:29:54 +01:00
cybice
e2da719237 add props 2016-03-27 19:16:04 +03:00
cybice
9e675c7cbd #104 2016-03-18 00:50:31 +03:00
Mattia Toso
213dc7e850 Remove check of react version and deprecated react 0.13 2016-03-15 17:52:07 -07:00
Mauricio Soares
ac3eeec822 import specific module 2016-03-14 14:52:53 -03:00
Mauricio Soares
03fdf3fd3b update lodash version 2016-03-14 14:43:20 -03:00
cybice
a6e6b37675 Move style prop to props, (fast hack to support flex layouts) 2016-02-02 19:16:11 +03:00
cybice
9ca1407fa0 fix lat conversion 2016-01-29 22:44:34 +03:00
cybice
a9927672ec Add guard to api loaded callback 2016-01-23 07:56:44 +03:00
Administrator
507d5f3cfd Bugfix: _onGoogleApiLoaded() callback was being called on onZoom because it was in the draw() method. 2016-01-23 07:51:16 +03:00
Anders Stalheim Øfsdahl
81678e157c Fixing trailing spaces 2016-01-16 11:58:06 +01:00
Anders Stalheim Øfsdahl
ac243e5668 Prevents map from initializing twice 2016-01-16 01:40:12 +01:00
cybice
6578b00e33 log2 support for IE 2016-01-14 02:17:20 +03:00
Ishwar Nagar
ac166a7903 remove unnecessary whitespace before 'from' when importing es6-promise 2016-01-13 12:17:08 -08:00
Ishwar Nagar
011818a28b Add and implement es6-promise for ie11 support 2016-01-13 11:40:08 -08:00
cybice
e4801e2bad Fix: click event occurs even if childMouseUp intercepted. 2015-11-06 16:27:46 +03:00
cybice
db6a77f93b Fix const (for scrollable pages) 2015-10-25 23:00:10 +03:00
cybice
add0b54875 googleMapLoader as static, mouse calc fixes on Move 2015-10-25 22:19:06 +03:00
cybice
862a6e85c4 Allow add any keys to google bootstrap url 2015-10-24 14:05:16 +03:00