In IBM®
Cognos® Analytics you
can customize Map charts with your-style maps and your-style icons.
Before you begin
To create a custom map, you must have an account on Mapbox.
Procedure
-
To create a custom map:
- In a browser, navigate to Mapbox and log in to your account.
- To create a map of your style, click Styles to open page with
styles.
- Click the New Style button.
- Select a predefined template, for example,
Monochrome.
- In Choose a variation, select a map variation from
options.
- Click the Customize TemplateName, Customize
Monochrome for the template Monochrome.
- To implement your icons in the map, click the Images tab, and
download an SVG file.
Note:
The recommended file size is 15 pixel x 15 pixel.
In file names, the following characters are allowed: the alphanumeric characters, the underscore,
and the hyphen.
To learn about supported SVG elements and attributes, see SVG
support (https://git hub.com/mapnik/mapnik/wiki/SVG-support) page.
- To provide a name to the style, click the name of the template, for example,
Monochrome, and enter the name of your choice in the field.
- To save the map, click the Publish button.
- To use a custom map in Visualizations:
- Click the map, and go to
.
- In the Map base field, select
Custom.
- In the URL field, paste your style
URL copied from Mapbox.
- Press Enter.
- To use custom icons for Regions or Points in the Map chart:.
- Click the map, and go to
or
.
- In the Icon field, select
Custom.
- In the Custom icon name field, enter the name of the
icon.
Results
The changed properties are implemented now. Your-style map and icons are displayed in the
Map chart.