Commit Graph

6195 Commits

Author SHA1 Message Date
John Firebaugh
989690c4af [ios] Remove vestigial environment variables from .travis.yml 2015-12-16 15:53:23 -08:00
Minh Nguyễn
304b4ec664 [ios] Silence undocumented typedef warnings from appledoc
ref #3203
2015-12-16 15:48:55 -08:00
Minh Nguyễn
ff928a3013 [ios] Fixed off-by-one error due to merge
This needs to be converted into a giant switch statement, but that wouldn’t prevent issues like this cropping up in a merge anyways.
2015-12-16 15:48:55 -08:00
Minh Nguyễn
350cafb903 Revert "Revert "[ios] Custom style layer""
This reverts commit 081e4e4451.
2015-12-16 15:48:55 -08:00
John Firebaugh
13d5b18eba [android] Move into platform subdirectory 2015-12-16 14:52:29 -08:00
John Firebaugh
0db9f229f2 [android] Move includes to platform subdirectory 2015-12-16 14:52:29 -08:00
Antonio Zugaldia
c23e8cc748 [android] Fix 2-finger rotation is off axis
Fixes #3325
2015-12-16 17:21:49 -05:00
John Firebaugh
081e4e4451 Revert "[ios] Custom style layer"
ec9a4cd328
2015-12-16 14:05:54 -08:00
Mike Morris
4dac6cde30 node-v2.2.0 2015-12-16 15:13:20 -05:00
Minh Nguyễn
ec9a4cd328 [ios] Custom style layer
Exposed Map::addCustomLayer() publicly as an undocumented, block-based API. This change avoids the terms “layer”, “initialize”, “render”, and “altitude” because they overload existing terminology in the SDK, UIKit, or MapKit. (“Layer” is qualified as “style layer”.) There are outstanding questions about ARC memory management, but this approach works in both Objective-C and Swift for pure OpenGL programming.

Added a demo to iosapp that draws a green layer below any labels in Mapbox Streets.
2015-12-16 11:03:54 -08:00
John Firebaugh
8a17d30c50 [android] Custom layer bindings 2015-12-16 11:03:32 -08:00
Minh Nguyễn
e304033552 [core] Fixed annotation icon replacement
Another pass at #3146, including a unit test.
2015-12-15 21:04:15 -08:00
Thiago Marcos P. Santos
0f37b670ba [core] Do not use std:: namespace for log2()
As some versions of libstdc++ don't have it.
2015-12-15 18:23:45 -08:00
John Firebaugh
dc4fa1c52e [android] Add scheduled build script 2015-12-15 16:52:37 -08:00
Minh Nguyễn
82a5575513 [ios] Updated changelog 2015-12-15 16:36:17 -08:00
Romain Quidet
b8be1f0632 code review updates: sprite_atlas brackets and nullable removed for reuseIdentifier of annotationImage 2015-12-15 16:36:17 -08:00
Romain Quidet
af45d87e54 2210: Sprites can be removed / updated correctly 2015-12-15 16:36:17 -08:00
Romain Quidet
02a32b55e4 2210: MGLAnnotationImage image can be update 2015-12-15 16:36:17 -08:00
John Firebaugh
9d0ab5549c [ios, android] Remove unnecessary portions of bitrise.yml 2015-12-15 14:29:33 -08:00
John Firebaugh
cf4f262df5 [ios, android] Remove version specifier to avoid Bitrise upgrade nag 2015-12-15 14:19:51 -08:00
John Firebaugh
9fc6d61faf [android] Add bitrise.yml 2015-12-15 13:59:20 -08:00
John Firebaugh
a3536a1866 [ios] Move bitrise.yml into platform/ios 2015-12-15 13:59:20 -08:00
Minh Nguyễn
4e0e816653 [ios, osx] Added flyToCamera: variation that uses default duration 2015-12-15 12:52:13 -08:00
Minh Nguyễn
5dd00d1072 [ios] World tour on iOS 2015-12-15 12:52:13 -08:00
Minh Nguyễn
42e32b8d16 [osx] World tour
A new Debug menu command takes you on a tour of the world by air.
2015-12-15 12:52:13 -08:00
Minh Nguyễn
9aba820892 [ios, osx] Added flyTo to OS X; refactored camera setters 2015-12-15 12:52:13 -08:00
Minh Nguyễn
e1854f0f26 [core] Corrected flying trajectory; pitched flight
Corrected some fairly opaque code that was incorrectly ported from GL JS the first time around in #3171, causing the trajectory to extend far into the Earth’s orbit. Also transition pitch while flying, call transition frame/finish callback functions, and recognize the same “speed” and “curve” parameters that GL JS does.

Fixes #3296, fixes #3297.
2015-12-15 12:52:13 -08:00
Tobrun
b75c6edbf7 [android] #3311 fix unit test configuration 2015-12-15 21:36:57 +01:00
Minh Nguyễn
c3fe62fd3a [ios, osx] Corrected missing annotation tag assertion message
ref #3284
2015-12-15 11:51:12 -08:00
Minh Nguyễn
92bfbcb90d [osx] Restore debug mask
Fixes #3287.
2015-12-15 11:44:49 -08:00
Konstantin Käfer
2700ea87a4 [core] fix font rendering at the top edge of the viewport 2015-12-15 11:41:58 -08:00
Konstantin Käfer
4fc8226838 [core] allow changing the orientation
You can now change the orientation of north to be to the right, bottom, left in addition to the default of top
2015-12-15 11:41:58 -08:00
Minh Nguyễn
62412af6ab [osx] Only build osxapp on Travis
Building osxapp means building the SDK, so building the SDK independently is wasteful.

Fixes #3313.
2015-12-15 10:47:33 -08:00
Mike Morris
f4d394d935 [node] code review cleanup 2015-12-15 10:19:56 -08:00
Bruno de Oliveira Abinader
4ae4325c81 [osx] 'make run-linux' should work on OSX 2015-12-15 09:45:53 -08:00
Tom MacWright
531f337ee2 [android] Add more documentation to Android bindings. Refs #2650 2015-12-15 11:10:49 -06:00
Tom MacWright
999447587c Expand DEVELOP_ANDROID_OSX with more gotchas.
Fixes #3266
2015-12-15 11:10:18 -05:00
Brad Leege
e81f3f3735 [android] #3192 - Updating Changelog 2015-12-14 20:46:12 -06:00
Tom MacWright
8a208133db [android] Add some JavaDocs, fix HTML formatting 2015-12-14 20:39:04 -06:00
John Firebaugh
4a803f1a78 [core] Don't use glClear optimization for layers that aren't the bottommost
Fixes #3292
2015-12-14 17:01:16 -08:00
Konstantin Käfer
95cef66e22 [core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT 2015-12-14 16:43:35 -08:00
John Firebaugh
9b8f5d3be1 [core] Fix another place GL state was required but not set 2015-12-14 15:50:42 -08:00
Minh Nguyễn
d2d722a575 [osx] Corrected build documentation
build/pkg/osx/ probably won’t be used until #3183 lands.
2015-12-13 21:54:54 -08:00
Minh Nguyễn
a01dd8ade1 [osx] Corrected documentation
Corrected the path to the build output. Also added a missing inline comment.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
835bb6ab08 [osx] Sort candidate annotations by proximity to tap
Like 78a39c17fb6677442231945ddf8b73797080e2e1 for #3261 on iOS.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
727dd61553 [osx] Printing
Copied some pixel-reading code from HeadlessView.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
e7d7add420 [ios] Strip OS X–specific APIs from iOS documentation
appledoc can’t understand conditional compilation. This is the best we can do until we move to Jazzy.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
0722d26846 [osx] Remove All Pins command
Also fixed an issue where removing a selected annotation failed to deselect it.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
b869d3c820 [osx] Persist viewpoint across relaunch 2015-12-13 17:26:53 -08:00
Minh Nguyễn
0fb2b855a4 [osx] Map camera
Shared MGLMapCamera between iOS and OS X. Unfortunately -camera and -setCamera: implementations need to be copy-pasted for now.
2015-12-13 17:26:53 -08:00