You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Also, related: Is iOS doing the same thing with InfoWindows (callouts), i.e. those farther look smaller, closer InfoWindows look bigger? I noticed we aren't changing those either and we might extend this ticket to native (as in Android) annotations.
@zugaldia
I have been thinking about introducing a generic system around the whole View versus GL interaction..
The most of these Android Views will support the same behaviour.
It probably doesn't make sense for the InfoWindows to shrink into the distance, becoming illegible. #2186 tracks shrinking the iOS user dot and its accuracy circle as it goes farther away. Ideally the Android version would too. This would be a good opportunity to introduce a "pixels per meter at distance from center" method in mbgl along the lines of the existing metersPerPixelAtLatitude().
@1ec5
thank you for adding the pixels per meter at distance from center explanation, will get back to you if I can't figure it out on myself using metersPerPixelAtLatitude() as an example.
Been looking into titling the UserLocationView.Currently facing the problem that the height and width of UserLocationView is match_parent. The normal way of calling setRotationX will not work in that case.
Activity
zugaldia commentedon Dec 4, 2015
@1ec5 Yes.
Also, related: Is iOS doing the same thing with InfoWindows (callouts), i.e. those farther look smaller, closer InfoWindows look bigger? I noticed we aren't changing those either and we might extend this ticket to native (as in Android) annotations.
tobrun commentedon Dec 4, 2015
@zugaldia
I have been thinking about introducing a generic system around the whole View versus GL interaction..
The most of these Android Views will support the same behaviour.
1ec5 commentedon Dec 4, 2015
It probably doesn't make sense for the InfoWindows to shrink into the distance, becoming illegible. #2186 tracks shrinking the iOS user dot and its accuracy circle as it goes farther away. Ideally the Android version would too. This would be a good opportunity to introduce a "pixels per meter at distance from center" method in mbgl along the lines of the existing metersPerPixelAtLatitude().
tobrun commentedon Dec 4, 2015
@1ec5
thank you for adding the
pixels per meter at distance from centerexplanation, will get back to you if I can't figure it out on myself usingmetersPerPixelAtLatitude()as an example.bleege commentedon Dec 4, 2015
Related to #2233 (user puck / hoverdot)
tobrun commentedon Dec 7, 2015
Been looking into titling the
UserLocationView.Currently facing the problem that the height and width ofUserLocationViewis match_parent. The normal way of calling setRotationX will not work in that case.tobrun commentedon Apr 8, 2016
I'm tackling this issue in #4396.
You can see the tilted UserLocationView in the 4th row:
tobrun commentedon Apr 25, 2016
Landed in #4695
bleege commentedon Apr 25, 2016
🚀