634 Commits
Author SHA1 Message Date
Eric Dvorsak 070ae2c037 fix prop-types 2017-10-27 17:39:36 +02:00
Antonio Zugaldia d2a0a851d5 Merge pull request #603 from gillessed/master
Fix ios offline pack bugs.
2017-08-09 15:45:27 -04:00
gcole 9a3646faf5 Fix ios offline pack bugs.
- Only resume packs that aren't complete.
- Don't fire events for invalid packs.
2017-08-09 10:00:38 -07:00
Antonio Zugaldia 5a1983ac9c Merge pull request #601 from gillessed/master
Make offline packs more robust.
2017-08-08 16:49:04 -04:00
gcole 3a12bb4fb8 Make offline packs more robust.
- Separate the access token initialization and offline maps
  initialization.
- Make the initialization functions return promise so that the consumer
  code can know when mapbox and the offline packs are ready to be used.
- Expose setConnected method.
- Update docs.
2017-08-08 10:20:56 -07:00
Minh Nguyễn 64a51561d2 Merge pull request #429 from statiklabs/master
RCTMapboxGL.xcodeproj should be added to the Libraries folder
2017-07-26 13:44:44 -07:00
fossabot d287894581 Add license scan status and report (#577) 2017-07-26 13:15:35 -07:00
Antonio Zugaldia bf741d51d9 Merge pull request #544 from sethvincent/patch-1
API docs: change addOfflinePackForRegion to addOfflinePack
5.2.0
2017-06-15 09:16:23 -04:00
Antonio Zugaldia 4119c0aeb1 Merge pull request #546 from sethvincent/patch-2
android install docs: change MainActivity.java to MainApplication.java
2017-06-15 09:16:00 -04:00
Antonio Zugaldia b46ea8da99 Merge pull request #552 from hippware/master
upgrade to RN0.44
2017-05-31 11:48:56 -04:00
Antonio Zugaldia 893c5dff83 Merge pull request #548 from carocad/patch-1
fix: api cosmetic changes
2017-05-23 09:30:33 -04:00
Antonio Zugaldia ceba710a91 Merge pull request #539 from jthetzel/master
Docs: Typo in Custom Annotations example
2017-05-23 09:29:54 -04:00
aksonov 81329465c6 upgrade to RN0.44 2017-05-15 09:08:16 +02:00
Camilo Roca bcc3efe171 fix: incorrect order 2017-05-07 16:50:46 +02:00
Camilo Roca 689cfe9b88 solves #520 2017-05-07 16:27:58 +02:00
Camilo Roca 33f08b094a fix: markdown table incorrectly formatted 2017-05-07 16:06:57 +02:00
Seth Vincent fde0218d5d android install docs: change MainActivity.java to MainApplication.java
In recent versions the `getPackages` method is implemented in MainApplication.java
2017-04-28 13:33:00 -04:00
Antonio Zugaldia 182c76edbb Merge pull request #541 from gillessed/feature/custom-annotation-fixes
Android custom annotation bugfixes.
2017-04-26 16:21:50 -04:00
Seth Vincent 9f96d3513d API docs: change addOfflinePackForRegion to addOfflinePack 2017-04-26 14:48:14 -04:00
gcole 156d3f9cf8 Android custom annotation bugfixes.
- Custom annotations would sometimes not get rendered on the screen.
  Haven't nailed down the exact problem, but it was some sort of
  interleaving of operations from adding children and computing custom
  marker views. Moving the marker view stuff to when the map finishes
  loading resolves this.
- The adapter for the react native marker views now handles the caching
  behaviour correctly and re-uses views when they are available.
- Make sure each layout actually gets the height and width of the react
  native views from the correct shadow nodes so that they don't all have
  the same measurements by accident.
- Update locations of annotations when they are changed.
- Split annotation views into a map. The manager is a singleton and all
  the existing map views go through it so the children need to be kep
  separately.
- Safeguard against relayout being called after onDrop(), resulting in a
  null pointer exception.
2017-04-21 15:12:08 -07:00
Jeremy T. Hetzel ddb194e527 Docs: Typo in Custom Annotations example 2017-04-20 08:32:16 -02:30
Tobrun 11aa29b4cd Merge branch 'gillessed-feature/android-custom-annotations' 2017-04-05 16:12:39 +02:00
Tobrun 8e23dc8969 Merge branch 'feature/android-custom-annotations' of https://github.com/gillessed/react-native-mapbox-gl into gillessed-feature/android-custom-annotations 2017-04-05 15:43:38 +02:00
Antonio Zugaldia e67a50ad6b Merge pull request #522 from gillessed/upgrade/android-sdk-4.2.2
Upgrade android SDK to 4.2.2
2017-03-30 10:05:45 -04:00
gcole de58aafedd Upgrade android SDK to 4.2.2 2017-03-29 22:41:49 -07:00
gcole 4d41d6fcab Set custom view layouts params. 2017-03-29 22:18:37 -07:00
gcole 73665878ee Need default constructor in marker view options.
Removed this pre-commit too hastily.
2017-03-28 14:53:56 -07:00
gcole c9b60e17c2 Custom annotation views for Android.
This gives feature parity to Custom Annotation Views
between iOS and Android.

- Add custom marker view and options for mapbox.
- Add an implementation for the Annotation class.
- Add a MarkerViewAdapater that transforms Annotations into views that
  get displayed on the map.
- Handle adding and removing of children.
- Update custom annotation docs.
2017-03-28 14:53:56 -07:00
Eric Samelson c0ebef23fb ensure that MapboxAccountManager class is always created from the main thread; fixes crash from Android SDK 4.2.0-beta.4 and up (#517) 2017-03-13 17:49:55 -07:00
Peter Theill 4453983022 Add support for paths with spaces (#505)
If script is being run from a path having spaces it will fail
2017-02-21 15:45:06 -05:00
Fabian Zeindl 36048db930 updated mapbox-android-sdk to 4.2.1 (#481)
to fix this crash: https://github.com/mapbox/mapbox-gl-native/issues/6838#issuecomment-269646230
2017-02-07 10:09:23 +01:00
Sơn Trần-Nguyễn 3df91c5244 Update headers for RN@0.40.0 (#487) 2017-02-07 10:06:45 +01:00
maddanio 0709ae6bcb fixing podspec for good (#499) 2017-02-07 10:04:43 +01:00
Gregory Cole 8da840caaf Change import to work on case-sensitive MacOS filesystems. (#490)
I had a problem setting up RN mapboxgl to work on my system because of
this. I think a lot of macs are case insensitive, but not all.
2017-01-19 15:41:55 -05:00
Bruno Cartier 9f053a5cb3 docs(install): switch from rnpm to react-native
RNPM is merged into React Native core - see [here](https://github.com/rnpm/rnpm/blob/master/README.md#dear-friends)
2016-12-05 11:00:15 -05:00
Lucas Wojciechowski 7627679c08 Fix bug preventing "Mapbox.getOfflinePacks" from returning on iOS (#467) 2016-11-30 18:02:22 -08:00
Tom MacWright 3466ba8b54 Merge pull request #449 from bowerylabs/onDeselectAnnotation
Adding onCloseAnnotation to iOS
2016-11-28 13:29:54 -05:00
bsudekum 334b17f902 Fix link URL 5.1.0 2016-11-17 09:48:38 -08:00
bsudekum 7bf7736dea Bump to version 5.1.0 2016-11-17 09:46:30 -08:00
Bobby Sudekum 75eac0fbc2 Add 5.1.0 changelog (#457)
* Add 5.1.0 changelog

* 🙅‍♂️🚬
2016-11-17 09:41:53 -08:00
Tom MacWright 16fc9f5a9a Merge pull request #456 from mapbox/ios-no-access-token-required
Do not require access token for iOS
2016-11-17 12:18:41 -05:00
Tom MacWright 13543e7e2e Do not require access token for iOS 2016-11-17 12:15:04 -05:00
Tom MacWright d9c5a9a891 Merge pull request #455 from maddanio/master
fix podspec
2016-11-17 12:09:48 -05:00
maddanio 728a1ce8f3 fixe podspec 2016-11-17 11:03:57 +01:00
Tom MacWright 527ba0c35d Merge pull request #450 from skylarmb/patch-1
Fix typo in CocoaPods instructions
2016-11-07 11:11:58 -05:00
Skylar Brown abeb8b6bab Fix typo in CocoaPods instructions 2016-11-04 10:22:34 -07:00
Will Fisher 55984e1c1d Update index.js 2016-10-27 23:09:35 -04:00
Will Fisher 3b4d1acd67 Update RCTMapboxGLManager.m 2016-10-27 23:05:57 -04:00
Will Fisher 6ed7116eff Update RCTMapboxGL.m 2016-10-27 23:05:27 -04:00
Will Fisher a4a2f2207d Update RCTMapboxGL.h 2016-10-27 23:04:19 -04:00