Commit Graph

112 Commits

Author SHA1 Message Date
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
5b479fbfca Merge pull request #113 from mapbox/render-still
Map::renderStill
2015-04-17 17:11:23 +02:00
Konstantin Käfer
f2c9e9fb67 add xcode project target
Use locally installed node-pre-gyp if there's no global one.
This is necessary to be able to run make outside of npm.

Make example executable.

Change path to the request include file.

Bump mbgl to master.
2015-04-17 16:02:29 +02: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
a11a92f9a4 add LogMessage constructors for default values 2015-04-17 15:57:31 +02:00
Mike Morris
8e790ca322 log environment ID and threadName if in scope 2015-04-17 15:57:31 +02:00
Mike Morris
8671015119 move node log from backend to observer pattern
back to gl-native master branch
2015-04-17 15:57:22 +02:00
Mike Morris
ba12e514cc move travis template to cloudformation directroy 2015-04-16 12:40:53 +02:00
Mike Morris
89e226e10f cherry pick fix for #110 2015-04-13 11:44:41 +02:00
Mike Morris
9363d94c36 respond with error message for non-200 responses in example FileSource 2015-04-08 18:17:08 -04:00
Mike Morris
40d47bc2c6 bump mbgl to fix glyph range end 2015-04-08 18:00:15 -04:00
Mike Morris
5091259c9d 1.0.3 [publish binary] 2015-04-03 15:55:31 -04:00
Mike Morris
97c7912f02 update changelog 2015-04-03 15:46:24 -04:00
Mike Morris
ca0da9626e NanAssignPersistent source in NodeMap constructor, fixes #109 2015-04-03 15:43:40 -04:00
Mike Morris
186fbad236 update changelog 2015-04-02 17:59:00 -04:00
Mike Morris
3090f498fd 1.0.2 [publish binary] 2015-04-02 17:55:47 -04:00
Mike Morris
6a3d6d2372 Merge pull request #108 from mapbox/init-display
init display connection on module load
2015-04-02 17:54:06 -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
993d760675 1.0.1 [publish binary] 2015-03-19 22:57:43 -04:00
Mike Morris
b5bc3cbce2 Merge pull request #104 from mapbox/changelog
add changelog
2015-03-19 22:56:56 -04:00
Mike Morris
d9494f7366 add changelog 2015-03-19 22:56:03 -04:00
Mike Morris
1f31518fe8 Merge pull request #103 from mapbox/env
adapt NodeFileSource around mbgl::Environment additions
2015-03-19 22:55:22 -04:00
Mike Morris
9a297051c7 adapt NodeFileSource around mbgl::Environment additions 2015-03-19 17:45:15 -04:00
Mike Morris
d42076528e string literal is not instanceof String
JavaScript is dumb.
2015-03-19 17:07:52 -04:00
samanpwbb
ffc937b184 center not lat lng 2015-03-14 23:25:46 -04:00
Mike Morris
99edf8eb72 fail if no error is emitted in gzip unhandled test 2015-03-13 13:08:09 -04:00
Mike Morris
0c745d6825 catch errors only in gzip tests, not all log messages 2015-03-13 13:07:59 -04:00
Mike Morris
c0c0f2667b accept string or array of strings for source url 2015-03-13 12:57:06 -04:00
Saman Bemel-Benrud
f32f52f7a2 Merge pull request #98 from mapbox/test-gzip
add tests for gzipped vector tiles
2015-03-12 13:34:59 -04:00
Mike Morris
a16a37fc0d reduce diff sensitivity so tests pass on linux, mkdirp.sync 2015-03-12 09:24:36 -07:00
Mike Morris
7ef8550fea minor organizational changes, compare Map test image 2015-03-11 16:47:40 -04:00
samanpwbb
204517a602 try less strict difference? 2015-03-10 20:46:49 -04:00
samanpwbb
d863516878 fix names 2015-03-10 20:38:19 -04:00
samanpwbb
0733de7d12 more cleanup 2015-03-10 20:24:56 -04:00
samanpwbb
b5f8942983 cleanup tests 2015-03-10 19:51:59 -04:00
samanpwbb
39694e5bf0 cleanup and add image comparisons to gz tests 2015-03-10 17:46:00 -04:00
Mike Morris
0cf80f34b2 EventEmitter.once in unhandled gzip 2015-03-10 00:45:43 -04:00
Mike Morris
71c724eaf3 only fail on pbf request, check exact error 2015-03-09 22:08:13 -04:00
samanpwbb
7864dca80a remove unused 2015-03-07 18:30:39 -05:00
samanpwbb
cb50c6752c Merge branch 'master' into test-gzip 2015-03-07 18:12:14 -05:00
samanpwbb
a886cdd695 add working tests for gzip handling 2015-03-07 18:07:52 -05:00
samanpwbb
fffb0f7df5 fix example
blah

real test

Still not writing tests correctly
2015-03-07 18:07:26 -05:00
samanpwbb
219a3ac518 fix example 2015-03-04 15:15:33 -05:00
samanpwbb
2734e2c3f9 fix options documentation, document setAccessToken method, refs #93 2015-03-04 15:04:06 -05:00
Saman Bemel-Benrud
a8cf26a8ca Merge pull request #97 from mapbox/document-options
document render options
2015-03-04 11:22:04 -05:00
Saman Bemel-Benrud
ae4831d75f Update README.md 2015-03-03 22:02:58 -05:00
samanpwbb
fc1a907a17 document render options 2015-03-03 18:57:13 -05:00
Mike Morris
848fa663a6 update example with compressPNG 2015-02-26 14:35:39 -05:00