Thiago Marcos P. Santos
f83b8d8ea4
[Qt] Do not use Mapbox GL animations
...
Let animations to QPropertyAnimation so it can sync with other
Qt animations and let the user define the easing curve Qt-style.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7d863d259a
[Qt] Added {Map,GLContext,Constrain}Mode settings
2016-04-20 20:55:51 +03:00
Konstantin Käfer
41dd14d208
[Qt] expose NorthOrientation
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
cb52a78542
[Qt] Define the viewport size before rendering
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
5482a46a04
[Qt] Wire up connection established signal
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
efb96e80ec
[Qt] Use Qt resources for bundling the certificates
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
b9bbe68fe0
[Qt] Introduce --test
...
Run a simple test and print some stats.
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1d98f7eff7
[Qt] Fix ambiguous call to Mapbox GL API
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
a98c82f6e3
[Qt] Use toStdString() to convert QString into std::string
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0e6cc4006f
[Qt] Forward annotations functions
...
Support for custom style properties in shape annotations will be
implemented in the future.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
814a12a63c
[Qt] Forward style{JSON,URL} getters
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
01d50b7bd2
[Qt] Forward style class functions
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
b2cd18a550
[Qt] Forward toggleDebug() from mbgl::Map
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
2d156ec6a9
[Qt] Forward scale setter/getter
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
c8c69f1d2a
[Qt] Build the Qt port
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
029f9f0883
[Qt] Introduce the Qt HTTPRequest and HTTPFileSource
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
e93d51c922
[Qt] Implement the AsyncTask, Timer and RunLoop using Qt
...
Now Mapbox GL will handle events using Qt as backend
instead of libuv.
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
2af3863b57
[Qt] Use QImage for decompressing images
...
Needs to explicitly define the target platform,
otherwise it will use linux/osx.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7a44b95627
[Qt] Add a Qt app example
...
Should build and run with `make run-qt`
Signed-off-by: Bruno Abinader <bruno@mapbox.com >
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com >
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
854b3bc39b
[Qt] Add a Qt wrapper aroung mbgl::Map
...
Signed-off-by: Bruno Abinader <bruno@mapbox.com >
Signed-off-by: Thiago Marcos P. Santos <thiago@mapbox.com >
2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
a0146e372f
[tests] Accept [C|c]onnect as error message
...
Qt will spit "Connect" instead of "connect"
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
7821e21631
[core] Fix compilation warning
2016-04-20 20:55:51 +03:00
Minh Nguyễn
de0705c7ed
[ios, osx] Use HTML links in documentation
...
Replaced Markdown syntax with HTML syntax for hyperlinks in documentation comments. HTML links work both inside Xcode (whether Objective-C or Swift) and on the Web (via jazzy).
Fixes #3961 .
2016-04-20 07:41:05 -07:00
Tobrun
551d48883c
[android] #4260 - added example to navigate from one activity containing a map to another containing a map
2016-04-20 09:11:01 +02:00
Minh Nguyễn
6069647076
[ios, osx] Override user workspace settings
2016-04-19 16:28:30 -07:00
John Firebaugh
4bc4d35c60
[ios] Build output goes to build/ios
2016-04-19 16:28:30 -07:00
John Firebaugh
a883ac9253
[osx] Build output goes to build/osx
2016-04-19 16:28:30 -07:00
John Firebaugh
2d33ae5ed7
[ios, osx] Eliminate use of main.mk
2016-04-19 16:28:30 -07:00
John Firebaugh
24a9d47944
[ios, osx] Remove some non-functional platform.gyp xcode_settings
...
Refs #4738
2016-04-19 16:28:30 -07:00
Minh Nguyễn
f8c52d5d38
[osx] Observe annotation coordinates
...
MGLMapView observes changes to the coordinate property of each MGLAnnotation added to it. Changing the coordinate property in a KVO-compliant way causes the annotation to be relocated and its callout view, if present, to be dismissed. To avoid observing the same annotation twice yet also avoid expensive lookups when adding or removing annotations, MGLMapView indexes added point annotations in an NSMutableSet.
2016-04-19 14:24:59 -07:00
Minh Nguyễn
3976448479
[ios] Refactored annotation image updating
2016-04-19 14:24:59 -07:00
Minh Nguyễn
8a4c2d4b0e
[ios] Observe annotation coordinates
...
MGLMapView observes changes to the coordinate property of each MGLAnnotation added to it. Changing the coordinate property in a KVO-compliant way causes the annotation to be relocated and its callout view, if present, to be dismissed. To avoid observing the same annotation twice yet also avoid expensive lookups when adding or removing annotations, MGLMapView indexes added point annotations in an NSMutableSet.
In iosapp, tapping a callout view moves the selected annotation to the center of the screen and deselects it.
Fixes #1980 .
2016-04-19 14:24:59 -07:00
Minh Nguyễn
7a5406bc50
[ios] Update annotations instead of replacing them
...
When refreshing an annotation’s image, update the annotation instead of replacing it outright.
2016-04-19 14:24:59 -07:00
Minh Nguyễn
bc9b52e0ab
[ios] Annotation image deletion
...
Added an API for deleting unused annotation images’ images. When you nil out the image of an MGLAnnotationImage, MGLMapView deletes the sprite from the style and recreates any annotation associated with the MGLAnnotationImage instance; the MGLAnnotationImage’s falls back to SDK’s default annotation image.
In iosapp, deselecting an annotation resets its image to the default; deselecting it again restores the image.
ref #3185
2016-04-19 14:24:59 -07:00
Tobrun
8703f1ef4b
[android] #4754 - double map view example
2016-04-19 21:29:55 +02:00
Minh Nguyễn
3c4049c796
[ios] Toggle telemetry on main queue
2016-04-19 08:54:39 -07:00
Minh Nguyễn
e7ddaa9285
[ios] Assert that defaults change is on main thread
2016-04-19 08:02:57 -07:00
Minh Nguyễn
d76ef6e53b
[ios] Fixed hang observing user defaults on background queue
...
Fixed a deadlock that could occur if the host application attempts to set user defaults on a background queue. Now we observer user defaults changes synchronously.
2016-04-18 23:13:42 -07:00
Minh Nguyễn
b519ee908b
[ios] Removed mention of MAPBOX_ACCESS_TOKEN
2016-04-18 18:01:12 -07:00
Minh Nguyễn
17a8079f30
[ios] Prompt for access token in ios-bench
...
Prompt for an access token before starting benchmarking.
/ref #4728
2016-04-18 17:54:01 -07:00
Minh Nguyễn
6a6b51efbc
Revert "[ios, osx] Make {ios,osx}app schemes non-shared"
...
This reverts commit bc3512773f .
2016-04-18 17:51:53 -07:00
John Firebaugh
5f9582bd60
[osx] Create shared schemas for mbgl-offline, mbgl-render, and test targets that set a working directory ( #4742 )
...
These targets expect the working directory to be set to the repository root.
2016-04-18 17:42:43 -07:00
Minh Nguyễn
7606fc6548
[ios] Disable telemetry in simulator
...
When running in the simulator, disable telemetry outright instead of pointing it to the staging server.
2016-04-18 16:56:14 -07:00
Minh Nguyễn
b3a2c0d53f
[ios] Removed app transport security exception for staging
...
Also removed staging server URL from UI test application.
2016-04-18 16:56:14 -07:00
Minh Nguyễn
4edd1e9658
[ios] Use staging server in simulator
...
Use the staging telemetry server when compiled for the iOS Simulator.
Fixes #3621 .
2016-04-18 16:56:14 -07:00
John Firebaugh
0c44266ffb
[osx] Explicitly link SystemConfiguration.framework
2016-04-18 16:48:02 -07:00
Minh Nguyễn
27842221c9
[ios] Replaced MGLMapView redeclaration with internal header
2016-04-18 15:47:47 -07:00
Minh Nguyễn
d86e7323cc
[ios] Deprecated -[MGLMapView emptyMemoryCache]
...
Deprecated -[MGLMapView emptyMemoryCache]. Switched ios-bench to a redeclared -didReceiveMemoryWarning as a workaround.
Fixes #1833 .
2016-04-18 15:45:27 -07:00
Minh Nguyễn
1818576fe6
[ios] Made userTrackingMode KVO-compliant
...
Fixes #4363 .
2016-04-18 15:19:15 -07:00
Minh Nguyễn
96e0857227
[ios] Prompt for access token in iosapp
...
If no access token is found in user defaults at launch, iosapp prompts the user for an access token. Renamed the user defaults key for the access token to conform to Cocoa naming conventions.
Fixes #4696 .
2016-04-18 14:57:20 -07:00