none
What is the name of the feature that allows buildings to rise up in animation, when map is first displayed? RRS feed

  • Question

  • In the UWP maps app, Scenario 2, when the map of the downtown Seattle area is first displayed, the skyscrapers/buildings rise up to their full length in an animated manner.  What feature of Bing Maps does this? Thanks.

    The sample: https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/MapControl

    Note: The buildings are all in grey and semi-transparent; below is a screenshot from the app.

    Sunday, February 3, 2019 9:01 AM

Answers

  • It doesn't have a particular name - it's just a built-in feature of the UWP map control. As buildings become visible, they animate up from their ground footprint.

    You can control the building visibility if you don't want them on, but there's no control of the animation behavior. It's similar to how labels will smoothly fade in/out and animate to new positions rather than just jumping.

    • Marked as answer by A.M. Sabuncu Monday, February 4, 2019 6:04 PM
    Monday, February 4, 2019 5:49 PM
    Moderator
  • The legacy LandmarksVisible property on the map control can be used to toggle building visibility

    https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.maps.mapcontrol.landmarksvisible#Windows_UI_Xaml_Controls_Maps_MapControl_LandmarksVisible

    Alternatively if you need more fine-grained control over all map features, the styling API offers complete control:

    https://docs.microsoft.com/en-us/windows/uwp/maps-and-location/elements-of-map-style-sheet

    You can use the Style sheet editor application here:

    https://www.microsoft.com/en-us/p/map-style-sheet-editor/9nbhtcjt72ft

    To interactively edit map styles.

    • Marked as answer by A.M. Sabuncu Monday, February 4, 2019 7:05 PM
    Monday, February 4, 2019 6:56 PM
    Moderator

All replies

  • It doesn't have a particular name - it's just a built-in feature of the UWP map control. As buildings become visible, they animate up from their ground footprint.

    You can control the building visibility if you don't want them on, but there's no control of the animation behavior. It's similar to how labels will smoothly fade in/out and animate to new positions rather than just jumping.

    • Marked as answer by A.M. Sabuncu Monday, February 4, 2019 6:04 PM
    Monday, February 4, 2019 5:49 PM
    Moderator
  • Thank you.  How do you control building visibility?  Thanks again.
    Monday, February 4, 2019 6:04 PM
  • The legacy LandmarksVisible property on the map control can be used to toggle building visibility

    https://docs.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.maps.mapcontrol.landmarksvisible#Windows_UI_Xaml_Controls_Maps_MapControl_LandmarksVisible

    Alternatively if you need more fine-grained control over all map features, the styling API offers complete control:

    https://docs.microsoft.com/en-us/windows/uwp/maps-and-location/elements-of-map-style-sheet

    You can use the Style sheet editor application here:

    https://www.microsoft.com/en-us/p/map-style-sheet-editor/9nbhtcjt72ft

    To interactively edit map styles.

    • Marked as answer by A.M. Sabuncu Monday, February 4, 2019 7:05 PM
    Monday, February 4, 2019 6:56 PM
    Moderator
  • Thanks so much.

    I am familiar w/ the styling API, and the style sheet editor app is really useful.

    (I'll be the first to congratulate you on hitting 3K.)

    Monday, February 4, 2019 7:08 PM
  • Hi Ahmet,

    Please don't hesitate to share our blog! https://blogs.bing.com/maps/2019-02/add-custom-styling-and-sparkle-with-map-style-sheet-editor

    Sincerely,

    IoTGirl

    Wednesday, February 6, 2019 5:26 PM
    Owner