Commit Graph

7660 Commits

Author SHA1 Message Date
Minh Nguyễn
5d2929ed0e [osx] Hooked context menu back up to map view
These connections were lost in #3427.

Fixes #3493.
2016-05-09 13:06:13 -07:00
Tobrun
7d0d09e7dc [android] - fix black screen issue 2016-05-09 16:44:49 +02:00
Konstantin Käfer
5645936ab5 [node] upgrade nan to avert warnings with node 6 2016-05-09 14:30:22 +02:00
Minh Nguyễn
df1cae8d3a [osx] Exclude subviews from click gestures
Fixes #3418.
2016-05-09 00:17:22 -07:00
Bruno de Oliveira Abinader
c4b3c0142c [Qt] Added Qt SDK documentation
Fixes #4970.

[skip ci]
2016-05-08 14:12:28 +03:00
Thiago Marcos P. Santos
f1581bea6b [android] Removed broken links from Linux build docs 2016-05-08 12:49:16 +03:00
Thiago Marcos P. Santos
0b7b5156c8 [android] Update how to build Android on Linux
Reflect the latest changes. Tested on Ubuntu 16.04.
2016-05-08 12:37:58 +03:00
Minh Nguyễn
2ed4e6cd4d ios-v3.3.0-alpha.2 2016-05-07 15:53:23 -07:00
John Firebaugh
5837ba1ad3 [node] Fix conversion of geometry collections to GeoJSON
They should have a "geometries" member, not a "coordinates" member.
2016-05-06 11:59:29 -07:00
John Firebaugh
771e79a769 [core] Update geometry to 0.3.0 2016-05-06 11:59:29 -07:00
Minh Nguyễn
5035dc8418 [ios, osx] Revised style descriptions
Revised style descriptions to be more consistent with how the styles are described on www.mapbox.com.
2016-05-06 11:06:52 -07:00
Minh Nguyễn
2ec95bc490 [ios, osx] Renamed version constant, linked to more info
Renamed MGLStyleCurrentVersion to MGLStyleDefaultVersion to emphasize the constant’s role as an indicator of the default version used by SDK classes, which may be behind depending on release schedules. In the documentation for each style URL method, include the actual version number instead of the constant. In unit tests, verify that this documentation is in sync with the constant.

Link each style URL method’s documentation to a forthcoming webpage on mapbox.com that describes the style in rich detail.
2016-05-06 11:06:52 -07:00
Minh Nguyễn
5ccb43477f [ios, osx] Renamed Hybrid to Satellite Streets
The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
2016-05-06 11:06:51 -07:00
Minh Nguyễn
4a112c00f1 [ios, osx] Pin unversioned style URL APIs to v8 styles 2016-05-06 11:06:51 -07:00
Tobrun
da422ff44d [android] #4702 - upgrade default styles, deprecate Style string definition in favour versioned styling methods. 2016-05-06 11:06:50 -07:00
Minh Nguyễn
2a4eeadb29 [core, ios, osx] Version default style URL APIs; deprecated Emerald
Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency.

Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp.

Replaced Emerald with Outdoors in iosapp and osxapp.

Fixes the iOS and OS X side of #4577 and #4702.
2016-05-06 10:57:54 -07:00
Minh Nguyễn
d28b6f3719 [ios, osx] Avoid recomputing tile cache size on every redraw
The tile cache size is only recomputed when an input changes.

Fixes #4026.
2016-05-06 08:47:18 -07:00
Minh Nguyễn
8a7087af68 [osx] Display print dialog after drawing
Fixes #4956.
2016-05-06 08:11:50 -07:00
Tobrun
1ade5e3aa6 [android] #4748 - add javadoc for unregistering location listeners 2016-05-06 15:32:04 +02:00
Tobrun
def05ab5f8 [android] #4763 - introduce StyleInitializer class 2016-05-06 14:40:45 +02:00
Thiago Marcos P. Santos
3863561eb7 [build] qtpositioning5-dev and qtlocation5-dev are now on Travis whitelist
Do not call `sudo` for installing them anymore. This will make it
possible to migrate to a container'ed Trusty bot when available.
2016-05-06 13:42:03 +03:00
Tobrun
ff080a0f4b [android] #4894 - correctly calculate LatLngBounds 2016-05-06 10:18:33 +02:00
John Firebaugh
59a7fbf8e4 [core] Implement has/!has filters (#4952) 2016-05-05 14:30:37 -07:00
John Firebaugh
a66901ed07 [tests] Update test suite 2016-05-05 13:57:01 -07:00
John Firebaugh
9330d674a9 [core] Use geometry.hpp's point 2016-05-05 11:30:53 -07:00
John Firebaugh
f89cfacab2 [core] Inline LatLng::project definition the one place it's used 2016-05-05 11:16:57 -07:00
John Firebaugh
ce2a06e677 [core] Privatize math.hpp and vec.hpp 2016-05-05 11:16:57 -07:00
Thiago Marcos P. Santos
a818917714 [Qt] Make it possible to disable libwebp and libjpeg-turbo at build time
Pull less dependencies.
2016-05-05 18:47:14 +03:00
John Firebaugh
10e522d10b [core] Privatize various util headers (#4945) 2016-05-04 14:09:51 -07:00
Thiago Marcos P. Santos
bdf4f81553 [Qt] Include what you use
Build fix for some Qt versions.
2016-05-04 22:01:09 +03:00
Dane Springmeyer
0c6bce2819 [core] consistently protect against invalid tag encoding in vector tile 2016-05-04 10:12:15 -07:00
Bruno de Oliveira Abinader
433ca3026b [build] Fix parallel 'make linux' call 2016-05-04 18:12:56 +03:00
Cameron Mace
265df1faa4 [android] #4896 - added permission request and id fixes 2016-05-04 12:35:05 +02:00
Cameron Mace
90cd425c5a [android] added user dot customization example
Fixes #4896
2016-05-04 12:35:05 +02:00
Minh Nguyễn
89afbc648e ios-v3.3.0-alpha.1 2016-05-04 02:50:15 -07:00
Minh Nguyễn
9a280b8d9d [ios] Corrected map accessibility value
Corrected the English override strings for the map view’s accessibility value. Prior to this change, the accessibility value would say “0 annotation” instead of “0 annotations” for some reason.

The zoom level in the map view’s accessibility value is off by two.
2016-05-04 02:23:20 -07:00
Brent W
7e6995d153 [core] Merge pull request #4914 from bwhtmn/camera-padding
Fix a bug in applying padding to the camera.

Fixes #4862.
2016-05-04 01:28:27 -07:00
Minh Nguyễn
5f0a01705f [ios] Fixed KIF tests
Link to the libKIF.a in the shared build products directory instead of at a nonexistent, hard-coded path. Fixed a compilation error in the KIF tests caused by importing a project-internal header even after the KIF project was moved out of the test project. Updated accessibility labels.
2016-05-04 00:54:02 -07:00
John Firebaugh
a64fe5062f [core] Simplify FilterEvaluator and fix crash
Previous implementation was assigning a temporary to FilterEvaluator<T>::extractor.
2016-05-04 09:56:34 +03:00
Brad Leege
23c4502236 [android] #4847 - Updating paths to testable .apks 2016-05-03 19:57:08 -05:00
John Firebaugh
c8391729c7 [core] Use geometry.hpp feature type 2016-05-03 17:25:49 -07:00
John Firebaugh
01b3eac52f [build] '<@(foo_static_libs)' must precede '<@(foo_ldflags)'
'<@(foo_ldflags)' typically includes -lbar arguments that the static libs depend on, and order matters for ld.

The build was previously working merely by lucky ordering.
2016-05-03 16:59:04 -07:00
John Firebaugh
e8e709d96d [node] Add -Wl,-z,now flag for linux 2016-05-03 15:57:18 -07:00
Brad Leege
7e2ec7fc24 [android] #4847 - Re-enabling StrictMode 2016-05-03 16:31:16 -05:00
Tobrun
2380b4de13 [android] bring back ScreenshotActivityTest 2016-05-03 16:31:16 -05:00
Dane Springmeyer
c82b02c508 [core] port to protozero (#4906) 2016-05-03 13:57:17 -07:00
Antonio Zugaldia
7d1a4c5ec1 [android] Create a new local reference frame to avoid a local reference table overflow
Fixes #4706
2016-05-03 13:10:37 -04:00
Bruno de Oliveira Abinader
78584b7fed [Qt] Removed unused resource 2016-05-03 17:11:47 +03:00
Tobrun
65adb9eadf [android] #4912 - remove lollipop attribute from background drawable, made default bg color white, revert default color to TRANSPARENT when reading attributes. 2016-05-03 14:22:52 +02:00
Thiago Marcos P. Santos
ee75d18473 [Qt] Add new features to the Qt QML app
Cool features like Flipable, satellite maps and
sliders interacting with the map properties.
2016-05-03 14:35:00 +03:00