Skip to content

Commit

Permalink
Update ArcGISRuntimeSDKQt_CppSamples/Maps/ConfigureBasemapStyleLangua…
Browse files Browse the repository at this point in the history
…ge/ConfigureBasemapStyleLanguage.cpp

Co-authored-by: Lucas Danzinger <[email protected]>
  • Loading branch information
har13205 and ldanzinger authored Mar 5, 2024
1 parent 0b36d5b commit cd68518
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ void ConfigureBasemapStyleLanguage::setNewBasemapLanguage(bool global, const QSt
basemapStyleParameters->setSpecificLanguage("tr");
}

if (basemap)
delete basemap;

basemap = new Basemap(BasemapStyle::OsmLightGray, basemapStyleParameters, this);
m_map->setBasemap(basemap);
}

0 comments on commit cd68518

Please sign in to comment.