Cameron Mace
45f4dc0166
removed brew cask install android studio instruction ( #6723 )
...
* removed brew cask install android studio instruction
* link to download JDK
* made fixes to instruction
2016-10-25 16:44:03 -04:00
Tobrun
3457eb1144
[android] - MarkerView is responsible for managing height and width of a Marker (opposed to the recycled view). ( #6809 )
2016-10-25 17:36:26 +02:00
Ivo van Dongen
b14e83ea40
[core] geojson source - cancel any pending request when setting geojson explicitly
2016-10-25 16:11:36 +02:00
Ivo van Dongen
6277dca898
[core] geojson source - clear cache when json content is set
2016-10-25 16:11:36 +02:00
Tobrun
b0485bccd9
[android] - remove timer from compassView, make fading when facing north optional. ( #6786 )
...
save state for recreating map view
fix review comments
unit test covering default value for fading and setting a new value
fixup setter, fix default value
2016-10-25 15:53:16 +02:00
Tobrun
94b1a53f06
[android] - move marker view click handling to core ( #5639 )
2016-10-25 15:11:49 +02:00
Ivo van Dongen
068e78a2e7
[core] geojson source - reset req on setURL
2016-10-25 12:47:35 +02:00
Ivo van Dongen
31a7925205
[android] fix exception class
2016-10-25 12:41:28 +02:00
Bruno de Oliveira Abinader
fb9fbef6dd
[test] Update mapbox-gl-test-suite hash
...
Now testing 'query-tests/symbol-features-in/pitched-screen'.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
72df1658fa
[glfw] Added queryPointAnnotations shortcut
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
e55065e62a
[core] Reuse last placement data in CollisionTile::queryRenderedFeatures
...
To obtain precise results, we:
1. Round scale value to obtain same results from symbol shader.
2. Generate a boost geometry polygon to check if it intersects()
against all feature boxes.
3. Check if current scale is within each feature's minimum and maximum
placement scales.
4. De-scale feature boxes when intersecting to account for the
fractional zoom scaling.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
fc6344c546
[core] Added util::polygonIntersectsPolygon
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
679bfbfb32
[core] Simplify CollisionTile::findPlacementScale
...
Improve findPlacementScale semantics by moving the check if the
placement scale result is bigger than minimum scale out of the function
scope.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
846e57de58
[core] Avoid duplicating edges for CollisionTile
...
Make 'edges' static to avoid every instance of CollisionTile having its
own copy of it.
2016-10-25 08:12:31 +03:00
Bruno de Oliveira Abinader
8743f11345
[core] Cleanup function signatures in CollisionTile
...
- Prefer pass-by-value for primitive types.
- Use floating point precision for yStretch to match receiving type.
2016-10-25 08:12:31 +03:00
Tobrun
ed1ceecc09
[android] - only pin certificates on current used environement. ( #6766 )
...
update certificates sha256 for certificate pinning.
2016-10-24 22:38:10 +02:00
Bruno de Oliveira Abinader
89ba2f2151
[build] Set C++14 as default standard for CMake
2016-10-24 21:38:12 +03:00
Bruno de Oliveira Abinader
cff5360280
[qt] Fix macOS Qt demo app with Qt4.x
2016-10-24 21:38:12 +03:00
Tobrun
bc4cf3220c
[android] - cap width/height at maximum, don't throw exception. ( #6788 )
2016-10-24 10:34:40 +02:00
Mike Morris
eb1b385e50
[node] publish Bitrise tag builds
2016-10-22 00:35:26 -04:00
Tobrun
8633c34d01
Android Bitrise cleanup ( #6782 )
...
* [android] - update bitrise.yml, always use latest deploy step
cleanup bitrise.yml
formatting, separate download step -> if tests fail, build fails
improve shown console messages, correct package for firebase filter
update steps
add slack integration for all workflows
* fixup SKIPCI check
2016-10-21 22:24:52 +02:00
Tobrun
7a4cd67aa8
[android] - remove jni method logging, only keep lifecycle related logs ( #6787 )
2016-10-21 22:23:16 +02:00
Ivo van Dongen
e31a2c1c11
[core] fixup formatting
2016-10-21 10:05:00 -07:00
Cameron Mace
da9864f25d
Made telemetry dialog material ( #6726 )
...
* Made telemetry dialog material
* cleaned up attribution_main_menu
2016-10-21 10:29:12 -04:00
Mike Morris
7bbd49c72c
[core] extract weak_ptr mailbox->receive into Mailbox::maybeReceive
2016-10-20 14:39:11 -04:00
Mike Morris
a894870fb8
[node] remove internal NodeRequest class from public API
2016-10-20 14:38:36 -04:00
Mike Morris
817c26111a
[core] [node] pass thread pool impl to Map constructor
...
Updates mbgl::Map constructor usage everywhere
Adds NodeThreadPool implementation using AsyncQueue to call
Nan::AsyncQueueWorker from main thread
2016-10-20 14:37:36 -04:00
Ivo van Dongen
ab85fdb452
[glfw] add map change callback methods to glfw_view
2016-10-20 17:02:40 +03:00
Tobrun
04a9a98b98
[android] - add realtime geojson example from gl-js ( #6751 )
2016-10-20 15:45:57 +02:00
Ivo van Dongen
ab63a9494f
[core] reload geojson source on url change
2016-10-20 16:18:08 +03:00
Ivo van Dongen
5527887c4b
[android] geojson source - remove explicit repaint requests
2016-10-20 11:41:24 +03:00
Tobrun
6d50435880
[android] - Configure Gradle properties as part of the instalation process. ( #6729 )
2016-10-20 10:21:15 +02:00
Tobrun
9a7139b65c
[android] - move instrumentation test code to correct package for Android Studio run configurations integration. ( #6748 )
2016-10-20 10:20:56 +02:00
Tobrun
76f91cc88d
[android] - configures AWS Device farm plugin from testapp. ( #6750 )
2016-10-20 10:20:26 +02:00
Cameron Mace
61a534241f
Adds map dialog activity to testapp ( #6741 )
...
* adds map dialog activity to testapp
* added to genertate-test-code script
2016-10-19 12:06:16 -04:00
Bruno de Oliveira Abinader
c50577d039
[core] Fix SymbolAnnotation coordinate system conversions
2016-10-19 08:11:41 +03:00
Bruno de Oliveira Abinader
ef62b78fce
[core] TileCoordinate::fromLatLng no longer depens on TransformState
2016-10-19 08:11:41 +03:00
Bruno de Oliveira Abinader
2188d68b6c
[core] Move TransformState::{un,}project() to Projection
2016-10-19 08:11:41 +03:00
Bruno de Oliveira Abinader
f01a829dc9
[core] Move TransformState::worldSize() to Projection
2016-10-19 08:11:41 +03:00
Bruno de Oliveira Abinader
3a12dd2d4f
[core] Skip redundant spherical mercator variable updates in {ease,fly}To
2016-10-19 08:11:41 +03:00
Minh Nguyễn
ce243043f5
[ios, macos] Raise correct style layer misuse exception ( #6738 )
...
Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere.
2016-10-18 15:03:10 -07:00
Tobrun
e5762ab728
[android] - update map change events javadoc ( #6732 )
2016-10-19 00:00:15 +02:00
Tobrun
f45712a6b3
[android] - add package-info.java for net package ( #6733 )
2016-10-18 23:59:57 +02:00
Tobrun
0ccc7f51ba
[android] - fixup MyLocationView heading ( #6671 )
...
[android] - convert angles to radiants in jni, correct follow animation for MyLocationView
do not sanitise input when recreating from other camera object, input is already sanitised before
cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes
cleanup CameraUpdateFactory, hide internally used api.
only invalidate position if required, remove outdated comments
correct camera position values
made zoom activity a bit more interesting
made dynamic marker activity a bit more interesting
FIXUP
2016-10-18 17:56:39 +02:00
Jesse Bounds
87885008a6
[ios, macos] Use swift_name for MGLMultiPoint and subclasses ( #6727 )
...
Decorate the class factory methods so that when they are translated to
swift the method to create an MGLMultiPoint is not ambiguous with the
methods to create MGLPolygon and MGLPolyline.
2016-10-17 21:29:04 -07:00
Jason Wray
d10c1714d5
ios-v.3.4.0-beta.1
2016-10-17 18:36:30 -04:00
Minh Nguyễn
74c2bf8791
[macos] Added MGLTileSet to project ( #6713 )
...
Also reformatted some MGLTileSet documentation.
2016-10-17 15:19:36 -07:00
Jason Wray
a1d803f518
[ios, macos] Change runtime styling category method prefix to mgl_
...
This makes runtime styling category method naming consistent with the rest of the SDK.
2016-10-17 11:47:22 -07:00
Minh Nguyễn
4ff1a736d4
[ios, macos] Documented MGLStyleValue
2016-10-17 11:47:22 -07:00
Minh Nguyễn
cf5aa9c648
[ios, macos] Designated initializers
...
Added designated initializers to MGLStyleValue and friends. Restored custom equality and descriptions to MGLStyleFunction. Raise an exception if an unrecognized subclass of MGLStyleValue or MGLStyleValue itself is passed into a style attribute property.
2016-10-17 11:47:22 -07:00