Commit Graph

2067 Commits

Author SHA1 Message Date
Minh Nguyễn
d14ca37570 [osx] Fixed nested framework
An error in the packaging script caused Mapbox.framework to be placed inside a folder named Mapbox.framework. This change moves the framework up one level.
2016-05-10 17:37:03 -07:00
Minh Nguyễn
03a20cd662 Update INSTALL.md 2016-05-10 17:22:10 -07:00
Brent W
348cfaab12 [ios] fix potential for very slow animations of user location dot (#4997)
fix logic error that could cause user location to animate extremely slowly if there is a significant time passing between location updates
2016-05-10 16:55:00 -07:00
Brad Leege
9c033cf9a3 [android] #4994 - Add events=true to mapbox http requests 2016-05-10 16:25:31 -05:00
Minh Nguyễn
5db85a4d7d [osx] Updated changelog for v0.1.0 2016-05-10 13:58:33 -07:00
Minh Nguyễn
02f89b23b8 Merge branch 'release-ios-v3.2.2' into 1ec5-release-ios-v3.2.2-master 2016-05-10 13:11:47 -07:00
Thiago Marcos P. Santos
e84b9a83fa [Qt] Always use setCoordinateZoom()
Because at low zoom levels setting a new coordinate won't
correspond to the actual coordinate on the map.
2016-05-10 21:04:06 +03:00
Minh Nguyễn
abe16952c6 ios-v3.2.2 2016-05-10 10:52:50 -07:00
Minh Nguyễn
eb1e6c0f0c [osx] Automate framework packaging
Added a package script and make rule that parallels the iOS SDK package script and make rule, but with far fewer intricacies.
2016-05-10 10:18:23 -07:00
Minh Nguyễn
1634058b51 [ios, osx] Reformatted documentation comments
Reformatted documentation comments in public headers in the OS X SDK and public headers shared between the iOS and OS X SDKs to wrap at column 80 and avoid excessive indentation that causes SourceKitten to detect code blocks.
2016-05-10 09:59:04 -07:00
Minh Nguyễn
a025d8327a [osx] Added changelog
Also updated developer installation guide to refer to the new make rule for generating documentation.
2016-05-10 09:59:04 -07:00
Minh Nguyễn
5616cd2bb1 [osx] Added OS X SDK documentation target
Added a target, script, and make rule for generating OS X SDK documentation with jazzy, along with a docset cover page.

Switched the umbrella header from framework header syntax to user header syntax so SourceKit can find all the headers.

Fixes #4871.
2016-05-10 09:59:04 -07:00
Konstantin Käfer
7332ae0073 [core] retain tiles differently and remove old TileID class 2016-05-10 14:50:56 +02:00
Thiago Marcos P. Santos
6a9a8e2008 [build] Fix broken build on OSX 2016-05-10 14:41:04 +03:00
Tobrun
371d50b3fd [android] #4700 - deprecate OnLocationChangeListener 2016-05-10 11:31:06 +02:00
Thiago Marcos P. Santos
4213dc53dc [Qt] Use C++11 ABI packages
These were causing linking errors on more recent Linux distros.

Fixes #3123.
2016-05-10 11:36:56 +03:00
Tobrun
8ff9bcb22a [android] #4930 - added invalidate to change tint colors 2016-05-10 10:14:27 +02:00
Minh Nguyễn
b3d4a5cbf8 [ios, osx] Find nearby annotation when not persisting query
Fixed an issue that made the osxapp context menu only apply to the right-clicked pin after first selecting the pin. This also happened to be a latent bug in the iOS implementation.
2016-05-09 13:13:31 -07:00
Minh Nguyễn
e4d32b5cbe [osx] Removed two-finger tap zoom-out gesture
As in MapKit, a two-finger tap should be interpreted as a secondary click to open the context menu, if applicable. It should not zoom out; rather, a double-tap on a mouse should zoom out (“smart magnification”).
2016-05-09 13:11:03 -07:00
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
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
Minh Nguyễn
98113787b8 ios-v3.2.2-rc.1 2016-05-06 17:23:53 -07:00
Minh Nguyễn
6f981e9ba8 [ios, osx] Revised style descriptions
Revised style descriptions to be more consistent with how the styles are described on www.mapbox.com.

Cherry-picked from 5035dc8418.
2016-05-06 17:17:29 -07:00
Minh Nguyễn
8ecb20610b [osx] Test against literal style URL strings
The default_style constants are no longer linked into the SDK, so the tests need to specify the strings literally. Any change to the URLs without corresponding symbol changes would be bugs in core, not the SDK, anyways.
2016-05-06 17:17:29 -07:00
Minh Nguyễn
ca76b5b803 [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.

Cherry-picked from 2ec95bc490.
2016-05-06 17:17:17 -07:00
Minh Nguyễn
bac6fb4f84 [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.

Cherry-picked from 5ccb43477f.
2016-05-06 17:17:06 -07:00
Minh Nguyễn
f7f6f775f4 [ios, osx] Pin unversioned style URL APIs to v8 styles
Cherry-picked from 4a112c00f1.
2016-05-06 17:16:55 -07:00
Minh Nguyễn
1d37eb3903 [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.

Cherry-picked from 2a4eeadb29.
2016-05-06 17:16:29 -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
Tobrun
ff080a0f4b [android] #4894 - correctly calculate LatLngBounds 2016-05-06 10:18:33 +02:00
John Firebaugh
9330d674a9 [core] Use geometry.hpp's point 2016-05-05 11:30:53 -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