Nick
5a94ab2ea6
Added support for styles to be updated dynamically
2017-10-23 16:41:51 -07:00
Nick
9bf099ffd0
Updated autogen script and code to support Light
2017-10-23 16:41:51 -07:00
Nick
8783684195
Added support for Light
2017-10-23 16:41:51 -07:00
Nick
18861c0e41
Added support for RasterLayer and RasterSource
2017-10-23 16:41:51 -07:00
Nick
0a97ab794b
Added support for background layer
2017-10-23 16:41:51 -07:00
Nick
bc1a3d7cbd
Added android style layers and sources
2017-10-23 16:41:51 -07:00
Nick
8141f5b16b
Added autogenerated style code
2017-10-23 16:41:51 -07:00
Nick
788b205aeb
Added base layer and source components
2017-10-23 16:41:51 -07:00
Nick
fbdcefa582
Removed old android and ios projects
2017-10-23 16:41:51 -07:00
Nick
ef274081ca
Removed old unused android file
2017-10-23 16:41:51 -07:00
Nick
61e9d6f954
Removed user location change events
2017-10-23 16:41:50 -07:00
Nick
58330f8298
Added support for zoomTo
2017-10-23 16:41:50 -07:00
Nick
cece2867bc
Updated user tracking enum names
2017-10-23 16:41:50 -07:00
Nick
73908315be
Added missing base style urls
2017-10-23 16:41:50 -07:00
Nick
22ea4f9fad
Added queue for camera updates and ability to set camera stops
2017-10-23 16:41:50 -07:00
Nick
74f7a3644f
Updated android package name and made RCTMGLMapView inherit MapView
2017-10-23 16:41:50 -07:00
Nick
d3c5f9ca46
Removed old projects after rebase
2017-10-23 16:41:50 -07:00
Nick
967cef979d
Map events and methods
2017-10-23 16:41:36 -07:00
Nick
29a70dc421
Added complete callback for flyTo
2017-10-23 16:41:36 -07:00
Nick
01fcc839f7
Added support for map change events and flyTo
2017-10-23 16:41:36 -07:00
Nick
b8d0d53585
Added support for min/max zoom level, scroll/pitch enabled disabled
2017-10-23 16:41:36 -07:00
Nick
659018facc
Added support for onPress and onLongPress
2017-10-23 16:41:36 -07:00
Nick
2d0261ddd1
Android file cleanup
2017-10-23 16:41:36 -07:00
Nick
ab8600cede
Added start of android rewrite
2017-10-23 16:41:36 -07:00
Nick
f39d92953a
Removed old android and ios projects
2017-10-23 16:41:36 -07:00
Henrik Raitasola
19049fa61d
Fix wrong project name
2017-09-25 10:25:11 +03:00
Nick
185f308500
Updated docs to use scoped npm package
2017-09-21 10:17:33 -07:00
Andie Shining Phan
38c850296d
Fix gradle link manual instructions
2017-09-20 15:36:26 -07:00
Jack Feng
1d3c15b4e7
upgrade android compile sdk version to 24
2017-09-01 10:11:20 +08:00
Jack Feng
ac31979da4
change getMetricsEnabled to return a promise
...
After upgrading to Android SDK 5.0, we cannot put metricsEnabled to
constants of the module. So we change getMetricsEnabled to return a
promise instead of value directly.
2017-09-01 10:10:27 +08:00
Jack Feng
91074ef739
Upgrade to Mapbox Android SDK 5.0.2
...
TODO: We cannot get metricsEnabled before initialize the mapbox. So we
should change it from constant to property maybe.
2017-09-01 10:10:26 +08:00
Nick Italiano
f4402cdae2
Merge pull request #571 from atarsha/Add-MGLOfflinePackState
...
Expose OfflineRegion/OfflinePack pack state in progress object and add resume/suspend offline download support
2017-08-29 11:50:41 -07:00
Alex Tarsha
29be55ffb2
Slight refactor for Android portion of PR
2017-08-28 14:29:43 -06:00
Nick Italiano
af52ba35a2
Merge pull request #600 from bahaa96/patch-1
...
Handling Android RN 0.47 breaking change
2017-08-17 09:53:51 -07:00
Alex Tarsha
5d3ce90c16
Merge branch 'master' into Add-MGLOfflinePackState
2017-08-16 19:19:01 -06: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
Bahaa Jr
d4eeefa462
Handling Android RN 0.47 breaking change
...
[facebook/react-native@ce6fb33 ](https://github.com/facebook/react-native/commit/ce6fb337a146e6f261f2afb564aa19363774a7a8 )
2017-08-07 17:31:48 +02:00
Alex Tarsha
c0e65144eb
Merge branch 'master' into Add-MGLOfflinePackState
2017-06-17 23:46:19 -06:00
Alex Tarsha
4f5427f329
Add support for suspending and resuming pack downloads and upgrade native SDK to repair iOS blocked UI during downloads on init.
2017-06-17 23:43:56 -06:00
Alex Tarsha
72a4e6da5f
Added Offline Pack State to progress object and normalized Android RegionStatus output with iOS
2017-06-15 02:21:45 -06: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
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
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
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
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
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