Commit Graph

724 Commits

Author SHA1 Message Date
Jason Wray
7782802f37 [iOS] Remove unneccessary pitch check
Fix case where moving the tilted dot off-screen, changing the pitch to 0, and then moving the dot back on screen would not reset the pitch of the dot.
2015-09-11 11:36:32 -07:00
Jason Wray
2a300bd425 [iOS] Pitch the dot, add faux 3D effect to tilted dot and puck
This exposes the naïveté of the current pitch transform: accuracy ring sizing stays constant, despite vertical screen movement. Still, it looks better pitched than not.
2015-09-11 11:36:32 -07:00
Jason Wray
c34d62aca2 [iOS] Move radians/degrees conversion functions to MGLGeometry.h 2015-09-11 11:36:32 -07:00
Jason Wray
c8e80595d8 [iOS] Initial user location puck 2015-09-11 11:36:32 -07:00
Mike Morris
169f580519 [node] update platform/node/CHANGELOG.md [skip ci] 2015-09-11 14:16:42 -04:00
Mike Morris
f9f43fd150 [node] fix links in CHANGELOG.md [skip ci] 2015-09-10 19:40:16 -04:00
Mike Morris
7cc0ef019a [node] update platform/node/CHANGELOG.md [skip ci] 2015-09-10 19:33:07 -04:00
Mike Morris
5a5a5ef4f0 [node] update CHANGELOG.md [skip ci] 2015-09-10 19:28:47 -04:00
Mike Morris
1296f91c82 [node] change request semantics
Passes a second, callback argument to the request implementation instead
of needing to call req.respond.
2015-09-10 15:58:29 -04:00
John Firebaugh
532bbd5484 Add anonymous lambda for HandleScope 2015-09-09 15:06:54 -07:00
Mike Morris
3d48147f2f add io.js v3.x support 2015-09-09 14:57:26 -07:00
Mike Morris
627623edbc Use nan with https://github.com/nodejs/nan/pull/443 fixed 2015-09-09 14:57:15 -07:00
John Firebaugh
0531b38367 Nan 2.0 2015-09-09 14:55:14 -07: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