72 Commits
Author SHA1 Message Date
Chris Knepper 2fea4763da -Revert build gradle node_modules change 2016-08-30 00:53:00 -04:00
Chris Knepper f5a525f046 -Testing changes requested by @felipecsl 2016-08-30 00:21:22 -04:00
Chris Knepper 3c9a6a7b60 -Remove obsolete gradle file 2016-08-26 22:22:00 -04:00
Chris Knepper 17d90593de -Be unspecific about react-native dependency version in build.gradle (since react-native versions increment quickly) 2016-08-26 09:46:28 -04:00
Chris Knepper e77765d91e -Delete old lib files 2016-08-25 21:24:59 -04:00
Chris Knepper 9e4a03bd5a -Update requirements and structure in package.json
-Consistent maven URLs
2016-08-25 21:22:01 -04:00
Chris Knepper 6d6829253d -Restructure plugin to allow for easier inclusion from source in react-native projects (for Android) 2016-08-25 21:19:20 -04:00
Chris Knepper 7aff2f4ba0 -Support using react-native in peer node_modules folder instead of outdated version from Maven
-Update argument signature of RegionChangeEvent constructor to current react-native signature
-Temporarily define maven url override in both build.gradle files until we restructure this to remove the lib folder
2016-08-25 17:01:27 -04:00
Felipe Lima 54efeacfc5 Merge pull request #411 from skellock/friends-with-30
Supports React Native 0.30 on both platforms again
2016-07-27 10:45:13 -07:00
Aiden Montgomery 980628cdff Fit to supplied markers (#386)
* Added support for zooming the map to specific markers

* Moved list creation outside of a loop in Android. Updated documentation for fitToSuppliedMarkers

* Tidied up the fitToSuppliedMarkers example

* Updated Android gif in the readme
2016-07-22 07:03:18 -07:00
Steve Kellock 9d2bb34612 Rolls back Play Services to 8.4 for older devices. 2016-07-21 12:39:21 -04:00
Steve Kellock 81f7fab0de Play nice with the "current" version of react native. <3 2016-07-21 12:25:57 -04:00
Felipe Lima 95904127ba Use RN 29.2 2016-07-18 11:46:56 -07:00
Felipe Lima 2ae1716849 Fixes example JS code for RN 30 compatibility
Also bump to RN to 30-rc
2016-07-14 13:28:50 -07:00
Pedro Belo 55be099411 take prop to hide the my location button in Android (#382)
this button is enabled by default when showsUserLocation is true.

useful if you want to implement that yourself in React Native, for
instance
2016-07-13 08:43:13 -07:00
Felipe Lima a826d5c548 Fixes the Android proj settings 2016-07-11 10:17:29 -07:00
Leland Richardson 652c8126ef v0.7.1 2016-07-09 15:53:14 -07:00
Leland Richardson 2db583c501 RN 0.29 Compat and various changes 2016-07-09 14:21:25 -07:00
Leland Richardson e3a459830b Merge pull request #343 from mohamedpsx/fixing-scrolling-inside-scrollView
Fixing scrolling map inside a scrollView
2016-07-09 13:42:31 -07:00
Thomas Beverley fd815c7eee Update gradle for RN0.29. Update MapsPackage and tree for RN0.29 also ensuring sony xperia android 6 compatability 2016-07-07 09:44:11 +01:00
Jean-Richard Lai d25f7c2255 Merge pull request #335 from convoyinc/igrayson/gradle-props
[android] installation instructions to actually use node_modules
2016-07-04 16:50:03 -07:00
Gil Birman ccf30cfda0 [AirMapMarker][android] fix custom marker combined with MapMarker image prop (#325) 2016-07-01 14:57:14 -07:00
mhalloul a799574dc3 Fixing scrolling map inside a scrollView 2016-06-30 00:14:35 +01:00
Jean-Richard Lai 35c955bf76 [FIXBUG] Not calling setLoadingIndicatorColor when null 2016-06-28 21:33:02 -07:00
Ian Grayson d1cf5cb3b4 [android] installation instructions to actually use node_modules
* And basic gradle.properties reorg to allow that
2016-06-27 19:00:03 -07:00
Ross f29f165199 made android maps toolbar controllable by prop (#316)
* made android maps toolbar controllable by prop

* properly document prop
2016-06-22 15:20:32 -07:00
Felipe Lima c99522d880 Bump Android version to 0.6.0/RN 0.27.2
This updates the android lib and sample to make it work with RN 0.27.2.
Unfortunately Maven Central won't let us upload the artifact with an
open dependency on RN (`+` version), so I locked it to 0.27.2 and above.
Also had to update some outdated js imports with the new ones.
2016-06-22 11:39:08 -07:00
levic92 8357120fca Fix custom marker anchor points (#258)
Bug is documents in issue #230 and solution here: https://code.google.com/p/gmaps-api-issues/issues/detail?id=9768
2016-06-15 23:28:02 -07:00
Jean-Richard Lai 20d31537c6 Merge pull request #295 from ivanfoong/cache-map
Added ability for caching map as static image
2016-06-15 16:35:07 -07:00
Jean-Richard Lai b90fbf5dc6 Use ReactActivity in AirMapView (#293)
Taken from https://github.com/lelandrichardson/react-native-maps/pull/276
2016-06-14 09:26:32 -07:00
Ivan Foong f11edb43f6 Added ability for caching map as static image for performance reason, also added loading indicator to be display when map is being cache.
New props; `cachedEnabled`, `loadingEnabled`, `loadingBackgroundColor`, `loadingIndicatorColor`

Big thanks to @jrichardlai for his contribution and guiding me on this commit.
2016-06-14 11:31:52 +08:00
Jean-Richard Lai b8e19ded74 Allow other versions of react-native than 0.25.1 (#241) 2016-06-07 10:10:09 -07:00
Dennis Molina dbfb3b31f9 Update AirMapView.java 2016-05-31 09:45:56 -06:00
Jean-Richard Lai 61f43a1ce2 On pan drag (#159)
* Add onPanDrag event

* Edit PolygonCreator example with onPanDrag

* Add PolylineCreator example

* Only handle onPanDrag when requested

* Only listen to panDrag when handlePanDrag is set

* Merge branch 'master' into on-pan-drag
2016-05-23 23:02:34 -07:00
Felipe Lima ad4fbcabb1 Updates the example app to match recent changes 2016-05-16 11:48:11 -07:00
Felipe Lima 670fbf83f6 Changes for release 0.5.0 2016-05-16 11:44:28 -07:00
Felipe Lima a3ca505ede Fixes lint error 2016-05-14 02:25:21 -07:00
Felipe Lima 9745db0d12 Formatting 2016-05-12 21:24:53 -07:00
Felipe Lima a4aff53d3a Android code cleanup and preparation for Maven deployment 2016-05-12 21:13:42 -07:00
Christopher Dro 472227749e Merge pull request #170 from dtivel/master
Add support for file://-based assets
2016-04-14 08:15:31 -07:00
Christopher Dro 567653306f Revert "Remove hard-coded play-services API version in deps"
This reverts commit f2477a541b.
2016-04-11 14:20:52 -07:00
Damon Tivel 81b01b77cd Add support for file://-based assets 2016-04-08 10:55:24 -07:00
Christopher Dro 485f6878ee Merge pull request #168 from rreusser/master
Remove hard-coded play-services API version in deps
2016-04-07 23:18:29 -07:00
Ricky Reusser f2477a541b Remove hard-coded play-services API version in deps 2016-04-07 17:17:05 -04:00
Jaden Dessureault 5ab5eb2c02 Add pitchEnabled property to MapView 2016-03-24 21:26:25 -05:00
Leland Richardson 13de4f68e0 Merge pull request #127 from heydabop/terrain
(Android only) add terrain map type
2016-03-14 19:55:04 -07:00
Leland Richardson caea5e0bcb Merge pull request #128 from heydabop/fix-tilted-target
android: use camera target instead of region center for onRegionUpdate lat/lng
2016-03-14 19:44:42 -07:00
Leland Richardson 2c8ca1673e Merge pull request #98 from sodik82/memfix95
forward onDestroy when removing view
2016-03-14 19:39:48 -07:00
Ross Dixon b8d246d279 android: use camera target instead of region center for onRegionUpdate lat/lng
if the user tilts the camera the center of the viewed region is far off in the
distance, which would cause any actions based on onRegionChange lat/lng values
to appear off center

this also fixes lat/lng values being too far north/south if the user is very
zoomed out due to mercator distoritions
2016-03-10 10:13:44 -06:00
Ross Dixon 71e6153154 (Android only) add terrain map type 2016-03-10 10:08:45 -06:00