Commit Graph

16768 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
71ccb7b013 Trivial build fix, do not call private method
Resize is internally called by the view now.
2015-03-11 14:40:05 +02:00
Thiago Marcos P. Santos
f3f8e348a1 Fix build warnings on GCC
Apperently boost has a few quirks on its headers.
2015-03-11 14:37:28 +02: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
John Firebaugh
d6c037d2bc Don't copy VT keys / values into each feature
Instead, maintain a key index ⇢ value index map and look up the
value in getValue().
2015-03-10 16:12:52 -07:00
John Firebaugh
7212accffd More include fixes 2015-03-10 16:07:33 -07:00
samanpwbb
39694e5bf0 cleanup and add image comparisons to gz tests 2015-03-10 17:46:00 -04:00
John Firebaugh
3e068be4ad Merge pull request #970 from mapbox/pbf-cleanup
VectorTile related cleanup
2015-03-10 13:22:30 -07:00
John Firebaugh
c13227e35f Move parseValue(pbf) to vector_tile.cpp
This code is specific to the vector tile format.
2015-03-10 12:14:13 -07:00
John Firebaugh
9e1f17a25b Remove unused header 2015-03-10 12:13:50 -07:00
Justin R. Miller
cc7371ed59 Merge pull request #928 from mapbox/928-refactor-vend-geometry
refactor VectorTile to vend geometry
2015-03-10 12:09:11 -07:00
John Firebaugh
062d33c8db virtual ⇢ override in derived class 2015-03-10 10:33:04 -07:00
John Firebaugh
05df041c15 Don't use const on value-type returns 2015-03-10 10:32:25 -07:00
John Firebaugh
5fa628bc00 Inline PBFGeometry 2015-03-10 10:31:24 -07: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
John Firebaugh
4d3dcea82c Revert FeatureType rename 2015-03-09 18:32:20 -07:00
John Firebaugh
b7f04ee7c2 Use single geometry format 2015-03-09 18:32:09 -07:00
John Firebaugh
50b5c15653 Rework GeometryTile* interface 2015-03-09 18:32:08 -07:00
Minh Nguyễn
f82de98899 Merge pull request #966 from mapbox/hybrid-code-tweaks
refs #935: remove dispatch_once, favor property use, and return immutable styles
2015-03-09 17:22:15 -07:00
Justin R. Miller
5162f5d77e refs #935: remove dispatch_once, favor property use, and return immutable styles 2015-03-09 16:32:30 -07:00
Justin R. Miller
2d8bf823fc unique -> shared ptr 2015-03-09 11:57:34 -07:00
Justin R. Miller
0652174465 reference cleanups 2015-03-09 11:57:34 -07:00
Justin R. Miller
7361f8566b move to shared pointers for queried layers passed to buckets 2015-03-09 11:57:34 -07:00
Justin R. Miller
a45ae199cf move from range-based for loop to iterator for to be clearer 2015-03-09 11:57:34 -07:00
Justin R. Miller
fbb2d17f43 fix iterator comparator 2015-03-09 11:57:34 -07:00
Justin R. Miller
a6b6a8d67e move to abstract interfaces to more be in line with original API 2015-03-09 11:57:34 -07:00
Justin R. Miller
e01fe2fb56 doesn't make sense to move shared pointers 2015-03-09 11:57:33 -07:00
Justin R. Miller
cf623e96c5 safely check points 2015-03-09 11:57:33 -07:00
Justin R. Miller
56bc3052ac refactor vars 2015-03-09 11:57:33 -07:00
Justin R. Miller
e57703d711 properly iterate geometries 2015-03-09 11:57:33 -07:00
Justin R. Miller
b523d0256b increment feature filter on creation 2015-03-09 11:57:33 -07:00
Justin R. Miller
c170f8887d get rid of unused member 2015-03-09 11:57:33 -07:00
Justin R. Miller
405137700b parse geometry collections from the pbfs; iterate geometries in buckets 2015-03-09 11:57:33 -07:00
Justin R. Miller
685aa01043 pass actual feature pbf when filtering layer features 2015-03-09 11:57:32 -07:00
Justin R. Miller
91dc0ba06f no need for while loop 2015-03-09 11:57:32 -07:00
Justin R. Miller
e379756f62 proper move 2015-03-09 11:57:32 -07:00
Justin R. Miller
4d9c1a0f33 iterate through fresh copy of layer data 2015-03-09 11:57:32 -07:00
Justin R. Miller
787cedb593 fix reference 2015-03-09 11:57:32 -07:00
Justin R. Miller
0a8a0aee90 move to abstract base classes & shared pointers 2015-03-09 11:57:32 -07:00
Justin R. Miller
41c3b82d3e refs #928: bookmarking working build of refactor 2015-03-09 11:57:31 -07:00
Justin R. Miller
831264d530 refs #928: 90% of way to genericizing VectorTile 2015-03-09 11:57:31 -07:00
John Firebaugh
7d06e62363 Fix satellite style label rendering 2015-03-09 10:42:25 -07:00
John Firebaugh
9897ae74ec Fix satellite style contour rendering 2015-03-08 12:44:47 -07:00
Minh Nguyễn
78900c6eee Alias hybrid to satellite
Looks terrible at the moment, but the API is closer to what developers would expect.

Fixes #935.
2015-03-08 12:14:22 -07: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