Commit 825534f7 authored by Aaron McCarthy's avatar Aaron McCarthy Committed by Aaron McCarthy
Browse files

Add mobile optimized pedestrian maps to Nokia/HERE plugin.


The description of the existing pedestrian maps falsely indicated that
they were mobile optimized. The mobile wording has been removed and
actually mobile optimized maps have been added.

Change-Id: I48f7ea043cfbe424508fc783adabef47f283d2e9
Reviewed-by: default avatarAlex Blasche <alexander.blasche@digia.com>
parent 4bdf3bc3
No related merge requests found
Showing with 9 additions and 5 deletions
...@@ -99,9 +99,11 @@ QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia( ...@@ -99,9 +99,11 @@ QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(
types << QGeoMapType(QGeoMapType::StreetMap, tr("Mobile Night Street Map"), tr("Mobile normal map view in night mode"), true, true, 14); types << QGeoMapType(QGeoMapType::StreetMap, tr("Mobile Night Street Map"), tr("Mobile normal map view in night mode"), true, true, 14);
types << QGeoMapType(QGeoMapType::GrayStreetMap, tr("Gray Night Street Map"), tr("Color-reduced map view in night mode (especially used for background maps)"), false, true, 15); types << QGeoMapType(QGeoMapType::GrayStreetMap, tr("Gray Night Street Map"), tr("Color-reduced map view in night mode (especially used for background maps)"), false, true, 15);
types << QGeoMapType(QGeoMapType::GrayStreetMap, tr("Mobile Gray Night Street Map"), tr("Mobile color-reduced map view in night mode (especially used for background maps)"), true, true, 16); types << QGeoMapType(QGeoMapType::GrayStreetMap, tr("Mobile Gray Night Street Map"), tr("Mobile color-reduced map view in night mode (especially used for background maps)"), true, true, 16);
types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Pedestrian Street Map"), tr("Pedestrian map view in daylight mode for mobile usage"), true, false, 17); types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Pedestrian Street Map"), tr("Pedestrian map view in daylight mode"), false, false, 17);
types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Pedestrian Night Street Map"), tr("Pedestrian map view in night mode for mobile usage"), true, true, 18); types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Mobile Pedestrian Street Map"), tr("Mobile pedestrian map view in daylight mode for mobile usage"), true, false, 18);
types << QGeoMapType(QGeoMapType::CarNavigationMap, tr("Car Navigation Map"), tr("Normal map view in daylight mode for car navigation"), false, false, 19); types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Pedestrian Night Street Map"), tr("Pedestrian map view in night mode"), false, true, 19);
types << QGeoMapType(QGeoMapType::PedestrianMap, tr("Mobile Pedestrian Night Street Map"), tr("Mobile pedestrian map view in night mode for mobile usage"), true, true, 20);
types << QGeoMapType(QGeoMapType::CarNavigationMap, tr("Car Navigation Map"), tr("Normal map view in daylight mode for car navigation"), false, false, 21);
setSupportedMapTypes(types); setSupportedMapTypes(types);
QGeoTileFetcherNokia *fetcher = new QGeoTileFetcherNokia(parameters, networkManager, this, tileSize()); QGeoTileFetcherNokia *fetcher = new QGeoTileFetcherNokia(parameters, networkManager, this, tileSize());
...@@ -167,8 +169,10 @@ void QGeoTiledMappingManagerEngineNokia::populateMapSchemes() ...@@ -167,8 +169,10 @@ void QGeoTiledMappingManagerEngineNokia::populateMapSchemes()
m_mapSchemes[15] = QStringLiteral("normal.night.grey"); m_mapSchemes[15] = QStringLiteral("normal.night.grey");
m_mapSchemes[16] = QStringLiteral("normal.night.grey.mobile"); m_mapSchemes[16] = QStringLiteral("normal.night.grey.mobile");
m_mapSchemes[17] = QStringLiteral("pedestrian.day"); m_mapSchemes[17] = QStringLiteral("pedestrian.day");
m_mapSchemes[18] = QStringLiteral("pedestrian.night"); m_mapSchemes[18] = QStringLiteral("pedestrian.day.mobile");
m_mapSchemes[19] = QStringLiteral("carnav.day.grey"); m_mapSchemes[19] = QStringLiteral("pedestrian.night");
m_mapSchemes[20] = QStringLiteral("pedestrian.night.mobile");
m_mapSchemes[21] = QStringLiteral("carnav.day.grey");
} }
QString QGeoTiledMappingManagerEngineNokia::getScheme(int mapId) QString QGeoTiledMappingManagerEngineNokia::getScheme(int mapId)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment