Commit Graph

7709 Commits

Author SHA1 Message Date
John Firebaugh
00a86ba03f [core] Replace auto with actual types 2016-05-12 08:36:30 -07:00
John Firebaugh
e79858558d [core] Avoid instantiating temporary vector 2016-05-12 08:36:30 -07:00
John Firebaugh
e6296479f0 [core] Code formatting 2016-05-12 08:36:30 -07:00
Tobrun
e4a63684ec [android] - fixes style init bug, added unit test to prevent regression 2016-05-12 16:29:47 +02:00
Konstantin Käfer
3bde525711 [core] remove indirection via Task object in DefaultFileSource 2016-05-12 15:13:21 +02:00
John Firebaugh
1a030e7c33 [core] Normalize tile coordinates in VectorTile (#4966)
Previously, vector tile coordinates were being normalized to util::EXTENT in each place they were used, and for annotation and GeoJSON sources that don't require normalization.
2016-05-11 13:54:05 -07:00
Minh Nguyễn
5f1144f05a [osx] Fixed framework mastering 2016-05-11 13:37:34 -07:00
Bruno de Oliveira Abinader
12258215af [Qt] Update style to v9 + bumped min/max zoom levels 2016-05-11 16:25:51 +03:00
Bruno de Oliveira Abinader
ae7a0ddea4 [Qt] Added viewport mode
Qt Quick requires third-party rendering codes to follow its standards
with regards to viewport transform. Qt 5.6 adds a 'mirrorVertically'
property but that only solves the solution for that version of Qt
onwards. Telling Mapbox GL core to flip the Y axis makes QQuickMapboxGL
item available for Qt 5.2 onwards.

Qt 'mirrorVertically' property documentation:
http://doc.qt.io/qt-5/qquickframebufferobject.html#mirrorVertically-prop

Fixes #4866.
2016-05-11 15:50:28 +03:00
Bruno de Oliveira Abinader
c13dd32242 [core] Added Viewport mode
Satisfies embedding platforms that requires the viewport coordinate
systems to be set according to its standards e.g. viewport mirrored
vertically.
2016-05-11 15:48:51 +03:00
Minh Nguyễn
659c2568ec [core, osx] Updated changelogs 2016-05-11 00:09:01 -07:00
Jason Wray
4cf0a49265 [android] Update Outdoors style description 2016-05-11 02:24:08 -04:00
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
Konstantin Käfer
ec70125e41 [core] move TileData and dependents to new *TileID classes 2016-05-10 14:50:56 +02:00
Konstantin Käfer
bdcbceff80 [core] move Tile to use UnwrappedTileID 2016-05-10 14:50:56 +02:00
Konstantin Käfer
dde59eaf76 [core] move Painter and dependents to new *TileID classes 2016-05-10 14:50:56 +02:00
Konstantin Käfer
5b640fb446 [core] add algorithm for generating clip IDs based on the new TileID classes 2016-05-10 14:50:56 +02:00
Konstantin Käfer
ecc8e018fa [core] add algorithm for detecting whether an ordered map contains covering children 2016-05-10 14:50:56 +02:00
Konstantin Käfer
82ebcfa14e [core] introduce three distinct TileID types
* CanonicalTileID has z, x, and y, with x/y being within the bounds z defines. z can be anything from 0-32.
* OverscaledTileID is composed of a z value, and a canonical tile. The z value indicates the zoom level the tile is intended for. It is primarily used for indexing overscaled data tiles.
* UnwrappedTileID is composed of a wrap value, and a canonical tile. The wrap value is used for representing tiles to the left and right of the main (0/0/0 based) tile pyramid. It is primarily used for indicating the position a tile should be rendered at.
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
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
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