Bing Maps
allows you to visualize the markers based on the latitude and longitude data.
Figure: Default Bing maps visualization showing markers based on the configured latitude and longitude information
You need to follow these steps to get keys.
Go to the Bing Maps Dev
Center at https://www.bingmapsportal.com/.
Register or sign in using your Microsoft account.
Select My keys
under My Account.
Select the option to create a new key.
Provide the required details in the following form,
To enable the bing maps in your enterprise build, you need to follow these steps.
Open the mentioned file in your enterprise build location,
[Installed_Directory
\ BoldServices\app_data\configuration\config.xml]
Set <widget><BingMap><Enable>
key value as true.
Set your Bing Maps Key in <key>
in config.xml
Open the below mentioned file in your enterprise build location,
[Installed_Directory
\BoldServices\bi\dataservice\appsettings.json].
Set widget:bing_map:enable
key value as true and set your Bing Maps Key in widget:bing_map:api_key
in appsettings.json
.
Then, launch your build and you find the bing maps in design panel.
[Installed_Directory
\ Bold BI\Dashboard Designer\Web.config]
widget:bing_map:enable
key value to true.Then, launch your build and you can find the bing maps in the design panel.
NOTE: Before adding the Bing maps widget to the design layout, make sure to create the data source. You can refer to this section to learn how to create a new data source.
IMPORTANT: To showcase a Bing maps, a minimum requirement of
one latitude
andone longitude
fields are needed.
The following steps explains about data configuration of the Bing maps.
Bing maps
control icon from the toolbox into the design panel. You can find control by searching in the toolbox.Properties
icon in the configuration panel.ASSIGN DATA
tab.An element can be dragged from the measure or dimension section.
The configured field names can be edited by using the Rename
option provided in the settings menu.
Drag the elements from the Dimension
to Location Name
section.
Bing map will render as follows.
You can add more than one value to the Location Name
section. The alert message will be shown to enable the drill-down option.
Click Yes
to enable the option.
NOTE: If you click No
, a single value will be added to the Location Name
field(i.e. newly dropped column replace the existing one).
Figure: Bing-map with drilled view of the selected area.
Hidden columns are useful in cases where we don’t want the fields to take part in the visualization, but only to be used for linking, filtering and view data.
We can configure both measure and dimension fields into the hidden column. For measure we will be having all the settings we have for the measure fields expect formatting and filtering.
In the case of dimension fields we will having the following options only.
The primary use case of the hidden columns is linking. On configuring hidden columns, we can see below that the fields configured in hidden columns are listed in the linking section. On configuring the column in linking we can pass the corresponding column value in linking parameter.
Measure Based Example: If we wish to pass the number of UnitsInStock as an URL parameter but do not want it to influence the visualization, we can configure the UnitsInStock in the hidden columns and incorporate them into the link.
Dimension Based Example: If we wish to pass the region as an URL parameter but do not want it to influence the visualization, we can configure the region in the hidden columns and incorporate them into the link.
You can use hidden columns to filter data in the visualizations. Configure hidden columns and click the below filter icon.
Click the Custom button highlighted in the filter configuration dialog image below. It will list all the fields configured in the widget. Keep the field configured in the hidden column and remove the other fields, then click the Update button.
Now, we can see in the below image, the data is filtered based on the hidden column field instead of the actual column that we bound in the widget.Â
For more details about filtering the widget data, refer to the Filter Configuration documentation
You can view the data in the hidden columns in the underlying data view. This is useful for checking the data in more detail and can help you to identify any issues with the data.
NOTE: We don’t recommend to configure lower hierarchy data in hidden columns as we can see in the info icon in
Hidden Column
section denotes the same.
The below map displays the unit price by ship country without hidden columns.
If we configure lower hierarchy data (Ship City) in hidden columns, the data configured in the widgets gets duplicated, and incorrect data is displayed in the tooltip, as we can see in the image below.
Bind column by dragging and dropping the element from sections to Latitude
.
NOTE:
Drag and drop the elements from sections to Longitude
section.
NOTE:
Image: Bing maps widget after configuring the mandatory fields.
Drag and drop the elements from sections to Address
section. The field added here, will act as a address value.
Bing maps widget, after configuring the Address fields.
Drag and drop the elements from other sections to Postal Code
section. The field added here, will act as a postal code.
Image: Bing maps widget after configuring the Postal Code fields.
If you wish to modify the size of the marker according to the data, then you can configure that data in the Marker Size
section. You can only configure the measured field for Marker Size.
After configuring the marker size field, the Bing map renders as follows.
Note: After configuring the marker size, the size of marker settings under the property panel will be disabled automatically.
Drag and drop the elements from sections to the Marker Tooltip
section. It will define the marker tooltip value in the bing maps. Also, it is an optional section.
Image: Bing maps widget after configuring the market tooltip field
Drag and drop the elements from sections to the Marker Image
section. It will define the marker in the bing maps. Also, it is an optional section.
Image: Bing maps widget after configuring the marker Image field
You can filter
and sort
the data displayed in the widget from the settings menu options. To open the settings menu, click the settings
icon.
You can use Filters to change the values by selecting the Filter
option. For more details, refer to Measure filter and dimension filter.
You can format the Bing maps
for better illustration of the view that you require using the settings available in the Properties
tab.
This allows you to set title
for this Bing maps widget.
This allows you to set subtitle
for this Bing maps widget.
This allows you to set brief explanation about this Bing maps widget.
This option allows you to toggle the visibility of tooltip in Bing map.
This allows you to toggle the theme of the bing maps.
This allows you to show the zooming icons in bing maps.
If you perform zoom in or zoom out using icons or mouse in design mode, then the same zoom level will be maintained in the view mode.
Zoom state in design mode.
Zoom state in view mode.
This disables the Zooming and Panning in maps.
This allows you to toggle the map shapes of the Bing Maps.
This section shows up when the Location Value
and Location Name
fields have values.
You can configure a single color palette whose saturation differs based on the value density.
This allows you to customize the map color with three different types: gradient, rule, or individual. By default, the window renders with gradient type.
If you enable the option Advanced,
the color customization window will render as follows.
You can select the desired measures or dimensions field using the Based On
dropdown. You can change the summary type. You can edit the Low
and the High
value and their colors. By default, the low value takes the minimum value of the map and the high value takes the maximum value of the map. The Mid
can be enabled and can change its value and color can be changed. By default, the mid-color is disabled.
If you click save, the map will render as follows.
The default color will apply for conditions not satisfied by the advance color customization.
You can select the rule settings by clicking the Rule
radio button. The color customization window renders as follows.
You can change Based on field and summary type
as gradient type. The Value Type
can be changed with value or percentage.
You can choose a series of colors with the Fill
color picker using the multiple condition sets: greater than, less than, equal to, not equal to, between, Not between, greater than or equal to, and less than or equal to. You can customize the legend name by providing the necessary values inside the condition name. You can also add multiple conditions.
You can select the rule settings by clicking the Individual
radio button. The color customization window renders like this.
This type renders with the individual default color for each value of the map. You can change its color with the individual color pickers. If you want to reset your changes return to the default color using the Reset.
You can save your changes by clicking the Save.
Now, the map renders with changes.
This allow to change the marker shapes of the bing maps.
This allow to upload the various type of Images.
Image: Bing maps widget after applying the marker Image settings
This allows to change the marker color of the bing maps.
This allows to change the marker size of the bing maps. When configuring data into Marker Size
, this property will be disabled.
Note: Marker Settings will be visible only by configuring either latitude and longitude or Address and postal code.
Markers can be customized based on the conditions and the fields by enabling the advance settings check box.
This option allows you to customize the map marker color individually based on the selected column values.
For example, if you have three types of signal strength options in your data and you want to display marker colors based on the three types. You can select the Signal Strength
column in the based selection and then assign a color for each type of signal strength option.
Now, the map marker color renders with these changes.
You can enable linking and configure to navigate to a general URL with or without parameters. For more details, refer to the Linking.
You can render the bing maps markers based only on the address information. For that, there are two sections Address
and Postal Code
added in the field containers section as shown in the following image,
Drag and drop the required fields to the respective field containers to render the bing maps markers. You can drag and drop either the Address
field or Postal Code
field, or both the fields.
After that configurations
This allows you to define the Bing Maps widget as a master widget such that its filter action can be made to listen by other widgets in the dashboard.
This allows you to define this Bing Maps widget to ignore responding to the filter actions applied on other widgets in dashboard.
Using this option, you can enable or disable hierarchical the top N
filtering. While applying the Top N
filter with multiple dimension columns, the data returned can be customized based on whether the filtering needs to be done as flat or based on the hierarchy of dimension columns added.
When the Hierarchical Filter option is enabled, the Top N
will be applied for each individual column separately based on the number set for each column.
This section contains the property for bing maps container’s layout.
This allows you to handle the alignment of widget title to either left, center, or right.
This allows you to apply the text color
to the widget title.
On enabling Auto Font Size, the font size of the title will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Title Auto Font Size is disabled. Value can be between 10 and 44.
On enabling Auto Font Size, the font size of the subtitle will be adjusted automatically if the resolution of the screen varies.
Font Size
This allows you to apply the specified size of the font to the widget title if the Subtitle Auto Font Size is disabled. Value can be between 10 and 32.
On enabling Auto Padding, the padding of the widget container will be adjusted automatically if the size of the widget varies.
Padding
This allows you to customize the padding of the widget container if the Auto Padding is disabled. Value can be between 0 and 25.
This allows you to toggle the visibility of the border
surrounding the widget.
This allows you to apply the specified radius
to the widget corners if the Show Border is enabled. Value can be between 0 and 10.
This allow you to set the background image for the map widget.
This allows you to set the background color to the map widget.
This property allows you to change the transparency from 0.0 to 1.0.
This allows you to toggle the visibility of the shadow
surrounding the widget.
This allows you to enable or disable the widget title
of the map.
This allows you to enable or disable the maximized mode
of the map widget. The visibility of the maximize icon in the widget header will be defined based on the setting in the viewer.
This allows you to enable or disable the CSV export
option for the map widget. Enabling this allows you to export the summarized data of the widget view to CSV format in the viewer.
This allows you to enable or disable the Excel export
option for the map widget. Enabling this allows you to export the summarized data of the widget view to (.xlsx or .xls)
format in the viewer.
This allows you to enable or disable the Image export
option for the map widget. Enabling this allows you to export the view of the widget to image format (.jpg), (.png), or (.bmp)
in the viewer.
This allows you to enable or disable the PDF export
option for the map widget. Enabling this allows you to export the view of the widget to pdf format in the viewer.
This allows you to enable or disable comment
for the dashboard widget. For more details, refer to this link.
This allows you to visualize the raw data associated with a widget at runtime.
To learn more about viewing the underlying widget data, refer to the view data documentation.
This allows you to pin the widget.