Tobrun
83df8a8621
[android] - javadoc update for 5.1.0 release ( #9138 )
...
* [android] - javadoc update for 5.1.0 release
* oxford comma
* Grammar/spelling tweaks
* grammar tweak
* grammar tweak
* Grammar tweaks
* Grammar tweaks
2017-05-31 09:46:12 +02:00
Minh Nguyễn
a39116a552
Migrate to GL JS–powered feedback form ( #9078 )
...
* [ios, macos] Updated feedback URL
* [ios, macos] Add referrer, heading, pitch to feedback URL
* [ios, macos] Updated changelogs for feedback changes
* [ios] Vary referrer by platform
2017-05-30 15:14:00 -07:00
Fredrik Karlsson
608fd66ab8
[ios] remove layout guide observers
2017-05-30 13:47:51 -07:00
Jesse Bounds
7b85bcccae
[ios] Remove filter of single metric event
2017-05-30 13:38:08 -07:00
Bobby Sudekum
04c5399d41
Bump node version - v3.5.3 ( #9144 )
2017-05-30 12:14:08 -07:00
John Firebaugh
6be6263ebf
[core] Replace inline SpriteAtlas updates with diffing
2017-05-30 11:34:13 -07:00
Tobrun
fc495dec12
[android] - harden orientation changes ( #9128 )
2017-05-30 16:56:19 +02:00
Ivo van Dongen
fb3cef632d
[ios][macos] test remove source in use
2017-05-30 13:07:03 +03:00
Ivo van Dongen
5d956d81cc
[android] test remove source in use
2017-05-30 13:07:03 +03:00
Ivo van Dongen
005dc6d122
[core] check source usage before remove
2017-05-30 13:07:03 +03:00
Ivo van Dongen
ff3dc29ffd
[core] ensure layer::accept works with non-void return values on gcc
2017-05-30 13:07:03 +03:00
Bruno de Oliveira Abinader
b83dfb7eb5
Revert "[core] Factor timePoint initialization"
...
This reverts commit 3790caafa3 .
2017-05-30 13:03:07 +03:00
Ivo van Dongen
5cf0fc0f8b
[core] default file source - ensure thread safety for cached values
2017-05-27 10:05:36 +03:00
Ivo van Dongen
89129379f1
[core] default file source - ensure thread safety for local file and asset requests
2017-05-27 10:05:36 +03:00
Ivo van Dongen
b353f45fed
[core] add test to demonstrate waiting threads in mailbox::receive won't crash on self-closing
2017-05-27 09:25:03 +03:00
Ivo van Dongen
b608d85db7
[core] allow self closing mailbox/actor
2017-05-27 09:25:03 +03:00
Asheem Mamoowala
f0d0e7423b
Refactor RenderLayer and RenderSource to be more friendly for Non-tiled sources ( #9058 )
2017-05-26 16:54:36 -07:00
Tobrun
40a73b390b
Release Android v5.1.0-beta.3 ( #9115 )
...
* [android] - Changelog update for Android release v5.1.0-beta.3
* update CI & version
* reset release properties
2017-05-26 22:08:54 +02:00
John Firebaugh
2e0ceeb9c1
[core] Don't need unique_ptr for AnnotationManager
2017-05-26 11:21:56 -07:00
John Firebaugh
aa216d0025
[core] Don't use a separate SpriteAtlas for annotation images
...
Instead, just add them to the Style as needed. Includes changes from #8905 and takes care to avoid regressing #3817 .
2017-05-26 11:21:56 -07:00
John Firebaugh
6cf9d5cfbf
[test] Lower memory ceiling
...
We gained a lot of overhead by reducing the initial SpriteAtlas size.
2017-05-26 11:21:56 -07:00
John Firebaugh
d766af44c8
[core] Auto-growable SpriteAtlas using shelf-pack
2017-05-26 11:21:56 -07:00
John Firebaugh
e4e08aca79
[tests] Add test for calling addAnnotationImage with an existing ID
2017-05-26 11:21:56 -07:00
Tobrun
bc5b147df7
[android] - convert dp to pixels when getting meters per pixel at. ( #9048 )
2017-05-26 20:01:57 +02:00
Pablo Guardiola
82a3a7e746
[android] Update Lost to final version 3.0.0 ( #9112 )
...
* update lost to final version 3.0.0
* bump MAS version to 2.1.1
2017-05-26 20:00:40 +02:00
Tobrun
5716bd3aec
[android] - add binding support for Light ( #9013 )
2017-05-26 16:04:09 +02:00
Tobrun
c392c678ab
[android] - logo placement for creating a Mapview programatically ( #9094 )
...
* [android] - Correct logo placement for creating a Mapview programatically, fixup non default placements
* Fixed NIGHTY_TWO_DP typo to NINETY_TWO_DP
2017-05-26 10:32:11 +02:00
Jordan Kiley
35f548a07d
[ios] Moved MGLLight in jazzy table of contents ( #9111 )
2017-05-25 18:09:45 -07:00
Jesse Bounds
fce7747da0
[ios] Fix annotation initializers for subclasses of MGLAnnotationView ( #9104 )
...
Use a common init function in both of the provided initializers so that subclasses of `MGLAnnotationView` written in Swift don't need to override `init(annotation, reuseIdentifier)`
2017-05-24 21:08:19 -07:00
Fabian Guerra
e1431f9085
[ios, macos] Fix MGLLight.achor to accept style functions
2017-05-24 14:47:47 -04:00
Tobrun
8199315e9d
[android] - LatLngBounds bearing default value ( #9102 )
2017-05-24 20:39:42 +02:00
John Firebaugh
2c8343aa82
[core] Block in Mailbox::close() until neither receive nor push are in progress
...
Otherwise, an ActorRef that's in the process of sending a message could attempt to access an invalid Scheduler reference:
Thread 1 Thread 2
--------------------------------------------------
Scheduler::Scheduler
Actor::Actor
weakMailbox.lock()
Actor::~Actor
Scheduler::~Scheduler
mailbox->push()
scheduler.schedule() 💣
2017-05-24 08:19:19 -07:00
Tobrun
3c35bf1d17
[android] - stop location updates when toggle MyLocationView state ( #9099 )
2017-05-24 14:47:31 +02:00
Ivo van Dongen
8b448786fe
[core] cleanup debug logging
2017-05-24 11:21:34 +03:00
Minh Nguyễn
8c73cb1a46
[macos] Enable View ‣ Traffic Night
...
Enable the View ‣ Traffic Night menu item and check it when that style is active.
2017-05-23 14:37:26 -07:00
Fabian Guerra
091d3d1d7b
[ios] Update pods spec for iOS v3.6.0-beta.1
2017-05-23 17:34:16 -04:00
John Firebaugh
1759603e12
[core] Simplify and fix sprite atlas coordinate calculations
...
* Always return image metrics exclusive of padding
* Work with integer coordinates whenever possible
* Eliminate redundant SpriteAtlasElement members
* Fix asymmetric re-padding in getIconQuad when pixelRatio != 1
* Add explanatory comments
2017-05-23 12:59:27 -07:00
John Firebaugh
9e1cbbeacb
[node] Pixel ratio may be floating point
2017-05-23 12:59:27 -07:00
John Firebaugh
71c8f6aa10
[core] Move pattern coordinate division by texture size into shader
...
This makes pattern usage more like icons, and will be necessary for data-driven *-pattern properties.
2017-05-23 12:59:27 -07:00
John Firebaugh
72b13cef6a
[core] Remove unnecessary optionals in PositionedIcon
...
Lack of icon is already checked at the call site of shapeIcon; no need to check hasArea() here.
2017-05-23 12:59:27 -07:00
Minh Nguyễn
bf000c7d63
[ios, macos] Updated changelogs
...
Reorganized the changelogs with a new packaging section. Added blurbs about #9062 , #8713 , #9060 , and #9031 .
2017-05-23 11:40:43 -07:00
Jason Wray
d90c1722c9
[ios] Move image resources to an asset catalog & switch to PDFs
2017-05-23 13:57:48 -04:00
Jason Wray
9b11bb98fa
[ios] Fallback to Mapbox.bundle as the framework bundle ( #9074 )
...
Fixes an issue where localizations could not be found when using static builds.
Throws exception if our bundle can't be found.
2017-05-23 13:24:16 -04:00
Minh Nguyễn
c9de6cdb6c
[ios, macos] More robust Streets localization
...
Added Arabic, Portuguese, and Simplified Chinese to the list of languages with specialized fields in the Mapbox Streets source.
Rely on NSBundle to select the most appropriate locale based on the user’s preferred languages.
2017-05-23 10:09:48 -07:00
Fabian Guerra Soto
a57e9bc410
[ios,macos] multipolygon coordinate ( #8713 )
...
* [ios] MGLMultiPolygon's coordinate property implemented
* [ios,macos] Add polylabalel to project config
* [ios,macos] Change coordinate property for MGLPolyline,MGLPolygon,MGLMultiPolygon
* [macos] Change project configuration to support polilabel
* [ios,macos] Add MGLLocationCoordinate2DFromPoint
* [ios, macos] Update changelogs
* [ios, macos] remove unnecesary variables
* [ios, macos] Add radians conversions
* [ios, macos] Add coordinate calc to MGLPolyline
* [ios, macos] Move radian fuctions to MGLGeometry_Private.h
* [ios, macos] Fix code style
* [ios, macos] Fix code indentation
* [ios, macos] Fix radian per meters constant
* [ios, macos] Add test scenarios to testPolyline
* [ios, macos] Fix test accuracy
2017-05-23 12:32:18 -04:00
Fabian Guerra Soto
fe17f7e8db
Cherry-pick arabic text to release branch v3.6.0 ( #9071 )
...
* [core] Throttle tiles to redo symbol placement at most once every 300ms.
Fixes issue #8435 and prepares for pitch-scaling changes in issue #8967 .
* [core] Disable letter-spacing for Arabic labels (issue #9057 )
2017-05-23 12:02:09 -04:00
Tobrun
71b6865172
[android] - horizontally rotated in snapshot ( #9083 )
2017-05-23 17:14:18 +02:00
Fabian Guerra Soto
e52249c17f
[ios, macos] Light property implementation in MGLStyle ( #9043 )
...
* [ios, macos] Add MGLLight to MGLStyle
* [ios, macos] Implement Objc bindings for Light object
* [ios, macos] Remove rawLight from MGLLight and re-implement it as value class
* [ios, macos] Fix build on macos
* [ios, macos] Add MGLLight documentation, Move MGLLightPosition to MGLLight
* [ios, macos] Add MGLLight tests.
* [ios, macos] Update changelogs
* [ios, macos] Fix misspelling
* [ios, macos] Fix MGLLightAnchor enum property names
* [ios, macos] Update documentation. Improve varialble naming.
* [ios, macos] Rename MGLLightPosition to MGLSphericalPosition
* [ios, macos] Update data types of MGLSphericalPosition
2017-05-23 10:59:24 -04:00
Ivo van Dongen
3d26574cb4
[android] replace branches on layer types with visitors
2017-05-23 10:06:56 +03:00
Ivo van Dongen
95d2ed7b95
[android] owning constructor for custom layer
2017-05-23 10:06:56 +03:00