Commit Graph

8460 Commits

Author SHA1 Message Date
Minh Nguyễn
74fe96d261 [core] Restored shape annotation z-order
Shapes are once again always added to the top z-index.

Fixes #5691.
2016-07-18 14:43:44 -07:00
John Firebaugh
da35ef9f49 [core] Add support for $id key to filters
https://github.com/mapbox/mapbox-gl-style-spec/issues/391
2016-07-18 12:37:36 -07:00
Brad Leege
b03471bc8d [android] #5536 - Adding GzipRequestInterceptor to Telemetry OkHttp Client 2016-07-18 10:42:47 -05:00
Brad Leege
371a8ef6b2 [android] #5536 - Building GzipRequestInterceptor 2016-07-18 10:42:47 -05:00
Vladimir Agafonkin
a9e4e98e8e Revert "add supercluster dependency"
This reverts commit f84e9fdb2b.
2016-07-18 16:58:32 +03:00
Vladimir Agafonkin
f84e9fdb2b add supercluster dependency
[skip ci]
2016-07-18 16:21:28 +03:00
Thiago Marcos P. Santos
3fd874de8d [Qt] Use the thread implementation appropriated to the target
Qt has a thread abstraction, but we would need to use QThread to use it.
2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
e23d8adf8c [core] Clean-up threading #ifdefs 2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
d52faadf73 [android] Set thread name properly 2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
538814d7bd [core] Make the AssetFileSource thread low priority 2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
4d9e824639 [core] Trim thread name on Linux to 16 bytes
That is a hard limit, if you set a string bigger than that, it
doesn't get set.
2016-07-16 10:38:42 +03:00
Thiago Marcos P. Santos
4a1a7937ae [core] Move set/get thread names to platform::
Android needs its own implementation.
2016-07-16 10:38:42 +03:00
Antonio Zugaldia
5c037f4745 [android] Introduce a getDatabasePath() method that enables switching storage paths
Fixes #5589
2016-07-15 09:58:53 -04:00
Minh Nguyễn
244700e560 Merge branch 'release-ios-v3.3.0' 2016-07-14 16:31:08 -07:00
Brad Leege
95e5d12235 [android] #5682 - Cloning events list to prevent synchronization issues 2016-07-14 16:20:36 -07:00
Brad Leege
f2585b342c [android] #5682 - Adding NaN and Infinite checks to trackGestureDragEndEvent() and trackGestureEvent() 2016-07-14 16:20:36 -07:00
Minh Nguyễn
ae06be2194 Merge branch 'release-ios-v3.3.0-final' into release-ios-v3.3.0 2016-07-14 16:12:22 -07:00
Antonio Zugaldia
11095881f7 [android] Adds an API to enable/disable delivering messages when the region goes inactive. 2016-07-14 16:44:58 -04:00
Mike Morris
277b1f4c25 node-v3.3.0 2016-07-14 16:33:15 -04:00
Minh Nguyễn
be2ba85129 ios-v3.3.0 2016-07-14 12:13:36 -07:00
Mike Morris
7df0e459b6 [node] NodeRequest inherits from Nan::AsyncWorker
drop NodeRequest::Create, move MakeCallback to NodeRequest::Execute

rework Respond -> HandleCallback

modern NAN style updates
2016-07-14 13:47:02 -04:00
Mike Morris
480be63396 [node] move memory growth test into separate npm script
webp support in memory test
2016-07-14 13:47:02 -04:00
Mike Morris
ce8f053adb [node] enter new v8::Context to avoid leaking v8::FunctionTemplate in NodeMap::request 2016-07-14 13:47:02 -04:00
Thiago Marcos P. Santos
70337487d4 [node] Added memory test 2016-07-14 13:47:02 -04:00
Bruno de Oliveira Abinader
44406e91de [ios,macos] Partially revert 06af75
Use static_cast<float> to convert from CGfloat when creating
PropertyValue<float> and avoid breaking backwards-compatibility.
2016-07-14 16:27:25 +03:00
Bruno de Oliveira Abinader
9ef30c2352 [core] Update color layer properties code generator 2016-07-14 16:24:11 +03:00
Cameron
765e8d2be1 [android] latlngbounds includes added in builder
Fixes #5574

added includes test
2016-07-14 12:13:44 +02:00
Fredrik Karlsson
c531686ecc [ios] fixes #4536 include podspec for static framework (#5653)
* [ios] fixes #4536 include podspec for static framework

* [ios] removed excessive frameworks, libraries and flags from the static podspec

* [ios] cleaned up the podspec
2016-07-14 11:30:20 +02:00
Tobrun
fd5ee40506 [android] #5631 - add a concrete java exception when creating a marker without the required position field.
[android] #5631 - updated test cases to handle invalid position on a Marker
2016-07-14 09:36:51 +02:00
Brad Leege
5fb0e878b4 [android] #5680 - Adding 1000 event cap to send telemetry data 2016-07-13 18:32:14 -07:00
jingsam
5300488883 Update README.md 2016-07-13 15:37:33 -04:00
Thiago Marcos P. Santos
389c7615eb [core] Revert workaround for std::atomic on ARMv5
Got fix on r12.

https://github.com/android-ndk/ndk/issues/31
2016-07-13 17:56:51 +03:00
Tobrun Van Nuland
b9c273d197 [android] #5649 - add a ViewPager example
[android] #5649 - add back pressed event for action bar home icon
2016-07-13 16:43:01 +02:00
Tobrun Van Nuland
9387523376 [android] #5649 - fixes fragment null pointer when creating a SupportMapFragment without a OnMapReadyCallback 2016-07-13 16:43:01 +02:00
Justas Medeisis
566c6cf618 [android] #5649 - Request MapView parents not to intercept scroll gestures. 2016-07-13 16:43:00 +02:00
Bruno de Oliveira Abinader
1cb59e20c4 [node] Added 'removeLayer' binding 2016-07-13 16:19:28 +03:00
Tobrun
3dacbdd42e [android] #5438 - add bearing to MyLocationView for the SDK camera object
[android] #5438 - integrate MyLocationView set bearing inside the MapView setBearing

[android] #5438 - invalidate the MapView instead of calling update from core.

[android] #5438 - add bearing MyLocationView to setBearing focal point on MapView

[android] #5438 - Get correct bearing when camera object is rotated around the z-axis, notify MyLocationView when camera position changes, update test utilities.

[android] #5438 - fixes compass tracking
2016-07-13 14:52:15 +02:00
Tobrun Van Nuland
081c61dcc2 [android] #5652 - fix PressForMarkerActivity setup to follow best practices of loading a style and initial location of a MapView as early as possible. 2016-07-13 14:48:55 +02:00
Tobrun
cbfc9bc33c [android] #5541 - removes requirement of MapboxAccountManager.start before setContentView.
[android] #5541 - add a MapboxAcountManagerNotStartedException when calling getInstance when not started.

[android] #5541 - fixes using access tokens in attributes & MapboxMapOptions

[android] #5541 - improved MapboxAccountManager exception message
2016-07-13 14:47:42 +02:00
Thiago Marcos P. Santos
cc3a81291a [android] Build release with -Os and -fvisibility=hidden
Optimize for size.
2016-07-13 13:50:50 +03:00
Bruno de Oliveira Abinader
174d367699 [core] Prefer color aliases for default property values 2016-07-13 11:57:09 +03:00
Bruno de Oliveira Abinader
06af750d23 [ios,macos] Update {Line,Fill}Annotation properties setter 2016-07-13 11:57:09 +03:00
Bruno de Oliveira Abinader
761c9d44b2 [android] Update {Line,Fill}Annotation properties setter 2016-07-13 11:57:09 +03:00
Bruno de Oliveira Abinader
c670b08ecb [core] Use PropertyValue<T> for Annotation line/fill 2016-07-13 11:57:09 +03:00
Brad Leege
a73c81cc55 [android] #5613 - Limiting location event latitudes and longitudes to 7 digits after the decimal place 2016-07-12 16:59:33 -07:00
Minh Nguyễn
0d065af410 ios-v3.3.0-rc.2 2016-07-12 11:30:17 -07:00
Jason Wray
2f3d77538b [ios, macos] Reorganize jazzy’s navigation categories; cleanup docs (#5660)
An attempt to better surface relevant information. Includes slight cleanups of inline documentation.

- Demotes MGLMapDebugMaskOptions to "Other Enums”.
- Demotes MGLMapViewDecelerationRate* and MGLStyleDefaultVersion to "Other Constants”.
- Demotes MGLOfflinePack's less significant global types.
- Demotes MGLAnnotationVerticalAlignment and documents its usage caveat.
- Demotes MGLAnnotationViewDragState and removes extra asterisk.
- Adds note to `MGLUserTrackingMode` about usage with `MGLMapView.userTrackingMode`.
- MGLAccountManager is currently only used for access tokens.
- Adds missing closing bracket.
2016-07-12 14:19:44 -04:00
Minh Nguyễn
08d0a9a0e2 Quadkey tokens in tile URL templates, limited WMS support (#5628)
* [core] Quadkey tokens in tile URL templates

Fixes #5485.

* [core] WMS tokens in tile URL templates

Fixes #822.

* [macos] Added WMS debug style

Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
2016-07-12 10:57:18 -07:00
Minh Nguyễn
ab6a17eec7 [ios] Ensure mapView is set when positioning (#5647)
Ensure the mapView property is set when positioning the annotation view, in case the map view needs to be consulted about its rotation or pitch.
2016-07-12 10:26:27 -07:00
Aki Koskinen
63298066b1 [qt] if qmake isn't available, try qmake-qt5 (#5658) 2016-07-12 19:13:34 +03:00