Commit Graph

5731 Commits

Author SHA1 Message Date
Leith Bade
009930ab8e [android] Save added markers in test app
Fixes #2877
2015-10-31 09:49:37 +11:00
Leith Bade
e0fd0fc071 [android] Adjust annotation touch tolerance to match default marker
For #1504
2015-10-31 09:48:24 +11:00
Leith Bade
212ea7a19e [android] When pinch zooming lock rotation
Fixes #813
2015-10-31 09:45:31 +11:00
Justin R. Miller
2aa3ab0c14 bump iOS version in podspec/Fabric 2015-10-30 15:23:50 -07:00
John Firebaugh
a7219a77aa [core] Don't crash when removing a shape annotation whose layer was never created 2015-10-30 14:36:07 -07:00
Minh Nguyễn
557b8afb7c [core][iOS] Source iOS styles from default_styles
Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles.

Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs.

Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles.

/ref #1462
2015-10-30 13:09:37 -07:00
Minh Nguyễn
3b6dc37e39 Fixed build issues and typos
Also renamed styles to more common names.
2015-10-30 13:09:04 -07:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
John Firebaugh
ddc4251074 [core] Polymorphic bucket creation 2015-10-30 11:19:28 -07:00
John Firebaugh
540c6eca15 [core] Eliminate StyleBucket 2015-10-30 11:19:28 -07:00
John Firebaugh
8c3b3cb792 [core] Use current copy of style layers when reparsing tiles
This fixes adding shape annotations after VectorTileData objects have
been created for annotations already, and will also be necessary for
the dynamic Style API.
2015-10-30 11:17:01 -07:00
John Firebaugh
7669e02062 [core] Monitor annotation tiles, rather than completely invalidating them
Fixes #1688
2015-10-30 11:17:01 -07:00
John Firebaugh
f745f271e3 [core] When reparsing a tile, replace all existing buckets
A tile may go from having particular layers, to not having them.
(Annotation tiles in particular.)
2015-10-30 11:17:01 -07:00
John Firebaugh
f6f5d9608d [core] Separate type for RasterTileParseResult 2015-10-30 11:17:00 -07:00
Tobrun
ee6d415bf2 [android] #2880 - CoordinateBounds correction equals method 2015-10-30 17:04:57 +01:00
Brad Leege
f8ee973fac [android] #2868 - Setting android back to SNAPSHOT mode and incrementing build number 2015-10-30 09:11:14 -05:00
Brad Leege
25c8eeecf9 Merge branch 'master' of github.com:mapbox/mapbox-gl-native 2015-10-30 09:05:04 -05:00
Tobrun
6f7c53900d [android] #2861 - double tap zoom gesture while tracking mode is enabled 2015-10-30 10:20:11 +01:00
Tobrun
01274a5b40 [android] #2864 - improved compass update cycle, removed lowpassfilter
[android] #2864 changed currentTimeInMills with elapsedRealtime
2015-10-30 10:17:04 +01:00
Leith Bade
f2e5170693 [android] Allow apps to override map resources
Fixes #2858
2015-10-30 11:33:28 +11:00
Tom MacWright
26cb45ed46 Document node-mapbox-gl-native with JSDoc 2015-10-29 16:55:30 -07:00
John Firebaugh
7821dccae5 [core] Polymorphic layout and paint parsing 2015-10-29 16:46:49 -07:00
John Firebaugh
b39501ba59 [core] Fudge numbers to get a timing-based test to pass more often
Fixes #2872
2015-10-29 16:45:53 -07:00
Brad Leege
90b1469a77 Merge branch 'release-android-v2.2.0' 2015-10-29 18:43:44 -05:00
Leith Bade
be817260d7 [android] Implement Parcelable annotations
Fixes #2638
2015-10-30 09:23:56 +11:00
Jason Wray
84a767b5f3 Update changelog for #2643 2015-10-29 16:53:39 -04:00
Murray Hughes
f6e3ee4b25 [ios] fix removal of heading view when changing user tracking modes 2015-10-29 16:50:34 -04:00
Murray Hughes
f8c75c6e22 [ios] fix user annotation view refresh when switched from course to none 2015-10-29 16:50:33 -04:00
Justin R. Miller
58c90ac099 bump SMCalloutView by one change to grab accessbility support 2015-10-29 12:23:13 -07:00
John Firebaugh
e2dc956eb6 [core] Merge LiveTileData into VectorTileData
To encapsulate the differences, this introduces an abstract
GeometryTileMonitor class, with concrete VectorTileMonitor and
AnnotationTileMonitor implementations, and makes pbf parsing for
VectorTile data happen lazily in getLayer, since we want that to
happen on the worker thread, rather than when VectorTile is created.

Fixes #2792
2015-10-29 12:05:40 -07:00
Thiago Marcos P. Santos
978da4224e [core] Set names to threads on Linux
Makes debugging/profiling easier.
2015-10-29 11:54:43 +02:00
John Firebaugh
d20bcb0795 [core] Workaround for #2808 2015-10-28 15:54:36 -07:00
John Firebaugh
014b517820 [node] Output debug logs when a render test times out 2015-10-28 15:54:34 -07:00
Brad Leege
9361669fb3 [android] #2847 - Updating version to 2.2.0 for release and Fabric 2015-10-28 17:07:04 -05:00
Jason Wray
dd56e832b5 [docs] update INSTALL.md dependencies [skip ci]
Drops mason-installed packages Boost, zlib, libpng, libuv and glfw.
Adds libtool and automake, which may be needed when mason binaries
are not available.

Drops ImageMagick, which was replaced with pixelmatch in
aaf090b87d &
https://github.com/mapbox/mapbox-gl-test-suite/pull/50
2015-10-28 13:20:36 -04:00
Konstantin Käfer
b9452bcbba [core] refactor test server startup 2015-10-28 16:51:13 +01:00
Tom MacWright
c80c823da2 [core] Ensure URL normalization is safe. Fixes #2695 2015-10-28 10:44:33 -04:00
Leith Bade
6bb709ef42 [android] Update test app icon
Fixes #2838
2015-10-28 22:36:35 +11:00
Tobrun
8fdc033eab [android] #2797 - addLocationBearing part one 2015-10-28 11:22:50 +01:00
Leith Bade
a2ac435171 [android] Grey out GPS marker when location is stale
Fixes #2694
2015-10-28 21:10:13 +11:00
Tobrun
a67645cb39 [android] #2224 inflate children map view through xml
[android] - #2224 make UserLocationView inflatable through xml. using setter to attach MapView

[android] #2224 - renamed fragment layout file, reordered views in layout file map view
2015-10-28 07:28:19 +01:00
Leith Bade
3e999eeda0 [android] Remove NullPointerException from MapView
Fixes #2831
2015-10-28 14:11:24 +11:00
John Firebaugh
4ef2bcc01a Don't create libuv objects on the stack 2015-10-27 17:49:10 -07:00
Leith Bade
bd0f5ae5e2 [android] Fix NullPointerException in editor mode
Fixes #2830
2015-10-28 11:10:11 +11:00
Tom MacWright
3fca2455ad [docs] Recreate structure of documentation 2015-10-27 16:43:54 -04:00
John Firebaugh
af5271cd3e [core] Fix gdb check for CI 2015-10-27 12:52:07 -07:00
Justin R. Miller
1421755434 remove metrics tests 2015-10-27 10:45:10 -07:00
Justin R. Miller
48d6d039ed remove heading tests as unreliable 2015-10-27 10:43:20 -07:00
Justin R. Miller
2d8e29294c remove dead, broken code 2015-10-27 10:40:52 -07:00
Justin R. Miller
1c57039365 adjust enabled tests 2015-10-27 10:40:52 -07:00