Commit Graph

7782 Commits

Author SHA1 Message Date
Tobrun
e50fb87e7b [android] #3276 - allowing multiple ViewAdapter implementations 2016-05-20 12:03:26 +02:00
Tobrun
feb5832ee9 [android] #3276 - view reuse animation state fix - disabled selection for gl markers 2016-05-20 12:00:03 +02:00
Tobrun
833319ce91 [android] #3276 - add show/hide animation to view markers 2016-05-20 12:00:03 +02:00
Tobrun
db2c3e59e3 [android] #3276 - added item animation for select/deselect state of a View Marker. Removed asynctask due to unneeded overhead. Improved integration with selectMarker. Added item animators for the test app. 2016-05-20 12:00:03 +02:00
Tobrun
8e57b455c5 [android] #3276 - only update thumb Icon when needed, disabled background task for now, added view pool counter 2016-05-20 12:00:03 +02:00
Tobrun
bdff43ba95 [android] #3276 - hide gl markers 2016-05-20 12:00:03 +02:00
Tobrun
a8352dadde [android] #3276 - remove annotations was not calling removeMarkerView 2016-05-20 12:00:03 +02:00
Tobrun
b32c44ce73 [android] #3276 - remove Marker View implementation 2016-05-20 12:00:02 +02:00
Tobrun
d5c63e6c82 [android] #3276 - Marker view becomes selected when clicked 2016-05-20 12:00:02 +02:00
Tobrun
69ae499a88 [android] #3276 - View Marker click listener integration 2016-05-20 12:00:02 +02:00
Tobrun
d8dfc921b4 [android] #3276 - fix unit tests on MapboxMapTest related to Marker/BaseMarker 2016-05-20 12:00:02 +02:00
Tobrun
20e7b140b7 [android] #3276 - make view marker only visible after first x,y update 2016-05-20 12:00:02 +02:00
Tobrun
b7d47d4c3f [android] #3276 - using a pool to do view reuse 2016-05-20 12:00:02 +02:00
Tobrun
c53533270b [android] #3276 - introduced rate limited discovery for view markers 2016-05-20 12:00:02 +02:00
Tobrun
16a2765adc [android] #3276 - android view annotations adapter approach 2016-05-20 12:00:01 +02:00
Tobrun
1d912a409a [android] #3276 - add event listener on REGION_IS_CHANGING to determine the annotations in bounds of the viewport. 2016-05-20 12:00:01 +02:00
Tobrun
028ef7a323 [android] #3276 - WIP Android View Annotations, showing an Android SDK view on the screen 2016-05-20 12:00:01 +02:00
Brad Leege
ef257c257d [android] #5068 - Switching to Mapbox Locale Constant 2016-05-18 18:58:13 -07:00
John Firebaugh
5864c8fc4c [core] Include geometry in queryRenderedFeatures results 2016-05-18 17:29:16 -07:00
John Firebaugh
1b1df9e354 [core] Add classifyRings 2016-05-18 17:29:16 -07:00
frederoni
a220efcae6 [ios] Allow annotation views to be flattened (#5067)
* [ios] wip flatten annotation view

* [ios] wip flatten annotation view

* [ios] naming conventions

* [ios] removed unused property
2016-05-18 17:03:08 -07:00
Tobrun
5fe43e43f2 [android] - using deprecate annotation for access token javadoc 2016-05-18 14:45:04 -07:00
frederoni
e8ea7483a7 [ios] Added centerOffset to MGLAnnotationView (#5062)
* [ios] Added centerOffset to MGLAnnotationView

* [ios] Reposition immediately after changing the centerOffset

closes #5059
2016-05-18 09:47:54 -07:00
Konstantin Käfer
8ee222c45e [core] allow creating optional requests
Introduces "optional" requests. These should be fulfilled by the FileSource only there's a low-cost/easy way to obtain the data (e.g. from a local cache). If the data for an optional request cannot be found, it *must* return a Response object with a NotFound error.

Traditional "required" requests still work the same way, with one change: If you set any prior* field in the Resource (i.e. priorModified, priorEtag, or priorExpires), the DefaultFileSource assumes that you already have the cache value and will not consult the cache before performing the request. If a prior cache lookup didn't turn up any data, and you therefore don't have an Etag or Modified value, you can still skip the cache by setting priorExpires. This will of course always result in a non-conditional HTTP request.
2016-05-18 12:40:22 +02:00
Konstantin Käfer
c5fc7f1980 [core] use rapidjson's dtoa implementation to stringify floating point numbers 2016-05-18 12:26:51 +02:00
Konstantin Käfer
002393bdea [core] remove MockView and View dependency in Transform 2016-05-18 12:07:21 +02:00
Tobrun
1d84a8964e [android] #4942 - using Android SDK Compass example 2016-05-18 12:02:04 +02:00
Tobrun
73bf8b6ef6 [android] #4942 - removes jumpiness from compass updates, removes old way of rotating via canvas rotation, streamlines updates through setCompass 2016-05-18 12:02:04 +02:00
Cameron Mace
cdda083a6f [android] Animate MylocationView direction
Fixes #4942
2016-05-18 12:02:03 +02:00
Brad Leege
56979500d8 [android] #5060 - Adding Reset functionality to menu 2016-05-17 18:12:30 -07:00
Brad Leege
7390ec833f [android] #5060 - Restoring rotation support for markers 2016-05-17 18:00:01 -07:00
Brad Leege
dd5af9e901 [android] #5060 - Initial setup of PressForMarkerActivity 2016-05-17 17:51:00 -07:00
John Firebaugh
d399de01b8 [tests] Update test-suite 2016-05-17 13:20:25 -07:00
John Firebaugh
e66f9b2830 [core] Simplify parameters 2016-05-17 13:20:25 -07:00
John Firebaugh
3173b46418 [core] Less auto 2016-05-17 13:20:25 -07:00
John Firebaugh
3c49fdc99d [core] Feature IDs are always integers 2016-05-17 13:20:25 -07:00
John Firebaugh
b7d395fcf6 [core] Simplify and fix query logic across the antimeridian 2016-05-17 13:20:25 -07:00
John Firebaugh
7f6944f617 [core] Fix properties of GeoJSON layers in queryRenderedFeatures 2016-05-17 13:20:25 -07:00
John Firebaugh
fbb074a089 [core] Eliminate temporary vector in Style::queryRenderedFeatures 2016-05-17 13:20:25 -07:00
John Firebaugh
db74459990 [core] Use mapbox::geometry::envelope in Source::queryRenderedFeatures 2016-05-17 13:20:25 -07:00
John Firebaugh
7e5d0ff49e [core] Rewrite TileCoordinate in terms of geometry.hpp point 2016-05-17 13:20:25 -07:00
John Firebaugh
3e21e3887a [core] Introduce StyleQueryParameters; push coordinate calculations into Source 2016-05-17 13:20:25 -07:00
Brad Leege
0c9c524912 [android] #5045 - Adding Async Location Permissions Approval Check 2016-05-17 12:03:59 -07:00
Jason Wray
22447373ae [ios] Make MGLCoordinateInCoordinateBounds() public (#5053)
Bounds should always be in NE, SW order — any other coordinate order (e.g., NW, SE) will give false results.
2016-05-17 11:02:22 -04:00
Brad Leege
4434c0438a [android] #5049 - Updating LOST To Version 1.1.0 2016-05-16 17:55:05 -07:00
Brad Leege
047263d40c [android] #5043 - Updating Support Library 2016-05-15 17:33:46 -07:00
Minh Nguyễn
54381d20a0 [ios] Updated changelog for #4801 2016-05-15 11:07:29 -07:00
Brad Leege
635993b4b6 [android] #5004 - Introducing MapboxAccountManager 2016-05-15 10:25:43 -05:00
Jason Wray
0d5d2a923b [ios] Improve telemetry server URL validation (#5022)
- Validate that test server URL actually has a reasonable value.
- Refactor `baseURL` and `testServerURL` to use NSURL.
2016-05-13 21:46:13 -04:00
Jesse Bounds
1ee14915f8 [ios] Add method documentation for view based annotations. 2016-05-13 15:53:04 -07:00