You can use the preset map style (standard, simple, or night) for your map, or customize the map style for your map using the style editor or Maps Studio.
Call the setPresetStyleId(String) method of HWMap to use a preset map style. Currently, there are three preset map styles: standard (Figure 1), simple (Figure 2), and night (Figure 3). If the map type is ROADMAP (basic map), the supported map styles are standard (default), simple, and night. If the map type is TERRAIN (terrain map), only the standard map style is supported.
map.setPresetStyleId("night"); You can customize the map style using either of the following methods:
map.setStyle([
{
"mapFeature": "landcover.natural",
"options": "geometry.fill",
"paint": {
"color": "#8FBC8F"
}
},
{
"mapFeature": "water",
"options": "geometry.fill",
"paint": {
"color": "#4682B4"
}
}
]
); 





Call JavaScript APIs to specify a preview ID or style ID so that the corresponding style will be applied to the map.
JavaScript allows you to specify a preview ID or style ID either before or after a map is loaded.
When importing the Map Kit API file in Map Creation, add the styleId or previewId parameter. If both parameters are set, the styleId parameter takes precedence. Note that the API key must be transcoded using the URL.
<script src="https://mapapi.cloud.huawei.com/mapjs/v1/api/js?callback=initMap&key=API KEY&styleId=styleId"></script>// Specify a style ID. map.setStyleId(String styleId) // Specify a preview ID. map.setPreviewId(String previewId)