317 Commits

Author SHA1 Message Date
Michael Diego
35507907b3
Update package.json (#529) 0.33 2018-03-09 11:09:39 -08:00
Michael Diego
faf67e5e0e
Accept 0 as zoom value. (#525)
* Accept zoom being 0

* If we set a minZoom, its clear that we want to override it

* Oops! Wrong operators
2018-03-09 11:08:46 -08:00
Michael Diego
1211f98bf8
Bump version to 0.32.0 (#519)
Bumping version to 0.32.0
2018-02-23 11:21:40 -08:00
Fumiya Karasawa
4a071767ff fix error about fromLatLngToDivPixel (#517)
* fix error about fromLatLngToDivPixel

fix "Cannot read property 'fromLatLngToDivPixel' of undefined" #257

* skip only the code that relates to div or overlay
2018-02-23 11:15:02 -08:00
falconmick
0e80512d40 Added loose to es2015 for IE10, IE11 support (#504)
* added intellij ide gitignore

* IE9 and IE10 require loose to work

your demo app doesn't work on IE9/10 so you will need to make a more simple one to test this fix out. the issue is to do with this.props not being avaiable in constructors for IE9/10 see: https://github.com/babel/babel/issues/3975 it was supposidly fixed 1 year ago but I can't see it working, maybe we need to swap to @babel/core to get this fix? I tried it but the change is made larger due to the curent demo apps build system.

Full fix would involve upgading to @babel/core + @babel/preset-env and migrating away from kotatsu in favour of a plain ole react app via webpack (create-react-app maybe?) and then place it into another folder and have that folder habing it's own package.json so we can consume google-map-react as if it were a real library during testing. Sure we would loose hmr, but at this stage hmr isn't all that useful anyway.

I'de love the proper fix, but for now I have clients with IE10 browser requirements.
2018-02-13 23:32:11 -08:00
Michael Diego
1bf85e3129 Bump version to 0.31.0 0.31.0 2018-02-12 14:26:17 -08:00
Michael Diego
add233ca77
Update README.md (#509)
* Update README.md

Switch the position of heatmap info and remove some unnecessary attributes

* Update README.md
0.30.0
2018-02-12 14:19:33 -08:00
Michael Diego
38b6fbb1a9
Bump version to 0.30.0 2018-02-12 14:10:12 -08:00
ZAKdev
e50f1d825b Added heatmap functionality (#441)
* Added functionality of heatmap

* Added options for heatmap

* default heatmap prop change to object

* resolve linting issues

* resolve linting

* Added demo for heatmap

* Fixed eslint

* Added heatmapLibrary prop for enable and disable visualization library for components

* Fixed linting

* Added heatmapLibrary={true} in all map components

* Fixed proptypes error

* Added heatmap in README with example code

* removed api key from heatmap component

* Removed unnecessary props from heatmap component
2018-02-12 14:09:38 -08:00
Michael Diego
8466cc8d85
Upgrade version to 0.29.0 (#499)
Fixes current release where region is required and it should be not.
2018-01-22 17:43:12 -08:00
Emil Pålsson
b84c663f9a Fix China fix making region required (#496) 2018-01-22 17:41:35 -08:00
Michael Diego
3d85c68bdb
Update version to 0.28.0 (#495)
- Adds support for China
0.28.0
2018-01-18 12:56:56 -08:00
Emil Pålsson
1a60df0ec7 Fix for usage from China (#494)
* Fix for usage from China

* Fix formatting

* Case insensitive check for China region

* Add localization info to docs, incl info regarding China specific URL
2018-01-18 12:48:51 -08:00
Michael Diego
6263b54959
Upgrade version to 0.27.0 (#489) 0.27.0 2018-01-04 15:50:45 +01:00
David Furlong
442e666f35 Move to use of prop-types package for PropTypes (#398)
* Create GMap.js

* Create GMapLayers.js

* Create GMapResizable.js

* Create SimpleMarker.js
2018-01-04 15:44:48 +01:00
Ondrej Mladek
e47d955a90 Add fullscreen check for Internet explorer 11 (#485)
* Add fullscreen check for Internet explorer 11

Fixing marker position in Internet Explorer 11 in fullscreen mode.
Fixing: https://github.com/istarkov/google-map-react/issues/484

* #484: move fullscreen check to function

* #484 eslint fix
2018-01-04 15:12:01 +01:00
Joseph Frazier
9d5a1cc37f Travis: Ensure that yarn.lock is up to date (#487)
See https://github.com/istarkov/google-map-react/pull/483#issuecomment-353480981
2017-12-28 07:43:15 -03:00
Acellam Guy
7814901c64 notify call back of load failure (#479)
When the google  fails to load due to no internet, the  call back should be notified so that appropriate UI can be shown
2017-12-28 07:42:30 -03:00
Joseph Frazier
0db8020122 Make resetBoundsOnResize preserve center when full-screened (#482)
* lockCenter prop added

* Resolve conflicts

* Fix lint with `yarn lint --fix`

* Add documentation for `lockCenter` prop

* Remove `lockCenter`, add its behavior to `resetBoundsOnResize`

See https://github.com/istarkov/google-map-react/pull/482/files#r158330791
2017-12-22 01:54:12 -03:00
Joseph Frazier
2e7bd79d16 Update yarn.lock (#483)
e344c3c8f4
switched from `point-geometry` to `@mapbox/point-geometry`, but it
didn't update yarn.lock accordingly. This does.
2017-12-21 19:28:52 -03:00
Michael Diego
f05a0ff1fe
Upgrade to 0.26.0 (#481) 2017-12-20 19:09:43 -03:00
comerc
5ffa73c42a Remove sensor parameter (#399)
https://stackoverflow.com/questions/8616764/what-is-the-sensor-parameter-in-google-places-api-good-for
2017-12-20 18:47:33 -03:00
jbcochery
9a418f6aa3 Fix markers position on fullscreen mode (#452) 2017-12-20 18:46:49 -03:00
huygn
d83352f16b docs - fix outdated method on SearchBox example (#343) 2017-12-20 18:45:36 -03:00
Tim
bb59c46ef4 Update API.md (#403)
fix searchbox example
2017-12-20 18:04:05 -03:00
valorize
e344c3c8f4 Move points-geometry dependency to organization (#462)
* Move dependency to organization

* Update geo.js

* Update transform.js
2017-12-20 17:55:54 -03:00
Michael Diego
235cd3d315
Update README.md 2017-12-19 17:52:39 -03:00
Ivan Starkov
9e0ae82e66
Update README.md 2017-11-23 22:34:23 +01:00
Ivan Starkov
c328115034
Update README.md 2017-11-23 22:33:50 +01:00
Ivan Starkov
74875a542e 0.25.0 2017-10-23 22:24:41 +03:00
Exomnius
f4c0a0ce20 Added react 16 as peer dependency + bumped related react versions (#454)
* react-16 added react 16 as peer dependency and bumped related react versions

* react-16 removed unwanted style changes

* react-16 removed unwanted style changes

* react-16 removed unwanted style changes
2017-10-15 22:18:29 +03:00
Lloyd Watkin
2ec7048ab2 Add source to clustering example (#311) 2017-06-23 15:45:47 +03:00
cybice
31639b3d58 Add issue template 2017-04-15 02:25:56 +03:00
cybice
2b540d6d45 0.24.0 2017-04-11 00:48:52 +03:00
Ivan Starkov
07368e23ad Move 2 yarn, add prettier, update linters (#360)
* Move 2 yarn, add prettier, update linters

* Fix linting error
2017-04-11 00:47:54 +03:00
Ivan Starkov
1b088ceef5 Update DOC.md 2017-03-28 20:04:42 +03:00
Ivan Starkov
321b5a4f69 Update DOC.md 2017-03-28 20:04:25 +03:00
cybice
33d7f464be 0.23.0 2017-03-10 13:51:50 +03:00
Yoad Snapir
5c9d911e4f Fix unresponsive map after outside-click on a touch device with draggable:false (#335)
* Implement workaround fix for mouseout event on touch devices

* fix linting errors
2017-03-10 12:29:59 +03:00
Yoad Snapir
956c0ca5d2 Stop capturing all touch events and use built in google maps support (#334)
* Revert "Fix ipad dragging issue (#233)"
Using the built in support from google maps would make the component more
mobile friendly.

This reverts commit 7d1180c5427750e18411874f538ae6bfbbe33498.

* Improve documentation around touch device support

* Fix linting errors
2017-03-10 12:28:28 +03:00
cybice
d75faf9498 Small fixes 2017-02-16 22:27:37 +03:00
Ivan Starkov
54d8e37535 Add AnyReactComponent with jsbin example (#320)
* Add AnyReactComponent with jsbin example

* Fix

* Link

* Reformat sections
2017-02-16 22:19:26 +03:00
Ivan Starkov
b2bfc4b448 Update DOC.md 2017-02-01 01:02:45 +03:00
cybice
cc42705657 no message 2017-02-01 00:59:27 +03:00
cybice
cfc34259a1 onChild* examples 2017-02-01 00:46:02 +03:00
cybice
74c1330a95 Examples 2017-01-31 02:40:39 +03:00
cybice
a664ad046e typo 2017-01-31 02:30:53 +03:00
cybice
c1db50f57a Fix 2017-01-31 02:29:29 +03:00
cybice
a51199a115 Add why 2017-01-31 02:26:47 +03:00
cybice
2134d4245e Add in progress 2017-01-31 02:22:36 +03:00