Commit Graph

4120 Commits

Author SHA1 Message Date
Minh Nguyễn
8699bcdbf0 [ios, macos] Updated changelogs 2017-06-16 11:55:12 -07:00
Fabian Guerra
6a781414c6 [ios] Update pods spec for iOS v3.6.0-beta.3 2017-06-16 11:03:49 -07:00
Fabian Guerra Soto
67c09b18e4 MGLLight autogenerate scripts (#9260)
* [ios, macos] Add the MGLLight generation templates

* [ios, macos] Add MGLLight generation script

* [ios, macos] Add the auto-generation script for MGLLight.mm

* [ios, macos] Add the auto-generation script for MGLLightTest.mm

* [core] Add const to Position constructor.

* [ios, macos] Simplify MGLLightTest.mm autogenerate script.
2017-06-16 06:41:51 -07:00
Jason Wray
6cba15f3a9 [ios] Remove old Fabric build infrastructure 2017-06-14 17:36:51 -04:00
Jordan Kiley
df3af97389 [ios, macos] Revised descriptions for abstract classes (#9095)
Addresses https://github.com/mapbox/mapbox-gl-native/issues/8635
2017-06-14 11:26:34 -07:00
Tobrun
7bfcce0266 Cherry pick release (#9263)
* [core] - bump earcut version dependency to handle  unused lamba warning (#9242)

* [android] - snapshot bitmap contains view based content (#9252)
2017-06-14 14:34:03 +02:00
Tobrun
0c275ad6fa [android] - correct source changed map event javadoc (#9243) 2017-06-13 12:43:48 +02:00
Fabian Guerra
87a05b29c9 [ios, macos] Fix MGLSphericalPosition.radial misleading type. 2017-06-12 15:17:02 -04:00
Tobrun
e59766f4e8 [android] - run MapboxMap invocations to ui thread for instrumentation tests (#9198) 2017-06-12 11:02:36 +02:00
Tobrun
294f4f8df9 [android] - update changelog for v5.1.0-beta.4 (#9232) 2017-06-09 15:47:21 +02:00
Tobrun
6ec5e4f8cd Cherry picks to release branch (#9230)
* [ios][macos] test remove source in use

* [android] test remove source in use

* [core] check source usage before remove

* [core] ensure layer::accept works with non-void return values on gcc

* [android] - remove upgrade runtime exceptions (#9191)
2017-06-09 12:05:54 +02:00
Tobrun
fa972fad60 [android] - update components with camera values when animating (#9174) 2017-06-09 11:11:33 +02:00
Tobrun
9f88e37366 Custom location source fix (#9142)
*  [android] - custom location engine fixes (#9139)

* Update to latest LOST dependency, fixup internal location source integration
2017-06-09 10:00:00 +02:00
Tobrun
233117fe57 [android] - invalidating MyLocationView bearing when not following position (#9212) 2017-06-08 08:44:29 +02:00
Łukasz Paczos
78eca869ae [android] - option to disable camera animation while following position (#9210) 2017-06-07 18:02:28 +02:00
Tobrun
ae837f4db2 [android] - remove conversion from pixels to dp (#9205) 2017-06-07 12:41:30 +02:00
Łukasz Paczos
45327b6ac4 [android] - keep location tracking mode after screen rotation (#9187)
* [android] - keep location tracking mode after screen rotation (#9186)

* [android] - using easeCamera to keep location tracking instead of overloaded moveCamera (#9187)

* [android] - checkstyle fix up
2017-06-06 21:09:20 +02:00
Łukasz Paczos
a1f8de6679 [android] - dealing with infinite camera move callbacks (#9177) (#9194) 2017-06-06 12:15:21 +02:00
Tobrun
ef7b3552b5 [android] - only invoke callback if fling scrolling animation isn't going to be ignored. (#9192) 2017-06-06 12:13:56 +02:00
Tobrun
da53200704 [android] - validate if gestures should execute (#9173) 2017-06-02 12:39:35 +02: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
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
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
Tobrun
fc495dec12 [android] - harden orientation changes (#9128) 2017-05-30 16:56:19 +02: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
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
Tobrun
3c35bf1d17 [android] - stop location updates when toggle MyLocationView state (#9099) 2017-05-24 14:47:31 +02: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
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
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
Jordan Kiley
a19fd81730 [ios, macos] changed TRUE -> 'true' (#9059) fixes #9056 2017-05-19 16:08:03 -07:00