Commit Graph

5262 Commits

Author SHA1 Message Date
Brad Leege
b9cf720d32 #2018 - Cleaning 2015-09-15 15:56:45 -04:00
Brad Leege
f460cf9fb4 #2018 - Changing Second Activity style to Emerald 2015-09-15 15:55:37 -04:00
Brad Leege
83a3148921 #2018 - Making Launch 2nd Activity draw menu item not checkable 2015-09-15 15:54:58 -04:00
Brad Leege
ac64c34a49 #2018 - Toolbar on Second Activity with back button support 2015-09-15 15:53:32 -04:00
Brad Leege
2ae0fbeec4 #2018 - Adding basic second activity that displays a map 2015-09-15 14:07:24 -04:00
Bruno de Oliveira Abinader
a3ea4acb7c [core] convert remaining types to use OpenGL header defined variants 2015-09-15 13:22:07 +02:00
Bruno de Oliveira Abinader
c33a6bddc6 [core] GL types for buckets, textures, buffers 2015-09-15 13:22:04 +02:00
Bruno de Oliveira Abinader
05d01194b7 [core] GLObjectStore now uses GLuint 2015-09-15 13:22:02 +02:00
Bruno de Oliveira Abinader
b2fcde5e8b [shader] GL types for all Shader attributes 2015-09-15 12:50:20 +02:00
Bruno de Oliveira Abinader
1f1b3fbbc2 [shader] Shaders vertex and fragments are now GLchar* 2015-09-15 12:50:20 +02:00
Justin R. Miller
7943b1b71c Merge branch 'release-ios-v2.1.0' 2015-09-14 19:16:39 -07:00
Justin R. Miller
6bfb18f075 update changelog for ios-v2.1.0 2015-09-14 18:40:42 -07:00
Justin R. Miller
ab1daf85ba [publish ios-v2.1.0] 2015-09-14 18:21:29 -07:00
Justin R. Miller
0fa2461371 update podspec for 2.1.0 final and no symbols 2015-09-14 18:20:47 -07:00
Konstantin Käfer
5ef7011089 don't delete the shaders before the program
some GPU drivers have issues with deleting shader objects that are attached to programs. while this is allowed by the spec, it seems that some drivers are crashing nonetheless.
2015-09-14 15:16:16 +02:00
Konstantin Käfer
6db8e65394 don't validate the program
it's not in a state where validation always succeeds with all drivers, e.g. because textures might not be attached yet
2015-09-14 15:15:08 +02:00
Bruno de Oliveira Abinader
9ff66acf61 Typo fix in README.md
Fixed URL typo for react-native-mapbox-gl.
2015-09-14 14:54:54 +03:00
Bruno de Oliveira Abinader
2156aa35ca [shader] bind() is now a pure virtual
- Shader::bind() now receives a GLbyte*
- BUFFER_OFFSET now uses GLbyte
2015-09-14 11:29:49 +03:00
Bruno de Oliveira Abinader
8d6b9696bf [shader] Moved 'a_pos' GL attribute to Shader
Avoids duplicated code in all derived classes.
2015-09-14 11:29:48 +03:00
Justin R. Miller
be29ad1c10 [publish ios-v2.1.0-pre.4] 2015-09-11 15:34:43 -07:00
Justin R. Miller
b72acf5dc5 bump podspec to 2.1.0-pre.4 2015-09-11 15:33:17 -07:00
Jason Wray
b10ae77765 [iOS] Fix MGLPolyline documentation typo 2015-09-11 15:31:06 -07:00
Minh Nguyễn
f8ed28cca0 Increased precision of coordinate conversion methods
Fixes #2230.
2015-09-11 15:31:02 -07:00
Ansis Brammanis
26a5d128b4 increase precision for coordinate conversions
This fixes the earthquakes while panning at high zoom levels.

Cherry-picked from 9607171612c4a40e41eddaff5230ad571571a5b9 on the perspective-improved-gestures branch.
2015-09-11 15:30:57 -07:00
Jason Wray
b162d2cafa [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 15:30:50 -07:00
Jason Wray
60d68158a3 [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 15:30:40 -07:00
Jason Wray
b611c9bb7b [iOS] Move radians/degrees conversion functions to MGLGeometry.h 2015-09-11 15:30:35 -07:00
Jason Wray
182bd9723e [iOS] Initial user location puck 2015-09-11 15:30:30 -07:00
Justin R. Miller
db28ef37db fixes #1675: abstract annotation tile refresh check/render; trigger post-sprite/sprite store load 2015-09-11 15:29:35 -07:00
Jason Wray
7127cfebb5 Fix build, only ask for location permission on user's instigation
Previously in #2265 we would ask for location permission at app startup if `!settings->showsUserLocation`. #2193 0a172a21fd changed the way we used `NSUserDefaults` and mostly removed the `settings` object, which broke #2265.

Rather than fix our pestering location permissions ask at startup, this commit now only asks for location permissions when the user hits the locate-me button.

Once a user grants permission, the user dot appears because a `userTrackingMode` is set, `showsUserLocation` is permanently set to `YES` in `NSUserDefaults` and is restored at launch.
2015-09-11 15:29:24 -07:00
Jason Wray
d9c7fdc565 [iOS] Fix MGLPolyline documentation typo 2015-09-11 16:34:10 -04:00
Minh Nguyễn
60d0db0d2d Increased precision of coordinate conversion methods
Fixes #2230.
2015-09-11 11:56:25 -07:00
Ansis Brammanis
b4b56c951e increase precision for coordinate conversions
This fixes the earthquakes while panning at high zoom levels.

Cherry-picked from 9607171612c4a40e41eddaff5230ad571571a5b9 on the perspective-improved-gestures branch.
2015-09-11 11:56:25 -07:00
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
Leith Bade
cdafaf49cf Add missing support libs 2015-09-11 15:47:28 +10:00
Leith Bade
344a7b2ffd Update to Android build tools 23.0.1
Closes #2303
2015-09-11 12:14:45 +10:00
Leith Bade
a9b163fadc Call cancelTransitions when setting map position, zoom level, or direction.
Fixes # 2296
2015-09-11 11:34:04 +10: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
f6648f585e node-v2.0.0-pre.4 [publish binary] 2015-09-10 16:49:55 -04:00
Mike Morris
5b7e2145aa Merge pull request #2299 from mapbox/node-request-callback
[node] change request semantics
2015-09-10 16:47:53 -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