Minh Nguyễn
2d2ba3a482
[ios] Use MGLErrorDomain for errors
2016-03-05 21:44:22 -08:00
John Firebaugh
cce49c147d
[android] Don't leak global references to OfflineRegionObservers
2016-03-04 18:45:38 -08:00
Konstantin Käfer
8112ac3371
[core] explicitly initialize a few fields to null
2016-03-04 16:01:41 -08:00
Sascha Peilicke
661e9e7f49
Add package 'offline' to proguard keeps
...
To avoid release build crashes at runtime due to missing classes.
2016-03-04 16:00:13 -08:00
John Firebaugh
dbffe1dfab
[android] Use jni.hpp low-level wrappers
2016-03-04 15:33:32 -08:00
John Firebaugh
068998cf8a
[android] Remove JNI_OnUnload; it is in practice never called
...
http://bleaklow.com/2006/02/18/jni_onunload_mostly_useless.html
2016-03-04 15:33:32 -08:00
John Firebaugh
edbd4284f2
[android] Remove JNICALL; it's a no-op macro
2016-03-04 15:33:32 -08:00
John Firebaugh
f321bf2514
[android] Remove unnecessary declarations from jni.hpp
2016-03-04 15:33:32 -08:00
John Firebaugh
235f4ee6f6
[android] Use jni.hpp in http_request_android.cpp
2016-03-04 15:33:32 -08:00
John Firebaugh
9e0be736fc
[android] Add jni.hpp headers to build
2016-03-04 15:33:32 -08:00
John Firebaugh
55c5c3c891
[bin] Print message when tile count limit is exceeded
2016-03-04 15:15:10 -08:00
John Firebaugh
eb9b463841
[core] Fix offline status reporting with pre-existing tiles ( #4147 )
2016-03-04 15:15:09 -08:00
Thiago Marcos P. Santos
803adf42c9
Merge pull request #4199 from PaulZed/ImmediateModeFix
...
Fix for label collision forcing immediate mode rendering on some hardware.
2016-03-04 16:30:51 -03:00
Jason Wray
2ed4a16605
[ios] Update telemetry opt-out docs link
2016-03-04 13:48:26 -05:00
Henry Dooley
cf4dddd1b9
Fixes an issue where rendering without Vertex Array Objects would cause a massive slowdown in the driver on Nvidia hardware. Unconfirmed if the issue is present on other GPUs.
2016-03-04 10:23:09 -08:00
boundsj
d10d3eef43
[iOS] #4148 Update event serialization to the V2 specification.
...
This updates the endpoint for events to "v2" and updates
appUserTurnstile, map.load, map.click, map.dragend, and location
to the V2 spec.
2016-03-03 17:45:10 -08:00
Jesse Bounds
c6d84f0d71
Merge branch 'release-ios-v3.2.0'
2016-03-03 15:47:23 -08:00
Antonio Zugaldia
ee12824c83
[android] Make listOfflineRegions include definitions
...
Fixes #4165
2016-03-03 13:14:56 -05:00
Bruno de Oliveira Abinader
7ced8e97ba
[core] Reset pitch in Map::resetPosition
2016-03-03 17:02:15 +02:00
Bruno de Oliveira Abinader
bb434aa9e4
[core] Use TransformState::worldSize() whenever possible
2016-03-03 17:02:15 +02:00
Bruno de Oliveira Abinader
27b798da91
[core] Simplify TransformState::moveLatLng
2016-03-03 17:02:15 +02:00
Bruno de Oliveira Abinader
8944e2c588
[core] Replaced raw values with util::tileSize
2016-03-03 17:02:15 +02:00
Bruno de Oliveira Abinader
877adedb0f
[core] Fix style cascade loop when transitioning
2016-03-03 15:47:03 +02:00
Tobrun
bc63d75227
[android] #3867 - performance improvement for invalidating the camera
2016-03-03 13:28:01 +01:00
Tobrun
e2da260a8e
[android] #4149 - added a drop pin example to the GeocoderActivity
2016-03-03 08:48:49 +01:00
Tobrun
d994f2de0f
[android] #4166 - move style url to map view for improved async loading
2016-03-03 07:38:23 +01:00
Bruno de Oliveira Abinader
fd123de8ad
[core] Regression fix in LatLng::unwrapForShortestPath
...
When porting this from Transform::unwrapLatLng, I forgot to check for
the second alternative.
Fixes #4174 .
2016-03-03 00:38:21 +02:00
Thiago Marcos P. Santos
2b0749e3c6
[offline] Accept parameters
...
The defaults remains the same: Bay area at zoom 15.
The key, if not supplied, is taken from the environment.
```
Allowed options:
-s [ --style ] URL Map stylesheet
--north degrees (=37.200000000000003) North latitude
--west degrees (=-122.8) West longitude
--south degrees (=38.100000000000001) South latitude
--east degrees (=-121.7) East longitude
--minZoom number (=0) Min zoom level
--maxZoom number (=15) Max zoom level
--pixelRatio number (=1) Pixel ratio
-t [ --token ] key Mapbox access token
-o [ --output ] file (=offline.db) Output database file name
```
2016-03-02 15:30:37 -03:00
Tobrun
7d0dea8dad
[android] #4157 - handle null icon when using parceable on MarkerOptions
2016-03-02 08:21:57 +01:00
Bruno de Oliveira Abinader
9346a6d038
[core] Avoid precompute overscaling for TileID
...
Plus type change for zoom and removed redundant inlines.
2016-03-01 21:39:36 +00:00
Bruno de Oliveira Abinader
c6757b9a9b
[core] Added DEGREES_MAX as constant value
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
fde0ab98ee
[core] Moved TileCoordinate to tile cover scope
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
6e6d91478e
[core] Cleared TileCoordinate from Painter
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
abe3f9ce7a
[core] Moved wrapping to LatLng scope
...
Fixes a precision loss when converting unwrapped LatLngs.
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
b325df880b
[core] Simplify Screen to Geometry coordinate conversion
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
9771b0e569
[core] Use GeometryTileFeature::defaultExtent by default
...
GeoJSONTile and AnnotationTile don't need to reimplement getExtent() if
they use the same default value. This also helps point and shape
annotations to avoid using raw values.
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
fcaafcc428
[core] Replace std::array<double, N> usage in SourceInfo
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
c17e954983
[android|ios|osx] Fix return type for pixelForLatLng
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
4994b3dc57
[core] PrecisionPoint is now ScreenCoordinate
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
1ce99d2d7b
[core] Explicit instantiate vec{2,3,4}<double>
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
1d984d2bb2
[core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
f3fc87261c
[core] Coordinate is now GeometryCoordinate
...
Also introduced GeometryCoordinates (vector of GeometryCoordinate
items), to better cope with GeometryCollection.
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
411a562061
[core] Enforce constants usage
...
Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever
possible.
2016-03-01 20:58:54 +00:00
Bruno de Oliveira Abinader
9955087767
[core] Fix potential precision data loss
2016-03-01 20:58:54 +00:00
Brad Leege
5ac6fc523d
[android] #4145 - Updating to OkHttp 3.2.0 and switching Telemetry Certificate Pins to SHA256
2016-02-29 13:48:47 -06:00
Brad Leege
c990aa8bf3
[android] #4142 - Removing Partial Wake Lock
2016-02-29 13:21:35 -06:00
Antonio Zugaldia
55cacfafd4
[android] Simplify offline metadata API on Android
...
Fixes #4139
2016-02-29 13:45:08 -05:00
Antonio Zugaldia
bef7fe76ff
[android] Set log level of successful HTTP requests to verbose
...
Fixes #4120
2016-02-29 10:35:46 -05:00
Minh Nguyễn
6f9d5f58c4
[ios] Updated changelog
...
Updated the changelog with @boundsj’s notes; corrected a bad merge in 17f44d7bd9 .
[skip ci]
2016-02-27 14:26:07 -08:00
Minh Nguyễn
73430aed38
[ios] Moved static include file
...
This file was originally added on the release-ios-v3.1.0 branch, before #3913 merged ios/ into platform/ios/. When the release branch was merged back into master in 17f44d7bd9 , the file was left in the old ios/ directory.
2016-02-27 13:43:39 -08:00