Jeśli chcesz zaktualizować styl używany w wersji produkcyjnej, najpierw przetestuj zmiany.
Zduplikuj styl mapy produkcyjnej.
W duplikowanym stylu mapy wprowadź zmiany i opublikuj.
Jeśli zduplikowany styl został właśnie zaktualizowany, sprawdź zaktualizowane style, aby upewnić się, że wyglądają tak, jak powinny. Funkcje mapy ze stylami niestandardowymi mają obok siebie niebieski punkt. Rozwiń wszystkie elementy mapy, aby zobaczyć wszystkie zmiany.
Połącz zduplikowany styl mapy z innym identyfikatorem mapy, którego możesz użyć do przetestowania stylu w środowisku testowym.
Przetestuj zmiany stylu w środowisku testowym.
Gdy wyniki będą zadowalające, powiązaj zduplikowany styl mapy z identyfikatorem mapy produkcyjnej.
[null,null,["Ostatnia aktualizacja: 2025-03-25 UTC."],[[["Before updating a production map style, it's recommended to test changes in a duplicated style to ensure desired results."],["The testing process involves duplicating the production style, making and publishing changes, associating it with a separate map ID for staging, and thoroughly testing in the staging environment."],["Once satisfied with the tested changes, associate the updated style with your production map ID for implementation."],["Duplicated styles do not inherit version history from the original, requiring manual updates to the original style for historical tracking."],["Style changes may take a few hours to reflect across all platforms and devices."]]],["To test map style updates before production, duplicate the existing production map style. Make and publish changes to the duplicate, then associate it with a separate map ID for staging. Test the style in the staging environment. If satisfied, link the updated style to the production map ID. Note that style changes can take a few hours to appear. Duplicated styles don't maintain version history; for history, apply tested changes to the original style.\n"]]