set_shapemap_custom_map
Set a custom TopoJSON or GeoJSON map on a Power BI shapeMap visual by providing a local .json file, http(s) URL, or inline JSON string to update the map rendering.
Instructions
Set a custom TopoJSON/GeoJSON map on a shapeMap (the custom-map upload). topojsonOrGeojson = a local .json file (embedded), an http(s) URL, or an inline JSON string. Verify the render in Desktop.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | page name or displayName | |
| visual | Yes | shapeMap visual name | |
| reportSessionId | Yes | ||
| topojsonOrGeojson | Yes | local .json file, URL, or inline TopoJSON/GeoJSON |