Guides
Guides

How to use day and night map styles for Japan

This tutorial demonstrates how to create a day and night map style for a Japan focused use case. The style highlights Japan-specific features, maintains brand alignment with a global map, and observes accessibility and legibility standards in dense driving environments.

A Japanese map has unique characteristics, such as dense urban POI clusters, highly detailed street networks, Shinkansen lines, ferry routes, and cultural cartographic conventions. Applying a global style is not recommended, as this might introduce overcrowded visuals in cities, obscure items such as expressway entrances, and render the map unfamiliar to local users. Style Editor provides an option to style map items unique to Japan, which might not be listed in the default rest of the world map.

Key design points

The following are important style design points:

  • Only enable Japan styling if your end product is intended for the Japanese market.
  • Check both local and global views to maintain design consistency.
  • Test in both dense city and sparse rural environments.
  • Consider performance. Japan styles contain a large amount of data.
  • In your end-user application, review your Japan bookmarks in low-light conditions.

Get started

The following identifies how to get started for this tutorial:

  • If you do not have a HERE Platform account, see Get started.
  • A desktop computer is recommended for this tutorial.

Tutorial steps

The following steps are required to complete this tutorial:

  1. Choose your base map and enable Japan styling
  2. Identify Japan styling indicators
  3. Set up location bookmarks
  4. Style Japan specific layers
  5. Compare with global view
  6. Schematic map view check
  7. Accessibility check
  8. Create the night variant
  9. Export and save

Choose your base map and enable Japan styling

To choose a base map and create a new style:

  1. From the File menu, select Create a new map style.
  2. From the dashboard, select Explore and Day as a base family.
  3. Select the Include detail styling for Japan toggle.
  4. Click Create new map style.
Choose a base map

Identify Japan styling indicators

In the Layers panel, items with a purple colored indicator are Japan specific. These indicators identify items that are:

  • Unique to Japan
  • Global style overrides, for example, rail, state boundary, and pedestrian areas.
📘

Note

Japan specific edits don't affect global styling.

You can switch this view on or off by deselecting the Show styling for Japan checkbox and moving to regions other than Japan.

Identify Japan styling indicators

Set up location bookmarks

You can use location bookmarks to check your style and verify that it performs correctly. You can use preset Japan bookmarks, or you can create your own using the following procedure.

To create location bookmarks:

  1. Navigate to the view you want to bookmark.
  2. From the Map view controls, select the Location bookmarks icon.
  3. From Custom, select +.
  4. Enter a bookmark name.

In the location bookmarks, there are several Japan bookmark presets available. These include Tokyo, Kyoto, Sapporo, and others.

Add location bookmarks

Style Japan specific layers

You can style any of the Japan specific layers listed in the Layers panel. It's good practice to style the following layers first:

  • Roads - Japanese expressways, toll roads, and small local streets have different classifications compared to global maps.
  • Transit - Shinkansen lines, subways, major JR railways, and ferry routes.
  • POI - Prioritize gas stations, convenience stores, and local transport hubs.
  • Landuse - Japanese parks, temples, and shrines often require distinct but subtle styling.
  • Administrative boundaries – Many borders for districts and cities.

To apply best practice for styling layers, follow these steps:

  1. Select a layer with a purple indicator. Edit color, line thickness, and label appearance first.
  2. Use zoom-level stops to make dense data manageable.
  3. Adjust opacity for non-essential items in crowded contexts.
  4. You can hide items by setting the numeric value to 0. You can also set the opacity to be fully transparent.
  5. You can override a global value specifically for Japan by selecting Style differently for Japan from the Attributes menu. See the following screen capture.

Override a value for Japan styling

Compare with global view

It's useful to compare your Japan style with the global view.

To compare the current style with the global view:

  1. From the Layers panel, uncheck the Show styling for Japan checkbox.
  2. Compare features in your Japan style against the global base style.
  3. Use location bookmarks to compare regions that have different map items in Japan and elsewhere.

Schematic map view check

You can use the Schematic Map View to search for unstyled Japan-only features.

To search for unstyled Japan-only features:

  1. From the Map view controls, select the Map view icon.
  2. Select Schematic Map View.
  3. Style features that are unstyled or require editing.
Using the Schematic Map View

Accessibility check

You can use the Color vision deficiency view to check for Protanopia, Deuteranopia, and Tritanopia. See Map view controls for more information.

To check the Color vision deficiency view:

  1. From the Map view controls, select the Map view icon.
  2. Select Color vision deficiency view.
  3. Edit low contrast areas, which can occur in dense Japan city maps.
Using color vision deficiency view

Create the night variant

You can create a night variant of your map style without losing your current style edits.

To create a night variant:

  1. From the Edit menu, select Swap base map.
  2. Select the Night base map style from the Explore family.
  3. Click the Create a copy button.
  4. Adjust colors, brightness and contrast for night driving.
Create a night variant style

Save and export

Save a copy of your files locally on your computer. Do not rely on browser cache.

To save and export your file:

  1. To save, from the File menu, select Save work file.
  2. To export your map style in JSON file format for SDK integration, select Export map style.
Save and export your style