Tobrun
9beb6629b6
[android] #3752 - added scroll by x,y feature, introduced new CameraUpdateType, introduced caching system for invalidating CameraPosition, general cleanup, readded getLatLng in MapView, ..
...
[android] #3752 - correctly invalidating cameraposition
2016-02-03 18:38:38 +01:00
John Firebaugh
37c27f3a8f
[core] Improve LatLngBounds API
...
* Use "named constructors": empty, world, hull
* Make the two-argument constructor lenient (i.e., it is a hull operation)
* Add various accessors
* Enforce a single empty representation
2016-02-02 23:04:18 -08:00
John Firebaugh
032c8fba3c
[core] Remove unused
2016-02-02 20:20:47 -08:00
John Firebaugh
b78bc7c555
[core] Remove superflous inlines
2016-02-02 18:53:37 -08:00
John Firebaugh
7c00432528
[core] Remove unused
2016-02-02 18:53:37 -08:00
John Firebaugh
82d67d6912
[core] Remove unused
2016-02-02 18:53:37 -08:00
Ansis Brammanis
8e9510d2b4
[core] tweak dash rendering and enable render tests
...
fixes #2646
2016-02-02 17:09:38 -08:00
Ansis Brammanis
2cfc624848
[core] make symbol sort order more deterministic
2016-02-02 16:17:30 -08:00
Ansis Brammanis
4e0d1070f6
[core] support tiles with non-4096 extents
...
Convert all geometries to the maximum extent supported by our buffers
and then use that constant extent everywhere else.
2016-02-02 14:49:03 -08:00
John Firebaugh
f1f53c36d0
[core] Simplify latLngToCoordinate calculation
2016-02-02 12:56:44 -08:00
John Firebaugh
f198f306f3
[core] Remove unused
2016-02-02 12:44:28 -08:00
John Firebaugh
5512d87362
[core] Remove TransformState::getNormalizedZoom
...
It calculated the same value as TransformState::getZoom.
2016-02-02 12:44:28 -08:00
John Firebaugh
7e18945f90
[core] Remove unused declarations
2016-02-02 12:44:28 -08:00
John Firebaugh
b97dcbc125
[tests] Reorganize tests to match src structure
2016-02-02 11:31:13 -08:00
Tobrun
ce8c6e26d5
[android] #3736 - clicks should ignore marker validation when an InfoWindowAdapter is supplied by end developer.
2016-02-02 18:08:14 +01:00
Tobrun
6dff169f2b
[android] #3754 - newLatLngBounds: unit tests for LatLng and LatLngBounds, builder pattern + refactoring.
...
[android] #3754 - Working version using the underlying VisibleCoorindateBounds
[android] #3754 - refactor Camera api inside maps package, correctly use factory pattern, LatLngBounds hooks into camera API
[android] #3754 - cleanup old API
2016-02-02 17:25:46 +01:00
Tobrun
a699690c16
[android] #3759 - Add SupportMapFragment, test app integration, cleanup old fragment implementation
2016-02-02 08:18:41 +01:00
Minh Nguyễn
7694eebe88
[ios] Renamed -showAnnotations:withEdgeInsets:animated:
...
Renamed -showAnnotations:withEdgeInsets:animated: to -showAnnotations:edgePadding:animated: for consistency with other methods. Reworded documentation comments to avoid hard-coding too many specifics that are prone to getting outdated.
2016-02-01 20:55:55 -08:00
Jordan Moncharmont
909832624e
Custom edgeInsets for fitting in showAnnotations
...
Keeps sensible defaults already in place, but allows callers to override.
2016-02-01 20:55:55 -08:00
John Firebaugh
52689796df
[core] Normalize only raster source tile URLs
2016-02-01 20:25:55 -08:00
John Firebaugh
8aa3359ff0
[core] Don't use struct
...
It makes forward declarations inconsistent and liable to change, for no real gain.
2016-02-01 16:32:59 -08:00
John Firebaugh
04cc019f54
[core] Refactor TileJSON parsing for offline
2016-02-01 15:33:37 -08:00
John Firebaugh
716997b99e
[tests] Refactor and make MockFileSource more general
...
Now it works more like StubStyleObserver: you can assign std::functions to specific slots based on resource type.
Rewrite resource loading tests in that style, making them less like integration tests of Style and more like unit tests of Source, GlyphStore, and SpriteStore.
2016-02-01 15:29:42 -08:00
Tobrun
0e66d4dcc5
[android] #3776 - UiSettings uses MapView instead of MapboxMap as dependency. Cleanup obsolete methods MapboxMap/MapView, Renaming convention Google Maps SDK, Update tests, Some minor fixes in state management
2016-02-01 16:22:54 +01:00
Tobrun
6ebb3e88d8
[android] #3753 - Optimising zoom
...
[android] #3753 - removed old zoom methods from MapView
2016-02-01 16:08:09 +01:00
Tobrun
7c58c7803e
[android] #3760 - parity with Google Maps SDK
...
[android] #3760 - added missing methods for UiSettings, updated tests and test app to reflect this change
[android] #3760 - typo fix
2016-02-01 12:47:14 +01:00
Minh Nguyễn
5c1bad41bd
Added scalable icon
2016-01-30 20:33:32 -08:00
Minh Nguyễn
8c0506da6b
ios-v3.1.0-pre.3
2016-01-29 18:14:18 -08:00
John Firebaugh
2920020fb8
[core] Change TileData pixelRatio to an integer
2016-01-29 17:16:06 -08:00
John Firebaugh
b41a73e1c1
[core] Rationalize Resource initialization
2016-01-29 14:50:15 -08:00
John Firebaugh
849e8b32b4
[core] Ensure that FileSource has access to tile URL, pixelRatio, x, y, z
2016-01-29 14:50:15 -08:00
John Firebaugh
4dc7ec0202
[core] Camel-case member names
2016-01-29 14:49:25 -08:00
Ansis Brammanis
0439d00313
[core] fix redoPlacement blocking main thread, fix #3727
...
If a workRequest exists, don't cancel it and start an new request. It's
ok to just do nothing if the request exists because a new call to
redoPlacement will be triggered after the existing request finishes.
this fixes a regression in e44db93f1c
2016-01-29 10:35:40 -08:00
Jason Wray
1bdd0762d0
Add libjpeg-turbo license, remove libjpeg license
...
We switched to libjpeg-turbo in #3632 .
Original license requirements: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/LICENSE.md
License: https://github.com/libjpeg-turbo/libjpeg-turbo/blob/master/turbojpeg.c
[skipci]
2016-01-29 12:08:31 -05:00
Tobrun
8ed1dc9f74
[android] #3145 - MapboxMap
2016-01-29 13:15:58 +01:00
Minh Nguyễn
710398b780
[ios] Removed redundant usage section
...
Also copied some further setup steps from the IB page on the project wiki.
2016-01-28 23:38:21 -08:00
Minh Nguyễn
6995452541
[ios] Restored toggleDebug
...
Restored (but deprecated) a method removed in #3100 to avoid a major version bump.
2016-01-28 22:36:58 -08:00
Minh Nguyễn
6b3b3f3ff6
[ios] Debug mask
...
Ported MGLMapDebugMaskOptions from the OS X SDK. Deprecated debugActive and -cycleDebugOptions.
2016-01-28 22:23:07 -08:00
Minh Nguyễn
8cdd02bc8f
[ios] Eliminated “flashlight mode”
...
Avoid resetting user tracking state when going from location or course tracking mode to heading tracking mode.
Fixes #3710 .
2016-01-28 17:57:44 -08:00
Minh Nguyễn
db41391ccb
[ios] Marked strip frameworks script executable
2016-01-28 17:56:25 -08:00
John Firebaugh
d90d374203
[core] Move rapidjson document creation into StyleParser
2016-01-28 17:37:23 -08:00
Ansis Brammanis
b738087080
[osx] setMaximumZoomLevel, setMinimumZoomLevel
...
adds:
setMaximumZoomLevel
setMinimumZoomLevel
and makes `maximumZoomLevel` and `minimumZoomLevel` not readonly
2016-01-28 15:10:26 -08:00
Ansis Brammanis
371a210be8
[ios] getters, setters for minZoom, maxZoom
...
adds:
minimumZoomLevel
setMinimumZoomLevel
maximumZoomLevel
setMaximumZoomLevel
2016-01-28 15:10:26 -08:00
Ansis Brammanis
ca0099b6a4
[android] getters, setters for minZoom, maxZoom
...
adds:
map.getMminZoom();
map.setMminZoom(double);
map.getMaxZoom();
map.setMaxZoom(double);
2016-01-28 15:10:26 -08:00
Ansis Brammanis
1644234179
[core] add setMaxZoom, setMinZoom
...
also change the default maxZoom to 20 to match -js.
2016-01-28 15:10:01 -08:00
Brad Leege
94731a9ef0
[android] #3716 - Setting Android Version to 4.0.0-SNAPSHOT
2016-01-28 14:02:51 -06:00
Brad Leege
d3a027075f
Merge branch 'master' into release-android-v3.2.0
2016-01-28 14:00:23 -06:00
Brad Leege
a81dfdd753
[android] #3716 - Updating CHANGELOG
2016-01-28 13:11:44 -06:00
Brad Leege
9fd7dd4597
[android] #3716 - Updating version to 3.2.0 for release
2016-01-28 11:54:21 -06:00
Brad Leege
41472054fc
[android] #3728 - Adding Back Pressed support for App Bar Home Button
2016-01-28 11:44:08 -06:00