Commit Graph

13639 Commits

Author SHA1 Message Date
Bharath MG
25286011e5 Fixed compass update time not getting updated 2018-12-13 10:30:44 +01:00
Julian Rex
e84748c170 [core] Updated iOS/macOS change logs. (#13564) 2018-12-12 19:37:51 -05:00
Fabian Guerra
98984ef292 [ios, macos] Fix MGLTransition struct creation. 2018-12-12 15:07:23 -08:00
Julian Rex
3e413de150 Update podspecs for v4.7.0-beta.2 (#13562) 2018-12-12 16:43:45 -05:00
Jordan Kiley
b3a244f7d8 [darwin] move turnstile event for snapshotter (#13549) 2018-12-12 10:58:08 -08:00
Łukasz Paczos
b1cf981beb [android] changelog for 7.0.0-beta.1 2018-12-12 16:45:29 +01:00
Osana Babayan
6aea5b561a [android] LatLng bounds cannot be wrapped (#13419) 2018-12-12 15:06:12 +01:00
Alexander Shalamov
191d47b935 [core] Add unit tests for queryFeatureExtensions 2018-12-12 15:08:18 +02:00
Alexander Shalamov
a1ca06e304 [core] Introduce Renderer::queryFeatureExtension API
New interface allows it's users to query additional information about
feature that was provided by qRF interface. This is particularly
useful for clustered features.
2018-12-12 15:08:18 +02:00
Alexander Shalamov
664ceb4398 [core] Share GeoJSONData pointer as weak_ptr instead of raw ptr 2018-12-12 15:08:18 +02:00
Alexander Shalamov
8a03d16990 [core] Expose getChildren, getLeaves, getClusterExpansionZoom on SuperclusterData 2018-12-12 15:08:18 +02:00
Tobrun
bd7c73f8e4 [android] - set snapshot version to 7.1.0 2018-12-12 12:49:25 +01:00
Łukasz Paczos
d592889e86 [android] CameraMode transition animation and result listeners 2018-12-12 12:31:40 +01:00
Kevin Li
2d527c2af7 [Android] Add setPreferredFramesPerSecond for MapView (#13498)
* [Android] Add setPreferredFramesPerSecond for MapView
2018-12-12 09:15:55 +08:00
Chris Loer
d812babecd [core] Avoid divide-by-zero when transition duration is 0..
Fixes issue #13506 -- transition duration of 0 would cause symbol flickering.
2018-12-11 14:03:34 -08:00
Chris Loer
662a495561 [docs] EnterIdle -> BecomeIdle 2018-12-11 11:46:16 -08:00
Chris Loer
70c2d5a4ca [core, darwin, android] Add onDidEnterIdle to MapObserver.
didEnterIdle fires whenever render completes and no repaint is scheduled.
2018-12-11 11:46:16 -08:00
Mikhail Pozdnyakov
13e117b501 [android] Enable core-only layers
`LayerManagerAndroid` can add layer types that are enabled only for JSON style.
It allows to save binary size - JNI glue code for these layer types won't be
added to the binaries.
2018-12-11 20:11:23 +02:00
Tobrun
75914acb6b [android] - add more tests, refactor map padding 2018-12-11 18:08:16 +01:00
Tobrun
5a4a7e7ea8 [android] - instrumented unit tests, add map tests, refactor generated layer tests 2018-12-11 18:08:16 +01:00
Mikhail Pozdnyakov
c043d01e14 [core]Disable RenderAnnotationSource when annotations are disabled
This patch disables creation of `RenderAnnotationSource` instances
and thus saves extra 4Ki on Android when `LayerManager::annotationsEnabled`
is `false`.
2018-12-11 15:09:34 +02:00
Mikhail Pozdnyakov
ebd87a5442 [core, android, darwin] Move layer factories to separate files 2018-12-10 18:20:32 +02:00
tobrun
cbcd0875e3 [android] - remove style config from mapboxMapOptions and attributes 2018-12-10 16:59:50 +01:00
tobrun
16aa48151c [android] - introduce validateState, add illegal state exception to all invocations, add test 2018-12-10 16:59:50 +01:00
tobrun
a018c0f7b5 [android] - throw exception when another style is loading, correct RuntimeStyleTest when removing layer at, add javadoc to isFullyLoaded 2018-12-10 16:59:50 +01:00
Tobrun
aa9e6c59bb [android] - optimise loaded style for location component, expose isFullyLoaded 2018-12-10 16:59:50 +01:00
Tobrun
8eaff9ce13 [android] - make style part of location component activation, add tests for non existing style and multiple style loading, revisit code comments 2018-12-10 16:59:50 +01:00
Tobrun
648f34aadc [android] - update unit test to match NativeMapView#isDestroyed 2018-12-10 16:59:50 +01:00
Tobrun
5a1a34e860 [android] - update sanity test to Style.java 2018-12-10 16:59:50 +01:00
Tobrun
222a997584 [android] - add unit tests for Style.java API 2018-12-10 16:59:50 +01:00
Tobrun
4a769077af [android] - add missing javadoc on public API methods around Style 2018-12-10 16:59:50 +01:00
Łukasz Paczos
8e067868e7 [android] fix LocationComponent unit test with Style.java object 2018-12-10 16:59:50 +01:00
Tobrun
70e10ba133 [android] - un-ignore location tests 2018-12-10 16:59:50 +01:00
Tobrun
981689477b [android] - use builder json/url for constructing style object 2018-12-10 16:59:50 +01:00
Łukasz Paczos
f8f8e0b749 [android] move style callback invocation to MapboxMap 2018-12-10 16:59:50 +01:00
Tobrun
acbe2475f9 [android] - cleanup images 2018-12-10 16:59:50 +01:00
Tobrun
3ffb62b419 [android] - introduce StyleCallback, make parent class for StateCallback 2018-12-10 16:59:50 +01:00
Tobrun
075443e18b [android] - limit visibility, clear callbacks 2018-12-10 16:59:50 +01:00
Tobrun
2efdf938a8 [android] - infer nullify on Style.java 2018-12-10 16:59:50 +01:00
Tobrun
476aba6717 [android] - update CircleLayer to be compatible 2018-12-10 16:59:50 +01:00
Tobrun
63bf14ebe1 [android] - fixup location component test to use initialize components 2018-12-10 16:59:50 +01:00
Tobrun
879b461884 [android] - ignore location component unit test, update light test, update activity integration 2018-12-10 16:59:50 +01:00
Tobrun
ecfd17a2ad [android] - add class level javadoc to Style.java 2018-12-10 16:59:50 +01:00
Tobrun
aa9f48f55b [android] - add more layer add options, add sdf support to image and add javadoc 2018-12-10 16:59:50 +01:00
Tobrun
bdd3e4370d [android] - update unit tests to be location component compatible 2018-12-10 16:59:50 +01:00
Tobrun
4a15a7db79 [android] - decouple style loading from OnMapReady 2018-12-10 16:59:50 +01:00
Tobrun
1cdbb6e06f [android] - don't load mapbox streets automatically 2018-12-10 16:59:50 +01:00
Tobrun
dedb7404f2 [android] - move all style methods to Style.java 2018-12-10 16:59:50 +01:00
Tobrun
94451b41ef [android] - expose style builder 2018-12-10 16:59:50 +01:00
Tobrun
470bc66f0f [android] - remove style loaded listener 2018-12-10 16:59:50 +01:00