John Firebaugh
41760b5696
[core] Use variant<std::string, GeoJSON> in GeoJSON source
2016-06-15 11:28:34 -07:00
John Firebaugh
87edff4047
[core] Use variant<std::string, Tileset> in TileSource
...
A tile source can either specify a URL to TileJSON, or inline TileJSON.
2016-06-15 11:28:34 -07:00
Bruno de Oliveira Abinader
a56f65a4d8
[core] Removed duplicated code in circle shader blur
...
Antialiased blur calculation now happens inside the vertex shader code.
2016-06-15 18:53:05 +03:00
Bruno de Oliveira Abinader
fc0f4edef3
[core] Fix sublayer depth when drawing stroke
...
Port from -js: 002c690712
2016-06-15 18:53:05 +03:00
Bruno de Oliveira Abinader
54e3aa185f
[core] Cleaned up Painter::render{Background,Fill}
2016-06-15 18:53:05 +03:00
Bruno de Oliveira Abinader
814e516a4f
[core] Separate pattern size from draw-time variables
...
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/1 .
2016-06-15 18:53:05 +03:00
Bruno de Oliveira Abinader
121b4ca9ca
[core] Added mbgl::util::convert helper function
...
Converts a given std::array into another using a different (convertible)
type.
2016-06-15 18:41:56 +03:00
Bruno de Oliveira Abinader
a1b848913f
[core] Cleanup SpriteAtlasPosition
2016-06-15 18:41:56 +03:00
Bruno de Oliveira Abinader
e83b12c387
[node] Narrow conversion (double → float) caught by GCC
2016-06-15 18:41:56 +03:00
Young Hahn
24b66bc8cd
Color class ( #5361 )
...
* Color class
* Switch to list initialization
2016-06-15 11:38:22 -04:00
Tobrun Van Nuland
8e9fde6608
[android] #5276 - icon should be optional for MarkerView
2016-06-15 13:36:31 +02:00
Bruno de Oliveira Abinader
fe64238b4c
[tidy] Switched to Travis CI
...
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5341 .
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
deea0c41a2
[tidy/linux] clang-analyzer-deadcode.DeadStores
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
12acd29664
[tidy/linux] modernize-pass-by-value
2016-06-14 22:38:40 +03:00
Bruno de Oliveira Abinader
f0e48ca327
[tidy/linux] modernize-use-override
2016-06-14 22:14:11 +03:00
Bruno de Oliveira Abinader
6b5caf4b2c
[tidy/linux] modernize-use-nullptr
2016-06-14 22:14:11 +03:00
Bruno de Oliveira Abinader
7413061f8e
[tidy/linux] llvm-namespace-comment
2016-06-14 22:14:11 +03:00
Bruno de Oliveira Abinader
001b545290
[tidy/linux] modernize-use-default
2016-06-14 22:14:11 +03:00
John Firebaugh
7f60d5e403
[core] Miscellaneous Source cleanups
2016-06-14 11:25:45 -07:00
John Firebaugh
98357ab68e
[core] Add Source::startRender for parallelism with finishRender
2016-06-14 11:25:45 -07:00
John Firebaugh
5bbcca8326
[core] Add virtual Source::getTileSize()
2016-06-14 11:25:45 -07:00
John Firebaugh
9d3c4fbbb0
[core] Push Source::url down to subclasses
2016-06-14 11:25:45 -07:00
John Firebaugh
9dfcb95e4f
[core] Push Source::tileset down to TileSource
2016-06-14 11:25:45 -07:00
John Firebaugh
755cc80edf
[core] Add virtual Source::getZoomRange()
2016-06-14 11:25:45 -07:00
John Firebaugh
6eab895bc0
[core] Use Range<uint8_t> instead of full Tileset where possible
2016-06-14 11:25:45 -07:00
John Firebaugh
615a6685a4
[core] Move GeoJSON-specific parsing into geojson_source.cpp
2016-06-14 11:25:45 -07:00
John Firebaugh
2257ebf1c2
[core] Push Source::req down into subclasses
2016-06-14 11:25:45 -07:00
John Firebaugh
14ab6661e0
[core] Eliminate Source::isLoading
...
Source::load is already a no-op if the request is in progress, so it isn't necessary.
2016-06-14 11:25:45 -07:00
John Firebaugh
cf7420a3c9
[core] Push Source::geojsonvt down to GeoJSONSource
2016-06-14 11:25:45 -07:00
John Firebaugh
2a991c6846
[core] Virtualize Source::load
2016-06-14 11:25:45 -07:00
John Firebaugh
e6ba10ceed
[core] Introduce shared base class for VectorSource and RasterSource
2016-06-14 11:25:45 -07:00
John Firebaugh
eecf9e7d23
[core] Virtualize Source::createTile
2016-06-14 11:25:45 -07:00
John Firebaugh
55abb76f68
[core] Vector source tileSize is constant
2016-06-14 11:25:45 -07:00
John Firebaugh
f74c5d8abd
[core] Inline AnnotationSource constructor parameters
2016-06-14 11:25:45 -07:00
John Firebaugh
b222689de8
[core] Pass geojsonvt only to GeoJSONSource
2016-06-14 11:25:45 -07:00
John Firebaugh
9b0093e32d
[core] Introduce source subclasses
2016-06-14 11:25:45 -07:00
Minh Nguyễn
7080196bf6
[macos] Added changelog section for post-0.2.0
...
[skip ci]
2016-06-14 11:01:59 -07:00
Minh Nguyễn
e49f72838b
[macos] Zip up SDK before uploading it
2016-06-14 10:51:07 -07:00
Minh Nguyễn
1d43f92859
[macos] Deployment script
...
Adapted the iOS SDK deployment script for the macOS SDK.
2016-06-14 10:14:03 -07:00
Minh Nguyễn
23da7064f0
[macos] Updated changelog
...
Updated changelog for #5183 , #5124 , #2444 , #5053 , #4579 , realm/jazzy#530 .
2016-06-14 10:04:36 -07:00
Tobrun Van Nuland
7942ce9455
[android] #5279 - expose MarkerView alpha
2016-06-14 15:11:20 +02:00
Fredrik Karlsson
d564302c6d
[ios] fixes #5129 added annotation property to MGLAnnotationView ( #5307 )
...
Also added a test case for MGLAnnotationView
2016-06-14 13:12:56 +02:00
Bruno de Oliveira Abinader
b00e6fc7e1
[tidy] Install mason clang-tidy if CLANG_TIDY is not set
...
Also added HeaderFilterRegex to .clang-tidy.
2016-06-14 12:20:08 +03:00
Fredrik Karlsson
a557e1e2c9
[ios] fixes #5127 , #5128 , #5130 added enabled and selected property to MGLAnnotationView ( #5297 )
...
[ios] fixes #5127 , #5128 , #5130 added enabled and selected property to MGLAnnotationView
2016-06-14 10:36:41 +02:00
Minh Nguyễn
b9702ef41a
[macos] Renamed OS X SDK to macOS SDK
...
Also renamed as many references to OS X as possible to macOS in documentation.
2016-06-14 10:02:06 +02:00
Alan Kinnaman
19c34fe1f0
Suppress warning when dequeueing subclasses ( #5244 )
...
When using a subclass of `MGLAnnotationView` or `MGLAnnotationImage`, the following warning occurs:
`Incompatible pointer types initializing 'MyClassName *' with an expression of type 'MGLAnnotationView * _Nullable'`
This change eliminates the warning and matches Apple's implementation of `UITableViewCell`.
Cherry-picked from 1e41c151f6 .
2016-06-14 00:17:44 -07:00
Alan Kinnaman
1e41c151f6
Suppress warning when dequeueing subclasses ( #5244 )
...
When using a subclass of `MGLAnnotationView` or `MGLAnnotationImage`, the following warning occurs:
`Incompatible pointer types initializing 'MyClassName *' with an expression of type 'MGLAnnotationView * _Nullable'`
This change eliminates the warning and matches Apple's implementation of `UITableViewCell`.
2016-06-14 00:17:08 -07:00
John Firebaugh
3f5ea169f5
[node] Partial implementation of runtime styling API for node bindings
2016-06-13 17:22:05 -07:00
John Firebaugh
6cc2f8a3a5
[core] Fix PropertyValue<T>::set
...
For runtime styling, it needs to overwrite any existing value.
2016-06-13 17:22:05 -07:00
John Firebaugh
1529116ef6
[core] Introduce Map::getLayer
2016-06-13 17:22:05 -07:00