Articles in this section
Category / Section

How to Access India State Shape in Bold BI Map Widget Properties

Published:

This article provides a comprehensive guide on how to access the India State shapefile through properties in the Bold BI Map widget.

By default, users can access the USA states through properties in the Bold BI Map widget. Similarly, the India state shapefile is already available in the following shape location: {Deployed Location}/app_data/bi/shapefiles. By utilizing these files, users can access the India state shape through properties and adjust the shape settings in the Map widget. Follow the steps below to ensure seamless access and configuration:

Steps to Access India State Shape in Bold BI Map Widget Properties
  1. Open the shapefile.json file in a text editor. This file is located at: {Deployed Location}/app_data/bi/shapefiles/shapefile.json.
    image.png

  2. Add the India shape details under the state category. Ensure the format matches the existing entries. For example, if adding the Haryana state shape file into widget properties, open the JavaScript file india_haryana.js, which can be found at {Deployed Location}/app_data/bi/shapefiles/. Copy the name and paste it into the shapefile.json as shown below.
    image.png

  3. The string value provided in the value section must correspond to the name of the respective state’s JavaScript files.

  4. After adding the necessary details, save the shapefile.json file.

  5. Restart the Internet Information Services (IIS) to apply the changes.

  6. Open the dashboard designer and configure the map widget.

  7. Click on the Map widget to open its properties. In the properties section, locate the Shape Kind drop-down menu. Select State from the list of options.
    image.png

  8. In the Shape Data drop-down menu, find and select the India State shapefile.
    image.png

  9. Selecting the newly added state shapefile from the dropdown menu, the Map widget will render according to the chosen shape, as illustrated in the image below.

    image.png

    By following these steps, you can access and utilize the India State shapefile in your Bold BI Map widget.

Additional Resources
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
TF
Written by Thoulathul Fahmeetha
Updated
Comments (0)
Please  to leave a comment
Access denied
Access denied