summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
...
| * [android] #3338 - add javadoc annotations packageTobrun2016-01-1918-20/+79
| |
| * [android] #3556 - Added test to trigger NaN value on same point, updated ↵Tobrun2016-01-182-10/+22
| | | | | | | | LatLng model to handle calls for distance calls of same point
| * [android] #3507 - fix location listener leak in UserLocationViewTobrun2016-01-181-13/+34
| |
| * [android] #3593 - added double map view exampleTobrun2016-01-187-6/+214
| |
| * [android] #3573 - Marker clicks stop working after orientation changeTobrun2016-01-182-54/+22
| |
| * [android] #3052 - Generating actual SHA for 2.10 zip fileBrad Leege2016-01-151-1/+1
| |
| * [android] #3052 Adding distributionSha256SumBrad Leege2016-01-151-0/+1
| |
| * [android] #3052 - upgrade gradle to 2.10Tobrun2016-01-154-100/+95
| |
| * [android] #3517 - recreating InfoWindow with correct MapView instanceTobrun2016-01-153-12/+10
| |
| * [android] #3559 - don't show InfoWindow when marker is invalidTobrun2016-01-151-2/+7
| |
| * [android] #3052 - update gradle to 2.10Tobrun2016-01-151-1/+1
| |
| * [android] #3450 - fix rotation when enabling user locationTobrun2016-01-141-0/+4
| |
* | [ios] z14 initially in user tracking modeMinh Nguyễn2016-01-201-2/+11
| | | | | | | | When entering user tracking mode from a low zoom level, zoom in to z14 regardless of the location’s horizontal accuracy.
* | [ios] Reset user tracking, respect content inset in resetPositionMinh Nguyễn2016-01-202-4/+11
| |
* | [ios] Maintain user tracking, anchor on user dot during zoom, rotateMinh Nguyễn2016-01-201-43/+39
| | | | | | | | Per MapKit behavior, zooming or rotating with a gesture can no longer kick the user out of user tracking mode. In user tracking mode, the zoom animation is always anchored on the user dot, wherever it may be.
* | [ios, osx] Optionally animate content insets changeMinh Nguyễn2016-01-202-20/+43
| |
* | [ios] Made user dot position configurableMinh Nguyễn2016-01-201-5/+20
| | | | | | | | The user dot or user puck’s position is now configurable via a new alignment property in any user tracking mode. Also, -setUserTrackingMode:animated: is now exposed publicly, and setting its animated parameter to NO skips the initial animation.
* | [ios] Non-animated user tracking mode changesMinh Nguyễn2016-01-201-6/+11
| | | | | | | | Calling -setUserTrackingMode:animated: with animated set to NO should jump instantaneously to the first reported location.
* | [ios] Keep user dot callout open after user location changeMinh Nguyễn2016-01-201-8/+0
| | | | | | | | Outside of user tracking mode, the user dot moves in spurts, so view synchronization performance isn’t an issue.
* | [ios] Keep callout attached to moving user dotMinh Nguyễn2016-01-201-12/+32
| |
* | [ios] Maintain user tracking mode after orientation changeMinh Nguyễn2016-01-201-1/+6
| |
* | [ios] Eliminated jump after flight to first locationMinh Nguyễn2016-01-201-1/+4
| | | | | | | | Don’t update the user location annotation’s coordinates until after the transition to the first reported location is complete.
* | [ios] Leave user location callout open when trackingMinh Nguyễn2016-01-201-3/+17
| | | | | | | | Don’t close the user location annotation’s callout when the user location changes in user tracking mode.
* | [ios] Fly to user locationMinh Nguyễn2016-01-201-43/+54
| | | | | | | | Fly to the user location when entering user tracking mode. Keep user location updates from interfering with the initial flight.
* | [ios] Affix user dot on screen in user tracking modeMinh Nguyễn2016-01-201-17/+75
| | | | | | | | | | | | | | | | In user tracking mode, keep the user dot in a fixed location on screen, instead easing the map view so that the fixed location corresponds to the new user location. There is one exception: MGLMapView reacts to the first location update the same way as before, so that it appears to move to where the user dot has been all along. In course tracking mode, weight the user dot down towards the bottom of the view, since it’s more important to see the road ahead than the road behind. Fixes #2600, and #1041 to some extent.
* | [osx] Fix loop closing with pending requestsThiago Marcos P. Santos2016-01-201-0/+7
| | | | | | | | | | | | | | | | The main loop will now wait for all the requests to complete before closing. This will make the FileSource on OSX block longer than it should at shutdown.
* | [core] Add ref counting to the main loopThiago Marcos P. Santos2016-01-201-1/+25
| | | | | | | | | | | | | | | | Should not be used at all, added for a corner case on OSX network backend where the request is processed on a worker thread managed by OSX and we need to wait for that reply before destroying the thread that pushed the request.
* | [ios] Fixes crash when vendorId is nilCameron Mulhern2016-01-201-0/+3
| |
* | Revert "Revert WebP support due to broken builds"Bruno de Oliveira Abinader2016-01-203-3/+45
| | | | | | | | | | | | | | This reverts commit 6709bdcacd5a45a10b554f3f225206c9494e5e43. There was an issue with the script that removes '-lwebp' from WebP linker flags, since we're statically linking. This is now fixed.
* | [core][ios][osx][android] make SpriteImage accept PremultipliedImageAnsis Brammanis2016-01-194-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false)
* | [core][ios][osx][android] fix icons with non-integer width/heightAnsis Brammanis2016-01-193-6/+6
| | | | | | | | | | | | | | | | | | | | | | ref #3031 ref #2198 For example, an icon that has: - a pixel width of 10 - a pixel ratio of 3 - a scaled with of 3.333 is now supported.
* | [core] Use experimental optional instead of mapbox::util::optionalJohn Firebaugh2016-01-191-2/+2
| |
* | node-v2.2.2node-v2.2.2Mike Morris2016-01-191-0/+4
| |
* | [core] Eliminate macros in sqlite3.cppJohn Firebaugh2016-01-192-26/+22
| |
* | Revert WebP support due to broken buildsJohn Firebaugh2016-01-193-45/+3
| | | | | | | | This reverts commits 2010fbb0e61cbe7c0b08560118ca887fc1d7193e, a361ce47a19d37b96b48cd605c62c5ab79bba462, and d004bb275ae3ea60bb6c2febd6fa22f1f51c3993.
* | [linux] Added WebP tile supportBruno de Oliveira Abinader2016-01-192-3/+44
| | | | | | | | | | | | | | - Android support is currently disabled due to a libwebp build issue. - iOS and OS X support will appear after the next Mapbox iOS SDK release. Related: #https://github.com/mapbox/mapbox-gl-native/issues/2354
* | [linux] Added WebP build depsBruno de Oliveira Abinader2016-01-191-0/+1
| |
* | [osx] No need to link with libpng & libjpegBruno de Oliveira Abinader2016-01-191-2/+0
| | | | | | | | | | OSX platform includes platform/darwin/image.mm which uses CoreFoundation to decode PNG and JPEG images.
* | [glfw] Fix panning directionThiago Marcos P. Santos2016-01-191-1/+1
| | | | | | | | Follow-up of the transform refactoring
* | [ios] Removed redundant zoom constraintsMinh Nguyễn2016-01-181-2/+2
| | | | | | | | The zoom level is already clamped by Transform. -currentMinimumZoom appears to be useful only as an unrotation threshold; it doesn’t correspond to the minimum allowed zoom level.
* | [ios] Account for top/bottom barsMinh Nguyễn2016-01-181-6/+59
| |
* | [core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), ↵Minh Nguyễn2016-01-184-38/+16
| | | | | | | | | | | | | | | | Map::pixelForLatLng() Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState. Fixes #3574.
* | [core, osx] Added optional padding to convenience methodsMinh Nguyễn2016-01-181-9/+10
| | | | | | | | Methods that offer a convenient way to jump or ease now accept an optional padding parameter. MGLMapView specifies the padding to ensure that keyboard-based zooming and rotation respects the toolbar.
* | [osx] Content insetsMinh Nguyễn2016-01-181-3/+61
| | | | | | | | Added a contentInsets property to MGLMapView that behaves similarly to NSScrollView.contentInsets. Adjust it according to the window’s content layout rectangle using KVO. Automatically apply the content insets whenever creating a CameraOptions or getting the center coordinates.
* | [ios] Refactored unrotationMinh Nguyễn2016-01-161-28/+34
| | | | | | | | Avoid unrotating due to programmatic rotation, even programmatic rotation that might expose empty portions of the map. Only snap to north due to a gesture.
* | [ios] Avoid unrotating in heading or course tracking modeMinh Nguyễn2016-01-161-1/+3
| | | | | | | | Fixes #3587.
* | [core] use stale stylesKonstantin Käfer2016-01-151-2/+2
| | | | | | | | This adds support for using cached styles that are stale. They're treated like changing styles; when the refreshed style changed compared to the one we've already had, we're swapping out the entire style, which might cause a slight flicker.
* | [core] Support multiple paths in SQLiteCache::getShared()Konstantin Käfer2016-01-151-7/+25
| | | | | | | | If you use many different caches, expired weak_ptrs will pile up in the unordered_map, but that is an edge case, and you probably shouldn't do that anyway.
* | [core] move SharedSQLiteCache::get to SQLiteCache::getSharedKonstantin Käfer2016-01-152-3/+3
| |
* | [core] Restore existing response bodyJohn Firebaugh2016-01-143-0/+6
| | | | | | | | Until #2721 lands we still need this.