Commit Graph

19 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
d434746a46 Better error messages
Use the error message passed by the error exception instead of
always reporting "Error rendering image".
2015-06-19 16:52:03 -04:00
Mike Morris
fe3d6bbbd5 expose map.release() method 2015-05-28 13:35:00 -04:00
Mike Morris
44490f620c drop SetAccessToken from NodeMap
Handle this is JavaScript where necessary.
2015-05-27 18:24:43 -04:00
Mike Morris
2e73682de0 std::make_unique 2015-05-27 16:54:09 -04:00
Mike Morris
16ec628d8e return an error if map.renderStill returns a std::exception_ptr
store exception_ptr on NodeMap

add test for map.render returning an error
2015-05-22 11:09:50 -04:00
Mike Morris
c0fe624ecd add node v0.12 and io.js compatibility 2015-05-14 12:55:54 -04:00
Mike Morris
3eb8ec9ca6 map.resize, close server after tests, not inside 2015-05-05 13:44:52 -04:00
Mike Morris
840e22bf90 adapt to changes from
https://github.com/mapbox/mapbox-gl-native/pull/1065
2015-05-05 13:43:43 -04:00
Mike Morris
ca897ce407 bump mbgl
drop mbgl::Environment from NodeFileSource
switch to mbgl::Map::Mode::Still
2015-04-29 15:26:29 -04:00
Mike Morris
417741b13f adapt to still image render mode changes
https://github.com/mapbox/mapbox-gl-native/pull/1272

Some tests are hanging with no errors or log messages
when map.load is passed a style but never rendered.
2015-04-17 16:01:54 +02:00
Mike Morris
ca0da9626e NanAssignPersistent source in NodeMap constructor, fixes #109 2015-04-03 15:43:40 -04:00
Mike Morris
d9c446a075 init display connection on module load
add sudo: required

move source up to initialization on NodeMap

static sharedDisplay method
2015-04-02 17:21:16 -04:00
Mike Morris
030c88ce10 oops, fix lat, lng order 2015-02-18 16:41:11 -05:00
Mike Morris
10334522ad fix setLatLngZooom 2015-02-18 16:22:26 -05:00
Konstantin Käfer
b1deba8d95 do not .release() in function call; execution order is undefined 2015-02-13 15:09:32 -08:00
Konstantin Käfer
81c45ab39a no need to use a pointer to a unique_ptr when we can just use the pointer 2015-02-12 18:18:43 -08:00
Konstantin Käfer
8c6f71fdb2 adapt to static-render branch changes [skip ci]
still missing updated tests
2015-02-11 19:35:39 -08:00
Konstantin Käfer
339ebca759 allow more arguments, but require at least one 2015-02-06 10:46:49 +01:00
Konstantin Käfer
07867edd47 initial version with updated build system 2015-02-04 18:21:39 +01:00