Files prefix changed from MGL to MLN (#919)
This commit is contained in:
@@ -482,7 +482,7 @@ void MapWindow::initializeGL()
|
||||
// Set default location to Helsinki.
|
||||
m_map->setCoordinateZoom(QMapLibreGL::Coordinate(60.170448, 24.942046), 5);
|
||||
|
||||
QString styleUrl = qgetenv("MGL_STYLE_URL");
|
||||
QString styleUrl = qgetenv("MLN_STYLE_URL");
|
||||
if (styleUrl.isEmpty()) {
|
||||
changeStyle();
|
||||
} else {
|
||||
|
||||
@@ -132,7 +132,7 @@ Settings::Settings()
|
||||
, m_cacheMaximumSize(mbgl::util::DEFAULT_MAX_CACHE_SIZE)
|
||||
, m_cacheDatabasePath(":memory:")
|
||||
, m_assetPath(QCoreApplication::applicationDirPath())
|
||||
, m_apiKey(qgetenv("MGL_API_KEY"))
|
||||
, m_apiKey(qgetenv("MLN_API_KEY"))
|
||||
, m_tileServerOptionsInternal(new mbgl::TileServerOptions(mbgl::TileServerOptions::DefaultConfiguration()))
|
||||
{
|
||||
}
|
||||
@@ -289,7 +289,7 @@ void Settings::setAssetPath(const QString &path)
|
||||
/*!
|
||||
Returns the API key.
|
||||
|
||||
By default, it is taken from the environment variable \c MGL_API_KEY
|
||||
By default, it is taken from the environment variable \c MLN_API_KEY
|
||||
or empty if the variable is not set.
|
||||
*/
|
||||
QString Settings::apiKey() const {
|
||||
|
||||
Reference in New Issue
Block a user