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
John Firebaugh
c09fb0f519
[core] Add support for circle-pitch-scale
2016-07-07 14:32:27 -07:00
John Firebaugh
c8e87128b1
[core] Make extrudeScale calculations more similar to JS
2016-07-07 14:18:00 -07:00
Jesse Bounds
bb057409c7
Update podspecs for 3.3.0-rc.1
2016-07-07 13:17:17 -07:00
Jason Wray
3fa4f9379d
[ios] Move cache.db to a subdirectory ( #5601 )
...
We cannot guarantee that the offline/ambient tile cache (cache.db) will be created in a timely manner, so it's safer to set the backup exclusion key on its containing directory.
But, because we placed cache.db in the base of the app's Application Support directory (where backups are expected to be allowed), we need to move cache.db into a directory that we control and can exclude from backups with impunity.
This is an amalgam of https://github.com/mapbox/mapbox-gl-native/pull/5578 (directory exclusion) and https://github.com/mapbox/mapbox-gl-native/pull/5585 (refactored URL methods, but without the new database size method).
Also:
* Prefix mapbox subdirectory with dot, for extra safety
* Update changelog entry with new ticket, less speculation
2016-07-07 12:11:08 -04:00
Konstantin Käfer
2e10c0a866
[core] don't force GL state to be set when calling .reset()
...
We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls.
2016-07-07 16:29:34 +02:00
Konstantin Käfer
ab1face71f
[ios] add OpenGLES framework so that we can use the GL debugger
2016-07-07 16:11:37 +02:00
Konstantin Käfer
69c529e264
[core] move shaders to anon struct and alias them
2016-07-07 15:06:59 +02:00
Konstantin Käfer
e29a15eb52
[macos] add keyboard shortcuts to macosapp
2016-07-07 14:40:28 +02:00
Minh Nguyễn
e603cf46f1
[macos] Use gesture recognizer for context menu
...
NSView’s built-in context menu handling preempts non-right-click gesture recognizers, so preempt it with a right-click gesture recognizer that does essentially the same thing. With this change, two-finger double-tapping on a trackpad also zooms out, consistent with MapKit.
Fixes #5078 .
2016-07-07 14:12:24 +02:00
Tobrun
d929e32217
[android] #5513 - make sure view is measured first before anchoring
2016-07-07 14:01:23 +02:00