213 Commits
Author SHA1 Message Date
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
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
aksonov 81329465c6 upgrade to RN0.44 2017-05-15 09:08:16 +02: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
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 2016-11-17 09:48:38 -08:00
bsudekum 7bf7736dea Bump to version 5.1.0 2016-11-17 09:46:30 -08:00
Tom MacWright 13543e7e2e Do not require access token for iOS 2016-11-17 12:15:04 -05:00
maddanio 728a1ce8f3 fixe podspec 2016-11-17 11:03:57 +01:00
Skylar Brown abeb8b6bab Fix typo in CocoaPods instructions 2016-11-04 10:22:34 -07: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
Brian Cooley-Gilliom 10ab9b4abb Exposing min/max zoom level properties to react native 2016-10-17 10:40:56 +01:00
Minh Nguyễn a77830dea5 Merge pull request #426 from aksonov/master
add reuseIdentifier usage for custom iOS annotations to fix scroll away disappearing
2016-09-30 09:24:12 -07:00
Pavlo Aksonov e03af63c60 restore annotation position after resizing 2016-09-28 09:14:42 +02:00
Yan Sarazin 9faa0f5efc RCTMapboxGL.xcodeproj should be added to the Libraries folder 2016-09-27 11:58:13 -04:00
Minh Nguyễn 880fd94011 Merge remote-tracking branch 'alseageo/queryRenderedFeatures' 2016-09-27 03:28:08 -07:00
Pavlo Aksonov 940ab45a7c remove redudant property 2016-09-27 12:24:54 +02:00
Pavlo Aksonov 7cc7fe0766 add reuseIdentifier usage 2016-09-27 12:16:55 +02:00
Tanner Semerad d4cf5d5dc9 refactored getting polygon and polyline coordinate arrays into 2 new categories 2016-09-26 15:52:03 -07:00
Pavlo Aksonov a89a62b791 fix small issues 2016-09-26 11:38:44 +02:00
Tanner Semerad cd1a26f10a now accept rect for query 2016-09-25 01:26:47 -07:00
Tanner Semerad 00ab190fda returning a Promise rather than using a callback 2016-09-23 19:24:55 -07:00
Tanner Semerad d1f7a1edc7 added 'id' attribute to GeoJSON 2016-09-23 19:16:57 -07:00
Tanner Semerad 28d192a12c now supporting all GeoJSON geometry types 2016-09-23 17:36:29 -07:00
Tanner Semerad 668000e5a8 added MGLMultiPointFeature check 2016-09-23 15:45:01 -07:00
Tanner Semerad 0ea8fecc5f fixed polygon to add interior rings 2016-09-23 12:59:10 -07:00
Tanner Semerad 0c05d43b7e properly grab 'layers' as NSArray, then convert to NSSet if not nil 2016-09-23 11:59:13 -07:00
Pavlo Aksonov eb18cd0ed1 layoutIfNeeded doesn't display annotation sometimes 2016-09-23 11:22:45 +02:00
Tanner Semerad 15d2dd48a8 queryRenderedFeatures working with screen point, returning GeoJSON points, polylines, and polygons 2016-09-22 16:41:52 -07:00
Pavlo Aksonov 0901d19ed2 review fixes 2016-09-22 20:11:50 +02:00
Pavlo Aksonov 17835e01a5 support for custom annotation views 2016-09-22 18:03:05 +02:00
Tanner Semerad d92b823024 WIP. Attempt at querying features, getting 'unrecognized selector sent to instance' 2016-09-21 11:46:11 -07:00
Marius Petcu 3ce20a6255 [ios] Remove _selectedAnnotation and _annotationsPopUpEnabled 2016-09-21 09:50:13 +03:00
Marius Petcu e24a5ce9af Merge branch 'master' into deselectHidePopUp 2016-09-21 01:02:49 +03:00
Hanane d907a79e16 IOS: code refactoring 2016-09-21 00:53:07 +03:00
Minh Nguyễn 949f965ec7 Typos 2016-09-20 13:39:17 -07:00
Ben Clayton 3ee56f5075 Expose pitchEnabled property (#407)
* Expose the 'pitchEnabled' property, so developer can turn off 'two-fingers to tile map' feature. iOS-only so far.

* Add `pitchEnabled` property to Android implementation

* add `pitchEnabled` to docs
2016-08-29 14:09:14 -07:00
Hanane d68b32541f implementation of deselectAnnotation and annotationsPopUpEnabled 2016-07-25 16:43:36 +03:00
Marius Petcu d25e72028f Improve reliability of listing packs on startup on iOS 2016-07-22 13:10:42 +03:00
Marius Petcu d288f274da Replace floatValue with doubleValue in annotation creation code 2016-07-11 23:31:19 +03:00
Marius Petcu 2a27cdc7ee Remove setCamera in favor of adding altitude to easeTo 2016-07-11 23:09:02 +03:00
Marius Petcu d7f107d0fb Replace image! with source: { uri } 2016-07-11 21:47:42 +03:00
Marius Petcu 8fc0354df8 Differentiate location reporting APIs where it can't be helped 2016-07-11 20:19:05 +03:00
Marius Petcu ccdbefbc5c Report correct pitch on iOS 2016-07-11 19:58:26 +03:00