Thiago Marcos P. Santos
51bc265db3
Make the logging system static
...
No initialization is needed anymore and we can use the logging functions
safely at any point of the code (threading is not handled though, so you
might get multiplexed messages if you log from two threads
simultaneously).
2015-03-12 13:28:41 +02:00
Justin R. Miller
6e41664cb0
fixes #476 & #853 : pixel/meter/latlng conversion routines in core & iOS
2015-02-16 09:52:36 -08:00
Konstantin Käfer
29baacf3a5
refactor makefile
2015-02-04 10:49:09 +01:00
Konstantin Käfer
9a549094e0
make ios compile
2015-02-04 10:49:06 +01:00
Konstantin Käfer
8a1fce547e
rearrange tests and add storage tests
2015-02-04 10:49:05 +01:00
Konstantin Käfer
b9bf66e67e
rewrite storage layer to be independent of the Map's event loop
2015-02-04 10:46:37 +01:00
John Firebaugh
9495b686e7
Use v7 styles / tests
2015-01-22 12:00:26 -08:00
Konstantin Käfer
b5e9998b15
change file:// to asset:// to indicate that they aren't arbitrary files
...
refs #579
2014-12-17 14:59:05 +01:00
John Firebaugh
ff640132de
Move setAccessToken to CachingHTTPFileSource
2014-12-04 17:03:23 -08:00
John Firebaugh
16fe8e64c4
Move setReachability to CachingHTTPFileSource
2014-12-04 15:14:40 -08:00
Konstantin Käfer
abafb52f37
make most headers private
2014-12-04 20:02:50 +01:00
Mike Morris
dac76a0f92
break out FileSource as an abstract class
...
add CachingHTTPFileSource implementation
2014-12-03 12:25:11 -05:00
John Firebaugh
05c5c3a8bc
Use v6 styles
2014-11-04 12:26:14 -08:00
John Firebaugh
d675828fe1
Get mapbox-gl-styles via submodule ( fixes #511 )
2014-10-31 17:14:30 -04:00
Konstantin Käfer
cd9a89257a
restructure gyp files
2014-10-24 16:40:08 +02:00
Konstantin Käfer
2f3952b305
fix compile warnings
2014-10-22 11:00:34 +02:00
Konstantin Käfer
9e44c0eae8
add reachability
2014-09-29 14:02:42 +02:00
Konstantin Käfer
d9fc7708a2
do 304 requests and cache them in sqlite
2014-09-24 16:14:09 +02:00
Konstantin Käfer
4657e6e023
use a file source object to abstract loading of resources
2014-08-08 18:25:45 +02:00
John Firebaugh
70a31baf5c
Eliminate warnings
2014-08-07 13:02:40 -07:00
Konstantin Käfer
7d44da82ec
allow moving to map positions with mapboxgl://?center=[lat],[lon]&zoom=[z]&bearing=[b]
2014-08-05 17:13:48 +02:00
John Firebaugh
86336ed838
Flip name and units and sign of rotation API
...
Angle -> Bearing
Radians -> Degrees
Clockwise -> Counterclockwise
2014-07-21 11:30:51 -07:00
Konstantin Käfer
4ea281c750
rename llmr => mbgl
2014-07-16 18:53:56 -07:00
Justin R. Miller
ab472ed8bb
simplify OS X access token use
2014-07-14 12:16:46 -07:00
Konstantin Käfer
7ffe4a7858
add nslog and stderr log backends
2014-07-11 14:34:17 -07:00
Konstantin Käfer
0d7b3462e9
read access token from environment
2014-07-10 11:27:03 -07:00
Justin R. Miller
cfbd9f2469
move Linux & OS X to per-map access tokens
2014-07-09 18:08:53 -07:00
John Firebaugh
815f8be96e
Use API v4 and access tokens
2014-07-08 13:16:38 -07:00
Justin R. Miller
a81a336638
programmatic styling API
2014-05-31 11:32:42 -07:00
Konstantin Käfer
485a9a40bc
formatting
2014-05-02 10:25:58 +02:00
Konstantin Käfer
9bbdba9eab
remove concept of settings object from library
2014-04-30 13:47:03 +02:00
Konstantin Käfer
1ecff57829
use libuv event loop in the glfw view
...
Integrates libuv's default loop with GLFW's glfwWaitEvents() call. See https://github.com/joyent/libuv/issues/1246 for more details on integrating event loops.
fixes #149
2014-04-22 16:54:55 +02:00
Konstantin Käfer
a807ace3c1
rename to glfw_view.cpp/hpp
2014-04-16 11:10:54 -04:00
Konstantin Käfer
305e688a3a
clean up os x + ios request code
...
fixes #129
2014-04-14 11:47:57 -04:00
Konstantin Käfer
b4ad515792
don't report intentionally cancelled HTTP requests as error on os x + ios
2014-04-14 11:17:22 -04:00
Konstantin Käfer
3c5bac0f6b
add debug window showing the glyph atlas
2014-03-14 12:43:42 +01:00
Konstantin Käfer
bdfa761c39
remove code duplication between osx/glfw and linux/glfw programs
2014-03-14 11:33:45 +01:00
Konstantin Käfer
0a6dbc8064
Merge branch 'nostencil'
...
Conflicts:
macosx/main.mm
src/map/map.cpp
2014-03-03 16:02:13 +01:00
Konstantin Käfer
6c58101b12
multithreaded curl for linux
2014-03-01 13:05:13 +01:00
Konstantin Käfer
8d68bd73e7
draw a checkerboard stencil clipping mask initially
2014-02-26 12:24:17 +01:00
Justin R. Miller
8b0709a62c
clean up response casts
2014-02-25 16:37:48 -08:00
Justin R. Miller
55b28aaf65
allow for cancellable request, track in tiles, and cancel when obsolete
2014-02-25 16:33:06 -08:00
Justin R. Miller
e59a5f1c1a
Merge branch 'master' into tile-cancels
2014-02-21 14:18:48 -08:00
Konstantin Käfer
0306e77ff0
remove void* parameter from platform::restart()
2014-02-21 12:18:11 +01:00
Konstantin Käfer
1fb4451192
Merge pull request #68 from mapbox/poi-render
...
refs #60 : first cut of POI rendering
2014-02-21 12:07:46 +01:00
Konstantin Käfer
bd2d865fc4
trigger a bogus mouse move event to interrupt glfwWaitEvents()
...
see https://github.com/glfw/glfw/issues/218
2014-02-21 12:05:27 +01:00
Konstantin Käfer
d5c611d707
add timeouts for panning,scaling,rotating
2014-02-21 11:31:24 +01:00
Justin R. Miller
eac69ae30c
move to cancellable tile-specific fetches on OS X
2014-02-19 23:13:20 -08:00
Justin R. Miller
9fbe5b2ece
properly deregister render observers
2014-02-19 17:51:30 -08:00
Justin R. Miller
0f2beb6992
refs #72 : clarity around bg/fg functions
2014-02-19 12:45:05 -08:00