Commit Graph

3985 Commits

Author SHA1 Message Date
Eric Wolfe
1ca8f4e2f3 [ios][macos] Updated Mapbox logo in documentation 2017-04-19 17:21:18 -07:00
Tobrun
090677a905 [android] - set firsRender flag to false when destroying the surface (#8739) 2017-04-19 17:39:18 +02:00
Minh Nguyễn
fdee13b429 [common] Updated original application SVG icon
Also deleted an unused, white-on-clear application icon.
2017-04-19 11:25:31 -04:00
Minh Nguyễn
9d1bace3ce [ios] Updated iosapp application iconset 2017-04-19 11:25:31 -04:00
John Firebaugh
c7e6dc4832 [macos] Fix pinch gesture scaling math 2017-04-19 08:01:25 -07:00
Tobrun
553ec88dc0 [android] - expose source layer identifier (#8709) 2017-04-19 15:05:08 +02:00
Cameron Mace
9c1150cfe9 bumped MAS version (#8763) 2017-04-18 18:23:29 -07:00
Tobrun
589d71d7ad [android] - post resetting invalidation flag to avoid race condition (#8738) 2017-04-18 16:13:15 +02:00
Tobrun
8e9eaaabfc [android] - synchronize display and context initalisation with create surface to avoid EGL bad surface (#8759) 2017-04-18 16:12:27 +02:00
John Firebaugh
092da9c956 [core] Remove non-Map-dependent projection methods from Map 2017-04-18 14:43:31 +03:00
Fredrik Karlsson
8eb23cbac8 [ios] Scale bar (#7631)
* [ios] added a scale bar

* [ios] update design

* [ios] show/hide scale bar

* [ios] Remove the need to localize 0

* [ios] Support for imperial units

* [ios] Round to nearest foot

* [ios] Make scale bar private

* [ios] Update design and clean up

* [ios] Rename and various optimizations

* [ios] RTL support

* [ios] added max scale and removed animations

* [ios] animate scale bar
2017-04-16 17:24:17 +02:00
Bruno de Oliveira Abinader
2f4d162deb [core] Tighten geo.hpp ctors 2017-04-14 12:33:13 -07:00
Bruno de Oliveira Abinader
04a3a7383a [core] Remove unused bool() functions 2017-04-14 12:33:13 -07:00
Minh Nguyễn
ef99b108fe [ios] Deleted unused source unit tests
Deleted MGLSourceTests, which has been subsumed by MGLStyleTests and is no longer part of any test target.
2017-04-14 11:20:09 -07:00
Jesse Bounds
9340b4822a [ios, macos] Add Swift integration tests for map view delegate 2017-04-13 14:52:15 -04:00
Pablo Guardiola
cf8584538c remove duplicated resources (#8743) 2017-04-13 20:05:20 +02:00
John Firebaugh
215e002a10 [darwin] Update CHANGELOGs 2017-04-13 10:33:18 -07:00
John Firebaugh
80d0420ea6 [darwin] Remove use of NS_DESIGNATED_INITIALIZER from MGLStyleLayer subclasses
It produces compiler warnings for which there seems to be no workaround, and since there's only a single initializer, NS_DESIGNATED_INITIALIZER has little benefit.
2017-04-13 10:33:18 -07:00
John Firebaugh
e5c6d2838d [darwin] Make -[MGLForegroundStyleLayer sourceIdentifier] abstract
It's already overridden by concrete subclasses, and by making it abstract we enable the removal of the private MGLForegroundStyleLayer category.
2017-04-13 10:33:18 -07:00
John Firebaugh
7b041b123c [core, darwin] Object identity for MGLSource*, MGLStyleLayer*
All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`.
2017-04-13 10:33:18 -07:00
John Firebaugh
de6c9b35f3 [darwin] Simplify MGLStyleLayer initialization and pointer management
Similarly to the previous commit, introduce `-[MGLStyleLayer initWithPendingLayer:]`, allowing the base class to track the owned `_pendingSource` pointer and implement `-addToMapView:` and `-removeFromMapView:` without any casts.

Fixes an issue where `-[MGLStyle layerFromMBGLLayer:]` would wind up creating layers whose `_rawLayer` and `_pendingLayer` held different values.
2017-04-13 10:33:18 -07:00
John Firebaugh
98d005792b [darwin] Simplify MGLSource initialization and pointer management
Introduce `-[MGLSource initWithPendingSource:]`, allowing the base class to track the owned `_pendingSource` pointer and implement `-addToMapView:` and `-removeFromMapView:` without any casts.
2017-04-13 10:33:18 -07:00
John Firebaugh
3a342c709c [darwin] Remove unnecessary MGLTileSource initializers 2017-04-13 10:33:18 -07:00
John Firebaugh
f1c06f8d83 [all] Remove redundant scale-related camera methods
We don't need to have two different measurement systems for map zoom.
2017-04-13 10:28:44 -07:00
Pablo Guardiola
c8480491a6 add polygon holes and custom location source features to changelog (#8741) 2017-04-13 18:05:32 +02:00
Tobrun
f045559b14 [android] - derived source attribution (#8630) 2017-04-13 17:24:46 +02:00
Tobrun
21f54cc506 [android] - add binding integration for Map::setLatLngbounds, add example (#8622) 2017-04-13 16:06:09 +02:00
Jordan Kiley
258ac8219a [ios] added check for annotation view animation (#8565)
Addressed #8489
2017-04-12 11:30:28 -07:00
Minh Nguyễn
8926d3a791 [ios, macos] Updated and reorganized changelogs 2017-04-12 11:28:52 -07:00
Pablo Guardiola
7a66ec6c5e refactor signature from Hole to List<LatLng> (#8722) 2017-04-12 17:45:33 +02:00
Fabian Guerra
12b6fdbe3b Merge branch 'release-ios-v3.5.0-android-v5.0.0' into boundsj-merge-release-branch
# Conflicts:
#	cmake/core-files.cmake
#	mapbox-gl-js
#	platform/android/CHANGELOG.md
#	platform/ios/CHANGELOG.md
#	platform/macos/CHANGELOG.md
#	platform/qt/bitrise-qt5.yml
#	src/mbgl/gl/attribute.hpp
#	src/mbgl/gl/context.cpp
#	src/mbgl/gl/program.hpp
#	src/mbgl/map/map.cpp
#	src/mbgl/programs/program.hpp
#	src/mbgl/renderer/painter.cpp
2017-04-11 21:46:23 -04:00
Minh Nguyễn
0cb05f926b [ios, macos] Clarify redrawing based on multipoint mutation
Clarified the documentation for various MGLMultiPoint methods to indicate that only shape annotations automatically redraw in response to the multipoint object being mutated; sources must be mutated explicitly.
2017-04-11 16:40:18 -07:00
Pablo Guardiola
b71d86599d [android] Polygon holes (#8557)
* add 1 hole support to polygon-related classes

* fix no hole crash and add triangle hole shape example

* add support for multiple holes
2017-04-11 19:10:46 +02:00
David Chiles
10c6f1fe4f [ios] Match gesture recognizer with map view user interaction state 2017-04-11 07:33:22 -07:00
Minh Nguyễn
6a0c4e0142 [macos] Remove link attribute from attribution text
Fixed an issue causing the attribution button text to appear blue instead of black. On macOS 10.12 and above, hyperlinks in attributed strings are blue regardless of any color attributes applied to the same run of text.
2017-04-10 22:06:36 -07:00
Tobrun
d7f9378bca [android] - avoid nullpointer by validating Mapbox.java creation when validating accessTokens. (#8680) 2017-04-11 00:44:18 +02:00
Minh Nguyễn
6b29b2bde6 [qt] Avoid hardcoding Qt cellar path 2017-04-10 14:43:13 -07:00
Bruno de Oliveira Abinader
a9e09c710e [ios, macos] MGLMapView size check for OpenGL 2.0 ES minimum texture size 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
3ad527a59d [android] Recalculate source tile cache size when appropiate 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
f1bcca1465 [android] Initialize NativeMapView with OpenGL ES 2.0 minimum texture size 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
2417d13f08 [ios] Initialize MGLMapView with OpenGL ES 2.0 minimum texture size 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
b25c8f043b [Qt] Sanitize QSize → mbgl::Size conversion 2017-04-10 18:01:28 +03:00
Bruno de Oliveira Abinader
e5aa4d70cd [core] Updated Size::isEmpty and TransformState::valid checks 2017-04-10 18:01:28 +03:00
Pablo Guardiola
df22b614af add compass drawable initialization in ui settings (#8695) 2017-04-10 12:47:07 +02:00
Minh Nguyễn
4d0605a004 [qt] Renamed qt5 formula to qt
Cherry-picked from 3172a9744f.
2017-04-08 19:58:01 -07:00
Minh Nguyễn
3172a9744f [qt] Renamed qt5 formula to qt 2017-04-08 15:55:10 -07:00
Minh Nguyễn
b16d6bfcf6 macos-v0.4.1 2017-04-08 11:46:58 -07:00
Jason Wray
acfa49dd9f [ios] Update podspecs and changelog for v3.5.2 2017-04-07 19:23:04 -04:00
Jesse Bounds
03d10bb67a [ios, macos] Guard against looking up annotation contexts MGLAnnotationTagNotFound (#8686) 2017-04-07 15:23:39 -07:00
Bobby Sudekum
0e72fc4ec3 [node] Calculate image buffer and length once (#8673) 2017-04-07 10:23:31 -07:00