Commit Graph

712 Commits

Author SHA1 Message Date
Leith Bade
4b587603b3 Create SharedSQLiteCache 2015-09-16 15:09:23 -04:00
Minh Nguyễn
7b93107869 Corrected roundtripping altitude with rotation 2015-09-07 09:22:53 -07:00
Minh Nguyễn
0a172a21fd CameraOptions
Plumbed camera options all the way through to MGLMapView. Added a method that lets you specify a direction in addition to center point and zoom level.

Added Map::jumpTo() for parity with mapbox-gl-js. Replaced usage of Map::setLatLng() and Map::setLatLngZoom() with Map::jumpTo() or Map::easeTo() within MGLMapView. Replaced MGLMapView.pitch with MGLMapCamera for setting all supported degrees of freedom simultaneously. Simultaneously move and rotate with course.

Support customizable timing functions on iOS.

iosapp now persists an archived MGLMapCamera instead of separate viewpoint properties and also synchronizes user defaults on termination. This change implements persistence entirely in Objective-C, eliminating the use of the Objective-C++ implementation.

Fixes #1643, fixes #1834. Ref #1581.
2015-09-07 09:22:52 -07:00
bsudekum
7cbf958c30 Add more tests to check for buffer 2015-09-04 12:24:54 -07:00
bsudekum
3db1421eb1 Return raw image buffer instead of an object 2015-09-04 12:01:34 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Justin R. Miller
cb730d3973 assert() -> NSAssert() for user-facing annotation API 2015-09-04 09:16:26 -07:00
Justin R. Miller
790e8a345c refs #2039: add passthroughs for adding/removing overlays 2015-09-04 09:16:26 -07:00
Mike Morris
c18dda73ed Merge pull request #2241 from mapbox/node-changelog-v2.0.0
Update node changelog
2015-09-03 15:35:13 -04:00
Bruno de Oliveira Abinader
0ff7cf20e9 Get rid of MapData::{get,set}NeedsRepaint 2015-09-02 23:20:47 +03:00
Bruno de Oliveira Abinader
0b501e0566 Substitute nudgeTransitions with async view invalidation 2015-09-02 23:20:46 +03:00
Mike Morris
13bcd109f0 update node changelog 2015-09-02 16:12:27 -04:00
Mike Morris
322e1aa2c3 Merge pull request #2179 from mapbox/node
Node bindings
2015-09-02 15:46:43 -04:00
Jason Wray
9c1c40b3e5 Add iOS resources README, reminder to minimize image sizes
Ref #2227
2015-09-02 13:17:53 -04:00
Mike Morris
dec3f9b4f8 Merge branch 'node' of github.com:mapbox/mapbox-gl-native into node 2015-09-01 17:18:16 -04:00
Mike Morris
853da02101 drop ratio from RenderOptions 2015-09-01 17:18:12 -04:00
Mike Morris
0145f60dba drop platform/node/examples, this is covered in README 2015-09-01 17:16:39 -04:00
Mike Morris
b81d98b7a8 Update README.md 2015-09-01 17:14:15 -04:00
Mike Morris
4694c7b51a fix example, clean up duplicate files 2015-09-01 16:08:46 -04:00
Mike Morris
0e79d56b09 move package.json and binding.gyp to root, drop tiles.tilejson 2015-09-01 15:51:29 -04:00
Jason Wray
4d5a4d27f1 Optimize bundled images' file sizes
Saves 8KB, because we care.
2015-09-01 13:38:52 -04:00
John Firebaugh
c4c3b5bc71 Remove debug logging 2015-08-31 18:41:57 -07:00
John Firebaugh
55d25a80a7 In still mode, don't load resources until a render request is made 2015-08-31 18:09:11 -07:00
John Firebaugh
0918ad5a29 Clean up tests 2015-08-31 17:53:37 -07:00
John Firebaugh
e33abc975b More logging 2015-08-31 17:35:46 -07:00
John Firebaugh
92f8372d0c Always release map 2015-08-31 17:20:18 -07:00
John Firebaugh
abc1c84fb8 Merge branch 'master' into node 2015-08-31 16:45:21 -07:00
John Firebaugh
119a9fbf77 Don't let test-suite fail; we have exceptions for known failures now 2015-08-31 16:44:45 -07:00
John Firebaugh
8977441a84 Drop faucet, it hides key error output when tests fail 2015-08-31 16:44:08 -07:00
John Firebaugh
41edb666ce Fix render test script 2015-08-31 16:26:17 -07:00
Minh Nguyễn
cb905bac28 Fixed persistence of user tracking mode in iOS
This typo prevented the tracking mode from being restored when relaunching iosapp.
2015-08-31 15:30:27 -07:00
Minh Nguyễn
c6e3ed8c66 Updated title of attribution action sheet 2015-08-28 16:15:51 -07:00
Mike Morris
5a8be45497 fix consecutive.test.js suitePath 2015-08-28 16:56:22 -04:00
Mike Morris
80532f1378 update suitePath in consecutive.test.js 2015-08-28 16:30:01 -04:00
Mike Morris
6bfda4fcef local nvm? 2015-08-28 15:49:25 -04:00
Mike Morris
5262750a58 merge node travis build user into cloudformation/travis.template 2015-08-28 12:39:50 -04:00
Mike Morris
b213766236 drop platform/node/.travis.yml 2015-08-28 12:27:47 -04:00
Mike Morris
53f2b125c2 merge platform/node/scripts/* into scripts/node/run.sh 2015-08-27 18:09:08 -04:00
Mike Morris
cb2b57a7c5 drop faucet from test-suite 2015-08-27 15:57:03 -04:00
Mike Morris
c2539d6bd4 more logging, don't respond to cancelled requests 2015-08-27 15:23:46 -04:00
Mike Morris
580719c9f9 add request/respond logging 2015-08-27 15:11:42 -04:00
Jason Wray
42dc5336db iOS perspective gesture support
Drag two fingers upward to tilt the map.

Implements #2116
2015-08-26 11:23:03 -07:00
Minh Nguyễn
2f30dfe97d Disable heading updates for .FollowWithCourse
Fixes #2180.
2015-08-26 10:10:49 -07:00
Mike Morris
233e78d9f3 allow test suite failures 2015-08-26 12:04:09 -04:00
Mike Morris
fde64030b1 glfw_ldflags 2015-08-26 11:37:20 -04:00
Mike Morris
e3ede563fb use mapbox-gl-test-suite submodule, bump node deps 2015-08-26 11:35:08 -04:00
Mike Morris
677954822c npm install --build-from-source 2015-08-26 11:16:31 -04:00
Jason Wray
92d9308eb8 Ask for 'always' location permissions, too 2015-08-25 14:59:17 -07:00
Mike Morris
a622bb4756 add FLAVOR=node to build matrix 2015-08-25 17:07:19 -04:00
Mike Morris
96d5990089 update npm test 2015-08-25 15:03:05 -04:00