summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [ios] Update podspecs for beta 2ios-v3.4.0-beta.2Jesse Bounds2016-11-012-2/+2
|
* [ios, macos] Update changelogs for visible annotations APIJesse Bounds2016-11-012-0/+2
|
* Optimize annotation view updates (#5987)Jesse Bounds2016-11-015-55/+161
| | | | | | | | | | | | | | | | | | | | | | | | | | Use queryPointAnnotations to drive annotation view updates - Get sets of visible and offscreen annotations using the mbgl query mechanism and updates and enqueues as required - Query viewport adjusted if tilted (avoid apparent issue with queryPointAnnotations when the query box is larger than the actual viewport) - Add a small debugging display in iOS app to see annotations going in and out of the reuse queue This also works around a performance issue that made getting an annotation context expensive by implementing a map of annotations to tags. It works around another issue with the underlying mbgl query so that even if it (rarely) returns an incorrect result, the correct visual effect still occurs and the reuse queue is added to and drained as expected. Finally, this refactors MGLMapView viewForAnnotation: to use the maps to access the requested annotation context and view. This avoids a more expensive lookup done previously. Along for the ride: sync up the ios and macos names (and types) for MGLAnnotationTagContextMap
* [ios, macos] document custom API URL & add Info.plist guide (#6833)Justin R. Miller2016-11-017-2/+56
| | | Also support base URL nullability in order to use default value.
* [ios] Do iosapp token handling in viewDidLoadJason Wray2016-10-281-5/+0
| | | | | Doing this work in viewDidAppear meant that it happened every time the modal debug settings view disappeared (and the map view reappeared).
* [ios] Add country label language toggle demoJason Wray2016-10-281-1/+74
| | | | - Select best language based on locale setting and our support.
* [ios, macos] Introduce visible annotations API (#6061)Jesse Bounds2016-10-265-0/+119
| | | | | | Add visibleAnnotations API to make it easier for clients of MGLMapView to query for all visible annotations in the map or all visible annotations in a subsection of the map.
* [ios, macos] Make source ownership consistent and GeoJSON content properties ↵Jesse Bounds2016-10-2611-72/+313
| | | | | | | | | | | | | | | | | | | writable Use common initialization logic to create an unique pointer to an mbgl source object, up front, when a MGL source is created. Keep a raw pointer to the unique pointer that is pointed at the mbgl source instance when a MGL source is created or when a MGL source is obtained by identifier from MGLStyle. Once the transfer of ownership of the mbgl source takes place, the unique ptr is null. The raw pointer can be used internally for future work that involves mutating the source. This also changes the URL, features, and geoJSONData content properties for MGLGeoJSON source to be writable. If they are set with valid data after a source has been added to the map then the map will update to reflect the new data.
* [ios, macos] Added Swift MGLStyleValue testsMinh Nguyễn2016-10-265-0/+70
| | | | Added tests of MGLStyleValue written in Swift, along with bridging headers just in case they become needed in the future.
* [ios, macos] Corrected MGLStyleValue inheritanceMinh Nguyễn2016-10-261-2/+2
| | | | | | MGLStyleConstantValue and MGLStyleFunction now inherit from MGLStyleValue with a generic argument matching the child class’s own generic argument. Fixes #6823.
* [ios, macos] Fixed syntax error in documentation comment (#6822)Minh Nguyễn2016-10-262-1/+4
| | | Fixes #6821.
* Merge branch 'master' into boundsj-release-ios-3.4.0-merge-masterJesse Bounds2016-10-25233-2122/+6636
|\
| * [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-2576-1021/+911
| |
| * [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-2554-520/+774
| |
| * removed brew cask install android studio instruction (#6723)Cameron Mace2016-10-251-9/+2
| | | | | | | | | | | | | | | | * removed brew cask install android studio instruction * link to download JDK * made fixes to instruction
| * [android] - MarkerView is responsible for managing height and width of a ↵Tobrun2016-10-252-15/+43
| | | | | | | | Marker (opposed to the recycled view). (#6809)
| * [core] geojson source - cancel any pending request when setting geojson ↵Ivo van Dongen2016-10-252-3/+12
| | | | | | | | explicitly
| * [core] geojson source - clear cache when json content is setIvo van Dongen2016-10-252-1/+3
| |
| * [android] - remove timer from compassView, make fading when facing north ↵Tobrun2016-10-2511-76/+165
| | | | | | | | | | | | | | | | | | | | | | optional. (#6786) save state for recreating map view fix review comments unit test covering default value for fading and setting a new value fixup setter, fix default value
| * [android] - move marker view click handling to core (#5639)Tobrun2016-10-253-25/+57
| |
| * [core] geojson source - reset req on setURLIvo van Dongen2016-10-251-2/+2
| |
| * [android] fix exception classIvo van Dongen2016-10-251-1/+1
| |
| * [test] Update mapbox-gl-test-suite hashBruno de Oliveira Abinader2016-10-251-1/+1
| | | | | | | | Now testing 'query-tests/symbol-features-in/pitched-screen'.
| * [glfw] Added queryPointAnnotations shortcutBruno de Oliveira Abinader2016-10-251-1/+5
| |
| * [core] Reuse last placement data in CollisionTile::queryRenderedFeaturesBruno de Oliveira Abinader2016-10-252-32/+68
| | | | | | | | | | | | | | | | | | | | | | To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling.
| * [core] Added util::polygonIntersectsPolygonBruno de Oliveira Abinader2016-10-252-20/+13
| |
| * [core] Simplify CollisionTile::findPlacementScaleBruno de Oliveira Abinader2016-10-252-8/+6
| | | | | | | | | | | | Improve findPlacementScale semantics by moving the check if the placement scale result is bigger than minimum scale out of the function scope.
| * [core] Avoid duplicating edges for CollisionTileBruno de Oliveira Abinader2016-10-252-23/+16
| | | | | | | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it.
| * [core] Cleanup function signatures in CollisionTileBruno de Oliveira Abinader2016-10-252-7/+7
| | | | | | | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type.
| * [android] - only pin certificates on current used environement. (#6766)Tobrun2016-10-241-21/+23
| | | | | | update certificates sha256 for certificate pinning.
| * [build] Set C++14 as default standard for CMakeBruno de Oliveira Abinader2016-10-241-0/+6
| |
| * [qt] Fix macOS Qt demo app with Qt4.xBruno de Oliveira Abinader2016-10-241-0/+10
| |
| * [android] - cap width/height at maximum, don't throw exception. (#6788)Tobrun2016-10-241-4/+10
| |
| * [node] publish Bitrise tag buildsMike Morris2016-10-221-6/+33
| |
| * Android Bitrise cleanup (#6782)Tobrun2016-10-211-46/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [android] - update bitrise.yml, always use latest deploy step cleanup bitrise.yml formatting, separate download step -> if tests fail, build fails improve shown console messages, correct package for firebase filter update steps add slack integration for all workflows * fixup SKIPCI check
| * [android] - remove jni method logging, only keep lifecycle related logs (#6787)Tobrun2016-10-211-80/+0
| |
| * [core] fixup formattingIvo van Dongen2016-10-212-13/+13
| |
| * Made telemetry dialog material (#6726)Cameron Mace2016-10-216-81/+48
| | | | | | | | | | | | * Made telemetry dialog material * cleaned up attribution_main_menu
| * [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-205-9/+11
| |
| * [node] remove internal NodeRequest class from public APIMike Morris2016-10-204-7/+4
| |
| * [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-2041-66/+211
| | | | | | | | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
| * [glfw] add map change callback methods to glfw_viewIvo van Dongen2016-10-202-0/+15
| |
| * [android] - add realtime geojson example from gl-js (#6751)Tobrun2016-10-204-0/+169
| |
| * [core] reload geojson source on url changeIvo van Dongen2016-10-206-0/+57
| |
| * [android] geojson source - remove explicit repaint requestsIvo van Dongen2016-10-203-20/+0
| |
| * [android] - Configure Gradle properties as part of the instalation process. ↵Tobrun2016-10-204-5/+10
| | | | | | | | (#6729)
| * [android] - move instrumentation test code to correct package for Android ↵Tobrun2016-10-2062-57/+3675
| | | | | | | | Studio run configurations integration. (#6748)
| * [android] - configures AWS Device farm plugin from testapp. (#6750)Tobrun2016-10-202-11/+14
| |
| * Adds map dialog activity to testapp (#6741)Cameron Mace2016-10-196-2/+167
| | | | | | | | | | | | * adds map dialog activity to testapp * added to genertate-test-code script
| * [core] Fix SymbolAnnotation coordinate system conversionsBruno de Oliveira Abinader2016-10-192-30/+24
| |