| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
standalone app for demo purposes. Just backing up here on Ye Olde GitHub
for safekeeping.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
[android] - convert angles to radiants in jni, correct follow animation for MyLocationView
do not sanitise input when recreating from other camera object, input is already sanitised before
cleanup mylocationview, made animation bit more smooth, improved UX when switching between tracking modes
cleanup CameraUpdateFactory, hide internally used api.
only invalidate position if required, remove outdated comments
correct camera position values
made zoom activity a bit more interesting
made dynamic marker activity a bit more interesting
FIXUP
|
| |
| |
| |
| |
| | |
Decorate the class factory methods so that when they are translated to
swift the method to create an MGLMultiPoint is not ambiguous with the
methods to create MGLPolygon and MGLPolyline.
|
| | |
|
| |
| |
| | |
Also reformatted some MGLTileSet documentation.
|
| |
| |
| |
| | |
This makes runtime styling category method naming consistent with the rest of the SDK.
|
| | |
|
| |
| |
| |
| | |
Added designated initializers to MGLStyleValue and friends. Restored custom equality and descriptions to MGLStyleFunction. Raise an exception if an unrecognized subclass of MGLStyleValue or MGLStyleValue itself is passed into a style attribute property.
|
| | |
|
| |
| |
| |
| | |
MGLStyleValue is an umbrella class serving as a variant container for MGLStyleConstantValue and MGLStyleFunction. These classes use lightweight generics to indicate the underlying type. A templated C++ class concisely converts between mbgl::style::PropertyValue and MGLStyleValue.
|
| |
| |
| |
| |
| |
| | |
* [macos] Subdivided release by topic in changelog
* [ios, macos] Updated changelogs
|
| |
| |
| | |
Add `OfflineDatabase::hasRegionResource`, for use when the actual contents are not needed by the caller, avoiding IO and decompression costs.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* added wearable module
* fixed spacing in feature list
* fixed tobruns suggestions and added checkstyle plugin
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Fixed bug where fromScreenLocation would modify the actual Point being passed in
* [android] - move reused point to Projection class, migrated screen density logic to projection
fixup code to be unit testable
|
| |
| |
| |
| |
| |
| | |
* [android] - include net package in proguard config, added the default EnclosingMethod disable warning and fixed up typo.
* update test app dependency leak canary to do a proguard release build, replaced keep support lib classes by dontwarn following Google guidelines, remove outdated/obsolete square configuration
|
| |
| |
| |
| |
| |
| |
| |
| | |
* [android] - remove ViewMarkers crash, show correct view cache size in test activity
* use MapboxMap to indicate a MarkerView is no longer added on a map, no future updates will be passed on to core.
* resolve memory leak
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
mapView:alphaForShapeAnnotation:] (#6706)
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
(#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.
|
| | |
|
| |
| |
| |
| |
| | |
Reuse reverse rotation matrix from CollisionTile when populating the
collision boxes.
|
| |
| |
| | |
Followup to last-minute refactoring in #6637.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* [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
|
| |
| |
| |
| | |
(#6678)
|
| |
| |
| | |
This fixes #5528
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* [android] - correct android to core conversion of camera options.
* fix MarkerView tilting, tilt is already in degrees
* same fix for MyLocationView
|
| | |
|
| | |
|
| |
| |
| |
| | |
The name of each enumeration type no longer refers to the layer type that uses it.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Example: <MGLStyle: 0x60800001e0a0; name = "Mapbox Dark", URL = "mapbox://styles/mapbox/dark-v9">
- Adds an internal `URL` property.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
connected flag
* [android] introduce a setConnected method to manually set a connected flag
* extend connected state to ConnectivityReceiver
* extend connected state to ConnectivityReceiver
|