Konstantin Käfer
47ede853c4
fixes black flicker on rotating the device
...
fixes #838
instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible.
- upgrades GLFW to 3.1
- removes swapped/needsSwap in favor of a more explicit scheme
- View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update
- sets all iOS deployment targets to 7.0
- disables SQLite3 version check, since the library version changed on iOS 8.2
2015-03-12 12:16:38 +01:00
Konstantin Käfer
ba9d242069
Merge pull request #982 from mapbox/982-android-only-upload-existing-apks
...
Build $(BUILDTYPE) apk file and only upload those
2015-03-12 12:15:33 +01:00
Konstantin Käfer
d632816970
only upload the artifact we're building
...
fixes #982
2015-03-12 11:20:12 +01:00
Konstantin Käfer
fc8fd3af80
build the BUILDTYPE with gradle as well
2015-03-12 10:52:48 +01:00
John Firebaugh
126b7778aa
Merge pull request #976 from mapbox/968-sqlite-version-check
...
Relax sqlite version check to major version only
2015-03-11 13:49:34 -07:00
Mike Morris
7ef8550fea
minor organizational changes, compare Map test image
2015-03-11 16:47:40 -04:00
Brad Leege
4549ec27e1
Merge pull request #979 from mapbox/gradleSpeed
...
Gradle Speed
2015-03-11 15:35:06 -05:00
Brad Leege
fceb36c741
#978 - Creating android-project task as an alias for android-lib to mirror iproj functionality
2015-03-11 15:08:41 -05:00
Brad Leege
5f4a2a66c7
#978 - Changing gradle build to gradle assembleRelease for make android
2015-03-11 14:32:23 -05:00
John Firebaugh
bb73dbcd30
Relax sqlite version check to major version only
...
iOS 8.2 updates the included SQLite version to 3.8.4, while iOS 7.0 up
to iOS 8.1 provides version 3.7.13. When compiling with the 8.2 SDK and
running on 8.1 or below, or vice versa, a strict check fails.
Fixes #968 .
2015-03-11 10:21:26 -07:00
John Firebaugh
24c7239e35
Merge pull request #971 from mapbox/optimize-vt
...
Don't copy VT keys / values into each feature
2015-03-11 10:10:22 -07:00
Minh Nguyễn
e1fdc4f8b3
Build with current iOS SDK
...
xcodebuild does not require a specific SDK version, but Mason puts packages in a version-specific directory. So this change uses the logic for $MASON_PLATFORM_VERSION in mason.sh in mapbox/mason.
Fixes #974 .
2015-03-11 09:59:21 -07:00
Konstantin Käfer
21f5c0d514
Merge pull request #973 from mapbox/render
...
Fix mbgl-render tool build
2015-03-11 14:33:03 +01:00
Thiago Marcos P. Santos
3b4f08b060
Update the docs
...
libboost-program-options-dev is not automatically installed as a
dependency of libboost-dev, which will cause a link error when building
on Linux.
2015-03-11 14:40:16 +02:00
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