Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Customized default zoom level in mapbox visual in Power BI

Hi Expert, 

 

I'm using mpabox visual in show circle in dashboard.  Lat & Long for each data point was provided with all data location was within APAC.

When filters (country) was chosing, it zoom in to specific country, which is fine, but when user de-select filter, it zoom out to somewhere around Malaysia (left photo in below) instead of zooming out further to show entire APAC map (right photo in below)

 

    

I've web surf online with one of the post claim it's the data problem where mapbox will calculate the center point of all available lat long but seems there's no solution on this.  kindly ask is there ways to customize default zoom level when zooming out (no filter select status) ? Or can I create map with default zoom level in mapbox studio and use in Power BI ? Or is there other workaround ?

 

Thanks a lot.

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi All,

     

    Initially I think it's the the data issue - which Mapbox will calculate the center of all (include null) Lat Long coordinates, but after I find all Lat Long, situation exist.  So I chanege to other map to avoid this problem.

    Thanks.

     

    Regards,

    Thomas

     

     

     

3 Replies

    • Anonymous's avatar
      Anonymous
      Not applicable

      Hi Sheng, 

       

      Thanks for reply.
      I've try but bookmarks can't control map zoom level (my problem is not about filter, which I know bookmarks can help ^^)

       

      Regards,

      Thomas

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi All,

     

    Initially I think it's the the data issue - which Mapbox will calculate the center of all (include null) Lat Long coordinates, but after I find all Lat Long, situation exist.  So I chanege to other map to avoid this problem.

    Thanks.

     

    Regards,

    Thomas