mapboxgl-powerbi icon indicating copy to clipboard operation
mapboxgl-powerbi copied to clipboard

Worldmap showing duplicate continents. How can I solve this?

Open emilevanlier opened this issue 6 years ago • 5 comments

In Power BI I use the Mapbox visual to show a worldmap. the worldmap has been created by Mapbox studio. The power bi report is embedded into a website. A problem my customer just mentioned, is that at their workplace they see double continents. (see attachment)

What do I need to do in Mapbox Studio to make sure that initially (when the report loads) the worldmap is shown correctly?

worldmap1

emilevanlier avatar Jan 30 '20 13:01 emilevanlier

I'm not sure if this will help or not but, in Choropleth settings you can change the auto-zoom settings. I'd suggest changing the Min Zoom to ~5 to see if that fixes the issue.

steved-MarketGrunt avatar Jan 30 '20 22:01 steved-MarketGrunt

Hi, thanks for your advice. I tried this, but unfortunately is not the solution. I think it’s something what needs to be set in Mapbox studio, but I don’t know how to do it.

When you create a new ‘Basic’ layer in Mapbox Studio, I see that you can zoom this far: [cid:[email protected]]

In Power BI visual you can zoom out to the max ( same as the image above ) and that doesn’t look good for our customers. I want to be able to set a max. zoom level so that you cannot zoom further than this: [cid:[email protected]]

So, what I tried in Mapbox Studio is to zoom in, so that you see a correct worldmap ( see above). And in the settings, select ‘Lock’, hoping that this would lock the zoom-level.

[cid:[email protected]]

I saved the layer, and used this for the Power BI visual. But then it’s still possible to zoom in to the maximum. So this didn’t solve the problem unfortunately. [cid:[email protected]]

This is the max. zoomlevel I want to see, how can I do this? [cid:[email protected]]

Met vriendelijke groet / Kind regards,​ ​ ​CRM Partners​ BV Emile van Lier Consultant

[email protected]mailto:[email protected] +31 (6) 22180919tel:+31%20(6)%2022180919

[CRM Partners Website]https://www.crmpartners.com/ [Youtube]https://www.youtube.com/user/CRMPartnersnl [LinkedIn]https://www.linkedin.com/company/crm-partners [Twitter]https://twitter.com/crmpartnersnl [Facebook]https://www.facebook.com/CRMPartners/

From: steved-MarketGrunt [email protected] Sent: donderdag 30 januari 2020 11:06 PM To: mapbox/mapboxgl-powerbi [email protected] Cc: Emile van Lier [email protected]; Author [email protected] Subject: Re: [mapbox/mapboxgl-powerbi] Worldmap showing duplicate continents. How can I solve this? (#366)

I'm not sure if this will help or not but, in Choropleth settings you can change the auto-zoom settings. I'd suggest changing the Min Zoom to ~5 to see if that fixes the issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mapbox/mapboxgl-powerbi/issues/366?email_source=notifications&email_token=AMAQXP25LI34QHU5DQCIMUTRANFL7A5CNFSM4KNV33WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKMXUKA#issuecomment-580483624, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMAQXP4TPORRJ7MARSS2ER3RANFL7ANCNFSM4KNV33WA.

emilevanlier avatar Feb 03 '20 12:02 emilevanlier

I've read through other threads here and it looks like this feature is on the "to-do" list for V1.6(?).

Also, one of the threads indicated that if one of the data points has a 0,0 co-ordinate the map will default to the max zoom. It might be worth checking to see that all layer references are correctly related back to your PBI dataset.

steved-MarketGrunt avatar Feb 03 '20 21:02 steved-MarketGrunt

Hi, Thanks for your response. Do you have any idea when v1.6 is planned?

Met vriendelijke groet / Kind regards,​ ​ ​CRM Partners​ BV Emile van Lier Consultant

[email protected]mailto:[email protected] +31 (6) 22180919tel:+31%20(6)%2022180919

[CRM Partners Website]https://www.crmpartners.com/ [Youtube]https://www.youtube.com/user/CRMPartnersnl [LinkedIn]https://www.linkedin.com/company/crm-partners [Twitter]https://twitter.com/crmpartnersnl [Facebook]https://www.facebook.com/CRMPartners/

From: steved-MarketGrunt [email protected] Sent: maandag 3 februari 2020 10:55 PM To: mapbox/mapboxgl-powerbi [email protected] Cc: Emile van Lier [email protected]; Author [email protected] Subject: Re: [mapbox/mapboxgl-powerbi] Worldmap showing duplicate continents. How can I solve this? (#366)

I've read through other threads here and it looks like this feature is on the "to-do" list for V1.6(?).

Also, one of the threads indicated that if one of the data points has a 0,0 co-ordinate the map will default to the max zoom. It might be worth checking to see that all layer references are correctly related back to your PBI dataset.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/mapbox/mapboxgl-powerbi/issues/366?email_source=notifications&email_token=AMAQXP4AL7CTM2DRT3FX7LTRBCHEJA5CNFSM4KNV33WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKVRLRI#issuecomment-581637573, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMAQXP5Z2NPF7WSOPNV2Y5DRBCHEJANCNFSM4KNV33WA.

emilevanlier avatar Feb 04 '20 08:02 emilevanlier

Hi, in the latest comments it was mentioned that a solution would (most likely) be provided in release v1.6.

Can you please inform us when this is planned, so that I can give at least an update to my customers?

Thank you!

emilevanlier avatar Mar 27 '20 15:03 emilevanlier