summaryrefslogtreecommitdiff
path: root/test/algorithm
diff options
context:
space:
mode:
authorJesse Bounds <jesse@rebounds.net>2016-05-26 23:10:02 -0700
committerJesse Bounds <jesse@rebounds.net>2016-05-26 23:10:02 -0700
commitc90f51a1a9ae30e16514b42478064b8ee06a68a6 (patch)
treedafd0e6ee811cfcf70ba941507a477d32088674d /test/algorithm
parent8ace0d37d10e8174268f259dec38cf88e2494ef0 (diff)
downloadqtlocation-mapboxgl-c90f51a1a9ae30e16514b42478064b8ee06a68a6.tar.gz
[ios] Add annotation view scaling (#5085)
This adds an option to MGLAnnotationView so that a developer can control how their annotation views scale in size as they approach the top of the map view (along the Y axis). The size change is also affected by the pitch (tilt) of the map view. If there is no tilt then scaling is not performed. As the map is tilted scaling is gradually applied. This turns the MGLAnnotationView implementation into an Objective C++ class so that SDK constants from C++ files can be used. The new behavior is enabled by default to maintain consistency with annotations backed by GL sprites. The MBXViewController redundantly sets the new property as an illustration of use.
Diffstat (limited to 'test/algorithm')
0 files changed, 0 insertions, 0 deletions