Commit Graph

1967 Commits

Author SHA1 Message Date
John Firebaugh
b4b693e09f [android] Add completedTile{Count,Size} bindings 2016-04-27 13:41:29 -07:00
John Firebaugh
68cbaf6d3d [ios, osx] Add countOfTilesCompleted binding 2016-04-27 13:41:29 -07:00
John Firebaugh
b39f22e6b6 [core] Refactor getRegionCompletedStatus; add completedTileCount; add tests 2016-04-27 13:41:29 -07:00
Brent Whitman
a706a2a48d [ios, osx] Add a property for bytes used by offline tiles 2016-04-27 13:41:29 -07:00
Thiago Marcos P. Santos
6ea257fa6a [Qt] Set a zoom and a coordinate on the QML test app 2016-04-27 21:53:21 +03:00
Thiago Marcos P. Santos
30fb7f4738 [Qt] Expose center and zoom properties 2016-04-27 21:53:21 +03:00
Tobrun
2656b5c733 [android] #4850 - add non-gl content to snapshot bitmap 2016-04-27 20:12:26 +02:00
Tobrun
efa654bf4d [android] #4850 - user location view is show instantly when toggled on 2016-04-27 20:10:41 +02:00
Bruno de Oliveira Abinader
fde981a4fc [build] Move Qt version define to configure.sh 2016-04-27 18:57:31 +03:00
Brad Leege
dc985afde6 [android] Updating AWS Device Farm Python Script URL 2016-04-27 10:38:01 -05:00
Bruno de Oliveira Abinader
c7379f188e [Qt] Flip Qt Quick item vertically if Qt version >= 5.6 2016-04-27 17:36:36 +03:00
Bruno de Oliveira Abinader
a083fcbd77 [Qt] Added qt-qml-app example 2016-04-27 17:36:35 +03:00
Bruno de Oliveira Abinader
72bcad210d [Qt] Added QQuickMapboxGL{,Renderer} 2016-04-27 17:36:35 +03:00
Thiago Marcos P. Santos
205ecff6d7 [Qt] Use shared GL context by default 2016-04-27 17:36:30 +03:00
Bruno de Oliveira Abinader
0e465a1248 [build] Qt cleanup 2016-04-27 17:07:19 +03:00
Minh Nguyễn
1dd7492fee [ios] Moved .stringsdict from Base.lproj to en.lproj
.stringsdict overrides need to be in real language .lprojs, not Base.lproj.
2016-04-26 21:55:32 -07:00
Minh Nguyễn
51cd97861c [ios] Announce zoom level, visible annotations after zooming
Announce the zoom level and number of visible annotations after zooming using VoiceOver’s swipe up or swipe down gesture.

Works toward #4821.
2016-04-26 16:47:04 -07:00
Brad Leege
d5970f2ef3 [android] #4835 - Adding disable location icon switch to FAB 2016-04-26 17:07:23 -05:00
Brad Leege
fcadb064eb [android] #4835 - Adding tracking and cleanup of myLocationListener functionality 2016-04-26 17:07:23 -05:00
Brad Leege
ef8cc24945 [android] #4835 - Adding FAB Toggle UI And Functionality 2016-04-26 17:07:23 -05:00
Brad Leege
02d82c9f51 [android] #4835 - Restoring Initial setup of MyLocationToggle UI 2016-04-26 17:07:23 -05:00
Brad Leege
0b5a994246 [android] #4835 - Initial setup of MyLocationToggle UI 2016-04-26 17:07:23 -05:00
Minh Nguyễn
8d5a6b515f [ios] Only post layout change notifications when focused
Constantly posting accessibility layout change notifications on every location change made it very difficult to stay focused on an accessibility element, be it the user dot or some other element. Now we only post the notification when the user dot is focused, user tracking mode is off (so the user dot actually has a chance to move around), and the application is active (not in the middle of application switching).
2016-04-26 14:19:10 -07:00
Minh Nguyễn
193a843013 [ios] Fixed ℹ️, user dot accessibility
The user location annotation view is created lazily, so if the user dot isn’t within view at launch, it doesn’t exist by the time UIKit first queries MGLMapView for child accessibility elements. This caused console spew about missing accessibility elements and prevented the ℹ️ from being visible to XCUITest.
2016-04-26 14:19:05 -07:00
Tobrun
bf493f96cd [android] #4800 - correct background offsets from attributes 2016-04-26 22:24:18 +02:00
Tobrun
e2510fce79 [android] #4800 - default location view from start: introduced attributes, update MapboxMapOptions, added tests. updated MockParcel 2016-04-26 22:24:17 +02:00
Tobrun
ba9703351d [android] #4845 - disable robotium 2016-04-26 20:56:24 +02:00
Mike Morris
64fe75b011 node-v3.1.2 2016-04-26 11:48:02 -04:00
Thiago Marcos P. Santos
18c337c845 [Qt] Split Qt flags
The shared library won't link with things that we don't
use, like QtOpenGL anymore.
2016-04-26 18:36:07 +03:00
Tobrun
b39d289920 [android] #3231 - add support for tinting attribution icon through xml - MapboxMapOptions, AttributionDialog will use the same color values 2016-04-26 12:28:36 +02:00
Tobrun
3602fdc040 [android] #3231 - added support for automatic tinting ui components used the client developer material colors 2016-04-26 12:28:36 +02:00
Konstantin Käfer
4770a9eb21 [osx] make scrollwheel zooming smoother
- uses the same algorithm as the GLFW app to determine scrollwheel zoom speed
- disables transitions which makes the trackpad feel faster due to immediate response
2016-04-26 10:42:33 +02:00
Konstantin Käfer
f9bdaa9d3a [osx] disable touch events
they are canceling out trackpad scrolling events
2016-04-26 10:42:33 +02:00
Minh Nguyễn
27f77b6bfa [ios] Hide compass from VoiceOver when pointing north
Fixes #4820.
2016-04-26 00:16:20 -07:00
Minh Nguyễn
cf2ef5b40b [ios] Use default images for world tour destinations
Use the default red pin images for world tour destinations in iosapp instead of the two characters usually used for the “Add n Points” actions.
2016-04-25 22:02:06 -07:00
Jason Wray
8ce0fb4739 [ios] Update frame size when changing dot/puck mode
- Keeps the same center point
- `updateFrameWithSize:` does not take CGSize because there is not yet
  support for non-square user location annotations
2016-04-25 17:00:43 -04:00
Minh Nguyễn
0339639e3d [osx] Fixed crash on launch on OS X 10.10
Fixed a crash introduced in #4783 that occurs when launching osxapp. -[NSString localizedCapitalizedString] is only available on OS X 10.11 and above.
2016-04-25 13:59:43 -07:00
Brad Leege
d20174270b [android] #4829 - Use CopyOnWriteArrayList for non blocking iterations 2016-04-25 14:39:24 -05:00
Thiago Marcos P. Santos
8b9f84d815 [Qt] Add toolchain support
Enables cross-compilation.
2016-04-25 16:44:28 +03:00
Bruno de Oliveira Abinader
db9f305b49 [Qt] Force lib install name to be executable path on OS X 2016-04-25 16:19:03 +03:00
Thiago Marcos P. Santos
1abad528af [Qt] Do not ignore compilation errors
But will no longer build with GCC 5.
2016-04-25 15:32:39 +03:00
Thiago Marcos P. Santos
5c3ae4c3d6 [Qt] Only include and link with QMapboxGL lib
Fixes #4808
2016-04-25 15:26:30 +03:00
Thiago Marcos P. Santos
d00f55de41 [Qt] Do not use non-Qt headers 2016-04-25 15:00:14 +03:00
Thiago Marcos P. Santos
a65c9ca134 [Qt] Set default visibility to hidden for Qt
Expose less symbols on the shared library.

Fixes #4809
2016-04-25 14:15:04 +03:00
Minh Nguyễn
d9a2a845de [ios] Added accessibility labels, hints, gestures
Fixed an issue where the “return to map” accessibility element lacked a label. Always update the title and subtitle of an annotation accessibility element, in case the title or subtitle changes from one showing to the next.

Added a hint for annotations. Use declarative rather than imperative for hints.

Marked the map view and its annotations as adjustable so that swiping up and down with VoiceOver zooms out and in, respectively.

Added accessibility values to toolbar buttons in iosapp.
2016-04-25 00:24:35 -07:00
Minh Nguyễn
7cc3928a19 [ios] Made annotation callouts accessible
Via nfarina/calloutview#84, SMCalloutView is now accessible. Activating a focused annotation now shows its callout view and focuses its left accessory view, if present, or the title view. There is a “return to map” accessibility element for dismissing the callout view and restoring focus to the annotation on the map.
2016-04-25 00:18:57 -07:00
Minh Nguyễn
9d3269eaa3 [ios] Restored user dot accessibility
Put the user dot back into rotation as an accessible element.
2016-04-25 00:18:06 -07:00
Minh Nguyễn
babc43ea62 [ios] Made annotations accessible
Lazily create and cache accessibility elements for visible annotations as UIAccessibility asks about them.

Sort the annotations’ accessibility elements by the annotations’ distance from the logical center (the center after accounting for padding, or the user dot when user tracking mode is on).

Updated the changelog.

Fixes #1493.
2016-04-25 00:17:02 -07:00
Minh Nguyễn
893a777a2f [ios] Made compass and user dot accessible
Made the compass behave like a button when visible. Added accessibility values and hints. The compass’s accessibility value uses the compass direction formatter. Turned off direct interaction with the map because it obscures the ornaments.

The user dot now reports the current coordinates. Its accessibility label now reflects its annotation’s title instead of the hardcoded label “User location”. (It’d be weird to address the VoiceOver user as “user”.)
2016-04-25 00:16:28 -07:00
Minh Nguyễn
9350075812 [ios] VoiceOver support for MGLMapView
Enabled direct interaction with `MGLMapView`, allowing for panning and so forth. Defined an accessibility value that announces the current center coordinate. Inset the map view accessibility frame to exclude ornaments from the interactive element.
2016-04-25 00:15:56 -07:00