Commit Graph

7458 Commits

Author SHA1 Message Date
Minh Nguyễn
9f72d720d9 [ios] Updated changelog for map thread removal 2016-04-21 20:34:26 -07:00
Minh Nguyễn
e404eeae1b [ios] Fixed crash on missing access token
Fixed a race condition in which the access token alert controller would fail to present because the view controller hadn’t yet entered the view hierarchy, plus a downstream crash caused by the access token being missing.
2016-04-21 17:52:16 -07:00
John Firebaugh
ab97e6012c [core] Fix default value for text-max-width
Fixes #4788
2016-04-21 17:23:34 -07:00
John Firebaugh
d4c98cabf3 [core] Make Function constructor explicit 2016-04-21 17:23:15 -07:00
Minh Nguyễn
e898b0a459 [osx] Reset pending min/max zoom levels
Followup to #4789.
2016-04-21 17:05:21 -07:00
Minh Nguyễn
3a22033b90 [ios, osx] Constrain zoom level when selecting offline pack
When selecting an offline pack for display in iosapp or osxapp, constrain the zoom level to the pack’s minimum and maximum zoom levels.

Fixes #4787.
2016-04-21 16:50:45 -07:00
Minh Nguyễn
0dbec51401 [ios, osx] Copyedited installation documentation
Copyedited installation documentation to make sense to less experienced Xcode users, ensure consistency, remove redundant language, and reflect recent build changes.
2016-04-21 14:43:49 -07:00
John Firebaugh
b2beeda50b [core] Adopt a strict naming convention for style properties
This will allow code to be generated from the style specification.
2016-04-21 14:05:40 -07:00
John Firebaugh
2ea450205d [core] PlacementType ⇢ SymbolPlacementType 2016-04-21 14:05:40 -07:00
John Firebaugh
2df1c36ab8 [core] JoinType ⇢ LineJoinType 2016-04-21 14:05:40 -07:00
John Firebaugh
a14f0d2edd [core] CapType ⇢ LineCapType 2016-04-21 11:01:56 -07:00
Bruno de Oliveira Abinader
4e04a107e8 Revert "[core] Do not clear custom layers upon style switch"
This reverts commit 8ec875b87c.
2016-04-21 20:15:18 +03:00
Bruno de Oliveira Abinader
3ee9d12013 [Qt] Remove duplicated mbgl::Map initialization 2016-04-21 17:33:07 +03:00
Bruno de Oliveira Abinader
8ec875b87c [core] Do not clear custom layers upon style switch 2016-04-21 15:09:54 +03:00
Thiago Marcos P. Santos
2ec1d82b15 [Qt] Add QMapboxGL to README.md
Qt now lives on the main repository.
2016-04-21 13:51:02 +03:00
Bruno de Oliveira Abinader
d46982be2b Merge pull request #4773 from mapbox/travis-qt5
[build] Added Qt 5 build for Travis CI
2016-04-21 11:02:00 +03:00
Jason Wray
c625dd0f7e [ios] Update changelog URLs in the bundled readmes
[skip ci]
2016-04-21 01:38:53 -04:00
Jason Wray
2c456becbe Update links to platform-specific changelogs
[skip ci]
2016-04-20 20:31:23 -04:00
Minh Nguyễn
93e9ffea88 [ios] Corrected link to CONTRIBUTING.md 2016-04-20 14:57:43 -07:00
Minh Nguyễn
4a67491a77 [ios] Relative link to CONTRIBUTING.md 2016-04-20 14:57:17 -07:00
Minh Nguyễn
2aaa8b9474 [ios, osx] Ignore invalid observation context
If a subclass of MGLMapView registers itself as an observer of a non-multipoint annotation’s coordinate key path but fails to handle the change in its -observeValueForKeyPath:ofObject:change:context: implementation, the context would likely be a value other than the annotation’s tag. In that case, avoid doing anything in response to the coordinate changing. Even if the context in that case happens to match the annotation’s tag – say, because the developer passed in NULL (which is equal to 0) for the first added annotation (which would have a tag of 0) – the result would be an unnecessary but harmless update.
2016-04-20 14:23:57 -07:00
Minh Nguyễn
72086edb6e [ios, osx] Avoid observing coordinate on MGLMultiPoint
There’s no point observing the coordinate key path on MGLMultiPoint, since that property is immutable. Use the observation context instead of performing an annotation tag lookup when a coordinate has changed.
2016-04-20 14:23:57 -07:00
Minh Nguyễn
268884368a [ios, osx] Fixed crash removing multipoint or duplicate annotation
Fixed a crash removing a polyline or polygon by observing the coordinate key path on all annotations, not just non-MGLMultiPoints.

Pass in the annotation tag as the observation context. This fixes a crash when an annotation is added to the map view more than once, then removed more than once.
2016-04-20 14:23:57 -07:00
Dane Springmeyer
74ad04499c [core] remove unused code in value.hpp (#4768)
Noticed this dead code while reviewing `mapbox::variant` usage with @artemp
2016-04-20 13:14:13 -07:00
Bruno de Oliveira Abinader
bf013e5cad [build] Added Qt 4 build for Travis CI 2016-04-20 20:55:51 +03:00
Konstantin Käfer
e5c829b38c [Qt] use libjpeg-turbo rather than Qt's built-in JPEG decoding
libjpeg-turbo is typically 2-4x faster than the built-in decoding.
2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
01b06c2301 [Qt] WebP support 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
8ff17ffc9a [Qt] Expose {add,remove}CustomLayer 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
0d4ccd4e44 [Qt] Expose QMapboxGL::updatePointAnnotation 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
fa6421a56f [Qt] Implement QMapboxGL::jumpTo 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
459e72d72a [Qt] Expose API to go full offline/online 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
e974dd282d [Qt] Add function for get coordinates and zoom based on a bounding box 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
19e1129367 [Qt] Add the QMapbox header with QMapbox datatypes 2016-04-20 20:55:51 +03:00
Bruno de Oliveira Abinader
dd075d53ed [Qt] Added pitch property 2016-04-20 20:55:51 +03:00
Thiago Marcos P. Santos
1ea7bde065 [Qt] Add support for margins 2016-04-20 20:55:51 +03:00
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