Commit Graph

17582 Commits

Author SHA1 Message Date
Asheem Mamoowala
1b86bf16b2 [core] Render Image Source 2017-06-01 15:38:01 -07:00
Asheem Mamoowala
aa6647e910 [core] Offline support for Image Sources 2017-06-01 15:38:01 -07:00
Asheem Mamoowala
c0c1028dcf [core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates 2017-06-01 15:38:01 -07:00
Asheem Mamoowala
7a010df956 [core] Add ImageSource support to style parsers 2017-06-01 15:38:01 -07:00
Fabian Guerra
3b837d93ad Merge branch 'release-ios-v3.6.0-android-v5.1.0' of github.com:mapbox/mapbox-gl-native into release-ios-v3.6.0-android-v5.1.0 2017-06-01 14:32:09 -04:00
Jesse Bounds
012e88cc9b [ios] Make annotation view rotation alignment configurable (#9147)
This commit adds `rotatesWithMap` property on `MGLAnnotationView`. This
property, when set to `YES` fixes the annotation to a map such that view
follows map's rotation angle. This is useful when user wants to display
rotation-dependent annotations (e.g. sector lights).
2017-06-01 10:53:02 -07:00
Bruno de Oliveira Abinader
0d171dbe0e [core] Make TransformState LatLngBounds optional 2017-06-01 13:46:53 -04:00
Ivo van Dongen
9068c90fc4 [android] fix crash in runtime style ui tests 2017-06-01 18:14:19 +03:00
Bruno de Oliveira Abinader
99cfbacdfb [core] Make TransformState LatLngBounds optional 2017-06-01 17:04:09 +03:00
Pablo Guardiola
b2f277ac62 add null check in custom location engine activity to prevent null pointer exception (#9159) 2017-06-01 14:10:18 +02:00
Pablo Guardiola
52eba423ae [android] Cherry picking 9133 (#9145)
* [android] Fix tracking mode + camera race condition (#9133)

* [android] fix tracking mode + camera race condition

* fix resetTrackingModesIfRequired bug (comparing current camera position with target camera position

* cherry pick #9133 and update CHANGELOG

* add null check to prevent null pointer exception
2017-06-01 10:05:31 +02:00
Fabian Guerra
af2547776a [ios] Update pods spec for iOS v3.6.0-beta.2 2017-05-31 14:35:01 -04:00
Pablo Guardiola
b6a4f1212c [android] fix missing access token variable issue (#9151) 2017-05-31 12:59:01 +02:00
Pablo Guardiola
8935845171 [android] Fix tracking mode + camera race condition (#9133)
* [android] fix tracking mode + camera race condition

* fix resetTrackingModesIfRequired bug (comparing current camera position with target camera position
2017-05-31 09:56:31 +02:00
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