Commit Graph

8427 Commits

Author SHA1 Message Date
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
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
Aki Koskinen
63298066b1 [qt] if qmake isn't available, try qmake-qt5 (#5658) 2016-07-12 19:13:34 +03:00
Thiago Marcos P. Santos
86cebd4cca [core] Report conversion errors using std::string
char* increases the risk of pointing to a invalid reference. Qt had
to use a static variable as retainer to workaround.
2016-07-12 16:04:20 +03:00
Bruno de Oliveira Abinader
e197540f9a [core] Fix matrix when panning around the world
Partially reverts commit 1d46e83.
2016-07-12 11:36:26 +03:00
John Firebaugh
fe99295970 [core] Remove unused 2016-07-11 18:39:50 -07:00
John Firebaugh
ae838b397b [core] Move translatedMatrix to RenderTile 2016-07-11 18:39:50 -07:00
John Firebaugh
a27b5586e5 [core] Pass RenderTile rather than individual parameters 2016-07-11 18:39:50 -07:00
John Firebaugh
6e77149c13 [core] Introduce PaintParameters
Use it to DRY selection of regular vs. overdraw shaders and VAOs.
2016-07-11 18:39:50 -07:00
John Firebaugh
822ec091da [core] Introduce non-anonymous Shaders class 2016-07-11 18:39:50 -07:00
Thiago Marcos P. Santos
462137a536 [Qt] Bind 'L' on the example app to runtime style example 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
5ad22bd672 [Qt] Implement a GeoJSON coverter from QByteArray 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
abeee2087c [Qt] Added add/remove style source method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
abff8e42c1 [Qt] Added add style layer method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
18c8830169 [Qt] Added set style filter method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
b59070590b [Qt] Added set style paint properties method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
e9259fc03e [Qt] Added set style layout properties method 2016-07-11 17:01:32 +03:00
Thiago Marcos P. Santos
46df5d58f9 [Qt] Added conversion functions for the runtime style API 2016-07-11 17:01:31 +03:00
Thiago Marcos P. Santos
03b2bb68ba [Qt] Avoid a deep copy on the network reply
QByteArray::data() may do a deep copy.
2016-07-11 17:01:31 +03:00
Thiago Marcos P. Santos
843fff99b5 [Qt] Fix build on Linux with clang-3.8
clang finds this construction ambiguous, go figure.
2016-07-11 17:01:31 +03:00
Bruno de Oliveira Abinader
65868b28cc [Qt] Janitor private headers 2016-07-11 17:01:31 +03:00
Bruno de Oliveira Abinader
0878e09def [core] Added missing pragmas to style conversion headers 2016-07-11 17:01:31 +03:00
Thiago Marcos P. Santos
ff420efb58 [build] geojson@0.1.4-cxx11abi 2016-07-11 17:01:31 +03:00
Tobrun
caba8c11b9 [android] - remove duplicate bearing/direction API from MapView 2016-07-11 15:52:23 +02:00
Bruno de Oliveira Abinader
5d64cde6d9 [core] Fix raster shader opacity in some cases 2016-07-11 15:47:41 +03:00
Minh Nguyễn
8ca8e2c509 [ios, macos] Updated MGLFeature ID documentation
Since #5514, feature IDs may be integers, unsigned integers, floating-point numbers, or strings, not just unsigned integers.
2016-07-10 15:03:42 -07:00
Minh Nguyễn
d0766120ca [ios, macos] Document adding new symbols 2016-07-08 11:40:50 -07:00
Jesse Bounds
626cf54be2 Merge branch 'boundsj-merge-3.3.0.rc.1' 2016-07-08 09:30:22 -07:00
Thiago Marcos P. Santos
01f5b6e58d [node] Also Update::Classes when setting a paint property
Otherwise it has no effect. Tests might be working because a
Update::Classes is also scheduled when adding a new layer.
2016-07-08 16:27:16 +03:00
Thiago Marcos P. Santos
030928c0b8 [build] Fix build on Ubuntu 16.04 x86_64 2016-07-08 16:27:16 +03:00
Konstantin Käfer
4f26c8122a [core] track texture state to avoid redundand binds 2016-07-08 13:11:25 +02:00
Minh Nguyễn
aaa30c8a19 [macos] Revised keyboard shortcuts in macosapp
Followed up #5452 with some changes to keyboard shortcuts that ensure conformance to the HIG and avoid conflicts between menu items.
2016-07-08 11:35:27 +02:00
Minh Nguyễn
b43f9e7cc8 [docs] Link to iOS/macOS contributing guides
There are special instructions for adding new source code files, asset files, or user-facing strings to the iOS and macOS SDKs.
2016-07-07 16:54:22 -07:00
Jesse Bounds
23caa9f7aa Merge branch 'release-ios-v3.3.0' into master 2016-07-07 15:40:07 -07:00