Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
easybaker
Regular Visitor

Custom Visual ShapeMapSelector

So i'm making a custom visual kind of similar to Microsoft's Shape map visual and want to allow json file input in the visual formatting settings. With Microsoft's Shape map visual they allow you to add a custom map type (topojson file) that you upload.

 

I figured out that this corresponds to the ShapeMapSelector formattingmodel but cannot figure out how I should correlate this to the capabilities.json type so that it will allow json input. If i try to make it type: "text" or something of that sort it will just result in the formatting setting being "[object Object]" when you input a json file. Is there some type i'm missing or some way to convert the json input to text before it turns into "[object Object]"?

 

It would be nice to see the source code for Microsoft's Shape map visual, but all the visuals that come with powerBI aren't open source.

 

Thank you for any help!

0 REPLIES 0

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.