summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
...
* [ios, macos] Deprecate -[MGLMapViewDelegate ↵Jason Wray2016-10-148-30/+45
| | | | mapView:alphaForShapeAnnotation:] (#6706)
* [ios, macos] Teach features and shapes about GeoJSON and mbgl typesJesse Bounds2016-10-1428-251/+748
| | | | | | MGLShape subclasses can now return NSDictionaries that represent the shapes' GeoJSON geometries. MGLFeature classes can now return NSDictionaries that represent the features as GeoJSON features. This makes it trivial to serialize iOS and macOS shapes and features into GeoJSON. MGLFeature instances can also return a representation of themselves as an mbgl::Feature. This capability is used in a refactoring of the implementations of MGLGeoJSONSource to more efficiently transform MGLFeatures into mbgl::Features so they can be fed directly into mbgl::GeoJSONSource without having to round trip through NSJSONSerialization. The MGLFeature identifier is converted into the mbgl::identifier type based on the type of the identifier. The MGLFeature attributes are recursively converted into an mbgl::PropertyMap and each value is converted into one of the types that the PropertyMap's Value variant supports.
* [ios, macos] Add feature initializerituaijagbone2016-10-1411-11/+527
| | | | | | | | This adds a features initializer to MGLGeoJSONSource. The initializer takes shapes and converts them to JSON representation before passing to core. This also adds methods to the MGLShape concrete subclasses so that they can represent themselves in NSDictionary form suitable for transforming to JSON (GeoJSON).
* [android] - add transparent image for MarkerViews ghosting SymbolAnnotations ↵Tobrun2016-10-133-12/+16
| | | | | | | | (#6675) * [android] - add transparent image to core for MarkerView ghosting SymbolAnnotations. Removes logging messages: `Can't find sprite ... `. Cleanup MapView. * [android] - use alpha_8 config to only allocate one byte, rename id for better readability.
* [android] - downscale amount of instrumentation tests run on CI to one (#6692)Tobrun2016-10-131-1/+1
|
* [macos] Fixed compilation error (#6690)Minh Nguyễn2016-10-121-5/+4
| | | Followup to last-minute refactoring in #6637.
* [ios, macos] possibility to set custom images to style (#6637)Roman Blum2016-10-1211-409/+516
| | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] possibility to set custom images to style * [ios, macos] setImage:forName now supports MGLImage (UIImage/NSImage) * [ios, macos] update documentation for setImage:forName: and removeImageForName: * [ios, macos] rename method and fix prefix * [ios, macos] change header visibility to project * [ios, macos] update header imports * [ios, macos] delete unnecessary whitespaces * [ios, macos] remove unnecessary nil checks * [ios, macos] delete unnecessary whitespaces * [ios, macos] update documentation * [ios, macos] make mgl_spriteImage a parameter-less instance method * [ios, macos] add asserts
* [android] - allow gradle to allocate more memory when building the test app ↵Tobrun2016-10-121-0/+2
| | | | (#6678)
* [android] Fix gestures when MapView is not full screen (#5562)Tobrun2016-10-121-2/+2
| | | This fixes #5528
* [android] Using mbgl::AnnotationIDs in JNI codeBruno de Oliveira Abinader2016-10-121-10/+8
|
* [android] Fixed wrong location view interpolation (#6668)tomlocks2016-10-121-2/+2
|
* [android] - correct android to core conversion of camera options. (#6660)Tobrun2016-10-124-26/+16
| | | | | | | | * [android] - correct android to core conversion of camera options. * fix MarkerView tilting, tilt is already in degrees * same fix for MyLocationView
* [macos] Merge mbgl-{test,benchmark} into CI schemeBruno de Oliveira Abinader2016-10-122-23/+30
|
* [ios, macos] Refer to style layer class in enum documentationMinh Nguyễn2016-10-115-0/+36
|
* [ios, macos] Simplified style property enum namesMinh Nguyễn2016-10-1114-192/+192
| | | | The name of each enumeration type no longer refers to the layer type that uses it.
* [ios, macos] Add description string for MGLStyle classJason Wray2016-10-111-0/+12
| | | | | | Example: <MGLStyle: 0x60800001e0a0; name = "Mapbox Dark", URL = "mapbox://styles/mapbox/dark-v9"> - Adds an internal `URL` property.
* [ios, macos] Add -mapView:didFinishLoadingStyle: delegate methodJason Wray2016-10-116-0/+52
|
* [android] - revert making bearing and tilt to radiants (#6656)Tobrun2016-10-111-4/+3
|
* [android] - close response body to avoid connection leak (#6650)Tobrun2016-10-111-1/+6
|
* [android] #6617 - Introduce a setConnected method to manually set a ↵Antonio Zugaldia2016-10-113-1/+37
| | | | | | | | | | connected flag * [android] introduce a setConnected method to manually set a connected flag * extend connected state to ConnectivityReceiver * extend connected state to ConnectivityReceiver
* [android] - Use correct nullity annotation for convertView (#6521)Josh Burton2016-10-111-1/+1
|
* [test] Deploy core test fixtures on BitriseBruno de Oliveira Abinader2016-10-112-0/+9
|
* [node] Added set{Bearing,Center} + updated -test-suiteBruno de Oliveira Abinader2016-10-113-0/+46
| | | | | This gives the ability to pan and/or rotate the map in a posterior step after initial render for testing purposes.
* [android] Runtime Style Filter enhancements (#6623)Ivo van Dongen2016-10-113-6/+12
| | | | | | | | * [android] Additional null check - prevents errors in array conversion * [android] style conversion - delete local refs asap to avoid ref table overflow * [android] Filter - hide concrete implementation classes to avoid confusion
* [android] #6635 - Sample multimap activityAntonio Zugaldia2016-10-105-5/+99
| | | | | | * [android] sample multimap activity * add MultiMapActivity to excludeActivities in generate-test-code.js
* [android] - correct degrees/radiants integration into transform.cpp, fixes ↵Tobrun2016-10-103-19/+34
| | | | camera position restoration from core and missing return value occurrence. (#6641)
* Rotate markerview (#6640)Tobrun2016-10-106-32/+212
| | | | | | | | | | * [android] - MarkerView rotation bug, limit degrees from 0 to 360 while creating a MarkerView * update MarkerView#setRotation to limit input from 0 - 360 degrees, calculates difference in angle and animates rotation by a certain amount instead of animating to a value. Exposed new AnimatorUtils#animateRotationTo. Integrated into MarkerViewManager. Cleanup some unused imports. Updated javadoc. * updated MarkerViewActivity in test application to test for regressions. * added tests to validate changes to MarkerView#setRotate
* [android] - apply tilt to markerview with initial camera position (#6622)Tobrun2016-10-072-2/+8
|
* [android] - image opt android layout editor image (#6624)Tobrun2016-10-072-0/+0
|
* [ios] Update SMCalloutView to fix iOS 10 build warningsJason Wray2016-10-061-0/+0
|
* [ios, macos] Mark incomplete initializers unavailableMinh Nguyễn2016-10-062-0/+5
|
* [ios, macos] Fully documented predicate propertyMinh Nguyễn2016-10-061-3/+94
|
* [ios, macos] Renamed files to match renamed classesMinh Nguyễn2016-10-0620-211/+243
|
* [ios, macos] Revamped MGLStyleLayer, MGLSource inheritanceMinh Nguyễn2016-10-0643-515/+530
| | | | | | | | | | Removed the MGLStyleLayer protocol, because almost none of its members was actually implemented in every class that adopted the protocol. Removed the unused mapView backpointer property with no replacement. Renamed MGLBaseStyleLayer to MGLStyleLayer. Created the intermediate abstract classes MGLForegroundStyleLayer and MGLVectorStyleLayer to cover subsets of style layer classes with like functionality. Moved each MGLBaseStyleLayer initializer and the corresponding properties down to an abstract subclass such that the initializer makes sense for all concrete subclasses. Moved more initializers and the predicate property up to MGLVectorStyleLayer to eliminate duplication among the concrete subclasses. Marked these initializers as designated initializers. Removed “source” or “layer” before identifier wherever the type of identifier is apparent. Removed extra MGLGeoJSONSource initializer variants in favor of nullable parameters. Added copious documentation comments for source and style layer classes, including several previously undocumented methods and properties. In particular, some preconditions and postconditions have been documented. Added pragma marks to break up the jazzy documentation pages into sections. Reformatted exceptions for consistency.
* [macos] Restore core unit tests in CIJohn Firebaugh2016-10-061-0/+1
|
* [macos,ios] initialize util::RunLoop in SDK rather than by defaultKonstantin Käfer2016-10-063-1/+17
|
* [android] #6522 - Automate build process for Android SDK releasesAntonio Zugaldia2016-10-061-0/+243
| | | | | | * [android] draft release supporting snapshots * [android] release.py ready for testing
* [ios] Deploy script enhancements (#6581)Jason Wray2016-10-052-33/+74
| | | | | | | | | | | | * Add `make ideploy` command for publishing iOS releases. * Get release version from latest ios git tag. * Use caffeinate to prevent the system from sleeping during the deploy process. * Checkout tag to ensure correct commit is used * Fail if release has already been published (not a draft) on GitHub * Add publish step logging and colorize it. * Allow s3 upload to show progress. * Use build/ios/deploy directory for downloaded release zips; always overwrite via -O flag. * Add zip filename to s3 step. * Auto-install github-release command
* [android] - invalidate focal point when setting MyLocationView padding (#6413)Tobrun2016-10-051-0/+6
|
* [android] - correct focal point data when double tapping (#6595)Tobrun2016-10-051-1/+1
|
* [android] - correct focal point with padding and tilt enabled + cleanup code ↵Tobrun2016-10-052-25/+44
| | | | MyLocationView (#6594)
* [ios] Observer that app did become active instead of will foreground (#6600)Jesse Bounds2016-10-051-1/+1
|
* [ios, macos] Remove support for CONTAINS operator (#6590)Minh Nguyễn2016-10-052-18/+1
| | | | | | * [ios, macos] Removed support for CONTAINS operator * [ios, macos] Removed CONTAINS test
* [android] refactored exposed api on MapboxMapTobrun Van Nuland2016-10-055-33/+33
| | | | | | fix unit tests fixup comments
* [android] Revise handling of tracking modes and interactionsclydebarrow2016-10-059-164/+239
| | | | | | | | | | | | with touch gestures. This fixes issues #6549 and #6567. Also pertinent to #6557. Additional code has been added to the test app (Activity "User Tracking Mode") to test. A potential race condition in the MapboxMap#easeCamera() methods where a camera change generated by tracking which could have reset the tracking modes has been eliminated by factoring out a new method MapboxMap#easeCameraInternal().
* [build] Add support for 'benchmark' target on macOSBruno de Oliveira Abinader2016-10-052-0/+32
|
* [android] javadoc - inter-link style properties properlyIvo van Dongen2016-10-0519-90/+473
|
* [build] Re-add benchmark tests to the buildsystemThiago Marcos P. Santos2016-10-051-0/+18
| | | | Probably lost on the cmake migration
* [ios, macos] fixes #6160: allow updating multipoint coordinates (#6565)Justin R. Miller2016-10-046-39/+150
|
* Rework setStyleUrl() logic to avoid NPE as per #6512 (#6574)Tobrun2016-10-041-9/+9
| | | | | | * [android] Rework setStyleUrl() logic to avoid NPE as per #6512 * fixup brackets + comment