diff --git a/OsmAnd/res/values-ca/strings.xml b/OsmAnd/res/values-ca/strings.xml
index f8aa1d78cd..7b2668cd0f 100644
--- a/OsmAnd/res/values-ca/strings.xml
+++ b/OsmAnd/res/values-ca/strings.xml
@@ -1894,7 +1894,7 @@ La llista de països inclosos (bàsicament tot el món!): Afganistan, Albània,
Mai
Avançat
Utilitzeu una connexió segura amb el servidor
- Utilitzeu https
+ Utilitzeu HTTPS
Inici
Cerca per
MOSTRA EL MAPA
diff --git a/OsmAnd/res/values-cs/strings.xml b/OsmAnd/res/values-cs/strings.xml
index 4ec1105bd0..fad3a61be8 100644
--- a/OsmAnd/res/values-cs/strings.xml
+++ b/OsmAnd/res/values-cs/strings.xml
@@ -1,4 +1,4 @@
-
+
Vektorové mapy toto místo neobsahují. Mapová data můžete stáhnout v Nastaveních (Spravovat mapové soubory), nebo se přepněte na online mapy.
"Změny ve verzi 0.7.2 :
\n\t- Native rendering pro všechna zařízení
@@ -1771,7 +1771,7 @@ s často kladenými otázkami.
%1$s potřebuje tato oprávnění pro vypnutí obrazovky při režimu šetření energie.
Nikdy
Pokročilé
- Domov
+ Domovská obrazovka
ZOBRAZIT MAPU
Použít zabezpečené spojení se serverem
Použít HTTPS
@@ -1779,4 +1779,9 @@ s často kladenými otázkami.
Hledat
ZOBRAZIT VŠE
Souřadnice
-
+ Zavřít
+ Vše je aktuální
+ Použít OpenGL
+ Použít hardwarově akcelerované renderování pomocí OpenGL (nemusí fungovat na všech zařízeních)
+ Nebyla nalezena nejbližší silnice
+
diff --git a/OsmAnd/res/values-da/phrases.xml b/OsmAnd/res/values-da/phrases.xml
index af5a6d2fef..ac49115c68 100644
--- a/OsmAnd/res/values-da/phrases.xml
+++ b/OsmAnd/res/values-da/phrases.xml
@@ -636,4 +636,7 @@
Astronomisk observatorium
Varm kilde
Gejser
+ Kolonihaver
+ Gård
+
diff --git a/OsmAnd/res/values-da/strings.xml b/OsmAnd/res/values-da/strings.xml
index cc1ca78ffb..394ae1d9e8 100644
--- a/OsmAnd/res/values-da/strings.xml
+++ b/OsmAnd/res/values-da/strings.xml
@@ -1843,7 +1843,7 @@
Aldrig
Avanceret
Brug sikker forbindelse med server
- Brug https
+ Brug HTTPS
Start
Søg efter
VIS KORT
diff --git a/OsmAnd/res/values-de/strings.xml b/OsmAnd/res/values-de/strings.xml
index 6f7cf174ed..cc102ff759 100644
--- a/OsmAnd/res/values-de/strings.xml
+++ b/OsmAnd/res/values-de/strings.xml
@@ -2022,4 +2022,7 @@ Afghanistan, Ägypten, Albanien, Algerien, Andorra, Angola, Anguilla, Antigua an
ALLES ANZEIGEN
Koordinaten
Suche nach
+ Alle Dateien sind auf dem neuesten Stand.
+ OpenGL-Rendering aktivieren
+ Nutze Hardware-beschleunigtes OpenGL-Rendering (ggf. nicht auf allen Geräten verfügbar)
diff --git a/OsmAnd/res/values-es/strings.xml b/OsmAnd/res/values-es/strings.xml
index 37c78bb5b8..ba309e2e62 100644
--- a/OsmAnd/res/values-es/strings.xml
+++ b/OsmAnd/res/values-es/strings.xml
@@ -1888,4 +1888,5 @@ Afganistán, Albania, Alemania, Andorra, Angola, Anguila, Antigua y Barbuda, Ant
Usar renderizado opengl acelerado por hardware (podría no funcionar en algunos dispositivos)
No se ha encontrado la carretera más cercana
Todo actualizado
+ Descartar
diff --git a/OsmAnd/res/values-it/strings.xml b/OsmAnd/res/values-it/strings.xml
index f76837b919..1f6e19a234 100644
--- a/OsmAnd/res/values-it/strings.xml
+++ b/OsmAnd/res/values-it/strings.xml
@@ -2036,4 +2036,6 @@ Si consiglia di aggiungere uno o più punti intermedi per migliorarne le prestaz
Non è stata trovata una strada nelle vicinanze
Utilizzare il rendering opengl
Utilizzare il rendering opengl accelerato via hardware (potrebbe non funzionare in alcuni dispositivi)
+ Tutto aggiornato
+ Abbandona
diff --git a/OsmAnd/res/values-ko/phrases.xml b/OsmAnd/res/values-ko/phrases.xml
index 9e057124b7..6b7e5c94df 100644
--- a/OsmAnd/res/values-ko/phrases.xml
+++ b/OsmAnd/res/values-ko/phrases.xml
@@ -10,4 +10,87 @@
델리
농장 가게
Greengrocery
+ 해산물 가게
+ 과자
+ 아이스크림 응접실
+ 슈퍼마켓
+ 홍차 가게
+ 낙농장 상점
+ 자동 판매기
+
+ 서점
+ 자전거 가게
+ 애니메이션 상점
+ 골동품 가게
+ 아트 숍
+ 아기 상품
+ 가방 가게
+ 욕실 가구
+ 침대 룸 가구
+ 패션 부티크
+ 카펫 가게
+ 약국
+ 의류 매장
+ 어린이 의류
+ 신발 가게
+ 컴퓨터 가게
+ 복사 가게
+ 커튼 가게
+ 휘장 상점
+ 침구 가게
+ 다이빙 장비
+ 주택 개선 가게
+ 에로틱 가게
+ 낚시 도구
+ 꽃 가게
+ 그림 프레임 가게
+ 가구점
+ 정원 센터
+ LPG 주유소
+ 일반 상점
+ 선물 가게
+ Glaziery
+ 하드웨어 스토어
+ 청력 도움
+ 허브 상점
+ 고음질 스토어
+ 가정용품 공급 상점
+ 사냥 장비
+ 실내 장식 가게
+ 보석 상점
+ 키오스크
+ 주방용품
+ 휴대 전화 가게
+ 오토바이 가게
+ 악기
+ 통신사
+ 검안
+ 유기농 식품
+ 아웃도어 가게
+ 페인트 샵
+ 애완 동물 가게
+ 전파상
+ 두 번째 가게
+ 배 잡화상
+ 스포츠 용품
+ 문구용품 가게
+ 식기 상점
+ 티켓 판매소
+ 담배 상점
+ 장난감 가게
+ 무역소
+ 진공 청소기 가게
+ 잡화점
+ 비디오 가게
+ 창문 블라인드 가게
+ 백화점
+ 전자 제품 매장
+ 자동차 판매소
+ 자동차 부품
+ 쿼드 가게
+ 화장품
+ 마켓 플레이스
+ 건조 용품 가게
+
+ 경찰
diff --git a/OsmAnd/res/values-ko/strings.xml b/OsmAnd/res/values-ko/strings.xml
index 6dfb86e823..1b97a6ec32 100644
--- a/OsmAnd/res/values-ko/strings.xml
+++ b/OsmAnd/res/values-ko/strings.xml
@@ -2092,4 +2092,6 @@
가장 가까운 도로를 찾을 수 없습니다
Opengl 렌더링 사용
하드웨어로 가속된 opengl 렌더링 사용 (일부 장치에는 작동 하지 않을 수 있습니다)
+ 해제
+ 최신 자료
diff --git a/OsmAnd/res/values-lt/strings.xml b/OsmAnd/res/values-lt/strings.xml
index 559733bad1..c7d696f7af 100644
--- a/OsmAnd/res/values-lt/strings.xml
+++ b/OsmAnd/res/values-lt/strings.xml
@@ -1853,4 +1853,5 @@
Nerastas trumpiausias kelias
Naudoti OpenGL vaizdavimą
Naudoti aparatinį OpenGL vaizdavimą (gali neveikti kai kurioje įrangoje)
+ Viskas atnaujinta
diff --git a/OsmAnd/res/values-pl/phrases.xml b/OsmAnd/res/values-pl/phrases.xml
index 063ff4ed82..b758af1ceb 100644
--- a/OsmAnd/res/values-pl/phrases.xml
+++ b/OsmAnd/res/values-pl/phrases.xml
@@ -39,4 +39,16 @@
Sklep z pościelą
Sprzęt do nurkowania
Punkt ksero i drukowania
+ Sklep dla majsterkowiczów
+ Sklep erotyczny
+ Sklep wędkarski
+ Kwiaciarnia
+ Sklep z ramami do obrazów
+ Sklep meblowy
+ Centrum ogrodnicze
+ Magazyn gazu płynnego
+ Magazyn
+ Sklep pamiątkarski
+ Szklarz
+ Sklep z narzędziami
diff --git a/OsmAnd/res/values-pl/strings.xml b/OsmAnd/res/values-pl/strings.xml
index c355ad4a9e..d51794925e 100644
--- a/OsmAnd/res/values-pl/strings.xml
+++ b/OsmAnd/res/values-pl/strings.xml
@@ -1,4 +1,4 @@
-
+
"Zmiany w 0.6.9: \n\t- poprawiono renderowanie map offline \n\t- szybkie renderowanie natywne (wersja eksperymentalna - może nie działać na niektórych urządzeniach) \n\t- poprawki w interfejsie \n\t- dodano wyświetlanie informacji o wysokości (altitude) \n\t- nowe tłumaczenia (polskie, wietnamskie) \n\t- inne, mniejsze poprawki "
Przezroczysty styl
@@ -1955,4 +1955,9 @@ Afganistan, Afryka Południowa, Albania, Algieria, Andora, Angola, Anguilla, Ant
POKAŻ MAPĘ
POKAŻ WSZYSTKIE
Współrzędne
-
+ Odwołać
+ Wszystko jest aktualne
+ Użyj renderowania OpenGL
+ Użyj renderowania z akceleracją OpenGL (może nie działać na niektórych urządzeniach)
+ Najbliższa droga nie została znaleziona
+
diff --git a/OsmAnd/res/values-ru/phrases.xml b/OsmAnd/res/values-ru/phrases.xml
index 9653243fde..f0ec033371 100644
--- a/OsmAnd/res/values-ru/phrases.xml
+++ b/OsmAnd/res/values-ru/phrases.xml
@@ -389,7 +389,7 @@
Турагенство
Место с хорошим видом
Место для лагеря
-
+ Место для ночлега
Место для пикника
Родник
Кладбище
@@ -620,4 +620,7 @@
Горячий источник
Гейзер
Спортивная дорожка
+ Ферма
+
+ Садоводческое товарищество
diff --git a/OsmAnd/res/values-ru/strings.xml b/OsmAnd/res/values-ru/strings.xml
index 49916aa384..eae9cc95d8 100644
--- a/OsmAnd/res/values-ru/strings.xml
+++ b/OsmAnd/res/values-ru/strings.xml
@@ -1821,4 +1821,8 @@
Дом
Поиск
Всё обновлено
-
+ Использовать OpenGL для рендеринга
+ Использовать аппаратное ускорение OpenGL для рендеринга (может не работать на некоторых устройствах)
+ ПОКАЗАТЬ КАРТУ
+ ПОКАЗАТЬ ВСЁ
+
diff --git a/OsmAnd/res/values-sc/phrases.xml b/OsmAnd/res/values-sc/phrases.xml
index 6b139a21a0..4cdb53eaff 100644
--- a/OsmAnd/res/values-sc/phrases.xml
+++ b/OsmAnd/res/values-sc/phrases.xml
@@ -323,4 +323,82 @@
Campusantu
Campusantu
Funiculare
+ Base militare navale
+ Caserma
+ Istatzione de carrigamentu
+ Rampa pro veìculos
+ Àera cumpressa
+ Nolu bitziclètas
+ Funtanedda
+ Ìsula ecològica
+ Muntonàrgiu
+ Logu de regorta de s\'arga
+ Corbuledda pro s\'arga
+
+ Pontinu
+ Videobardiamentu
+ Osservatòriu
+ Galleria verticale
+ Istrutura pro servìtzios sotziales
+ Fatoria
+
+ Tècnicu audiometrista
+ Tzentru de chirca e isvilupu
+ Tzìrculu artìsticu
+ Tzìrculu astròfilos
+ Tzìrculu informàticu
+ Tzìrculu giogos da mesa
+ Tzìrculu mototziclìsticu
+ Tzìrculu isportivu
+ Tzìrculu pro giogos
+ Tzìrculu automobilìsticu
+ Tzìrculu iscachìsticu
+ Tzìrculu cinèfilos
+ Tzìrculu de ammiradores
+ Tzìrculu de pisca
+ Tzìrculu de veteranos
+ Tzìrculu de Linux
+ Tzìrculu teatrale
+ Tzìrculu de istòria
+ Tzìrculu musicale
+ Tzìrculu fotogràficu
+ Tzìrculu de cassa
+ Tzìrculu turìsticu
+ Libreria
+ Tzentru artìsticu
+ Tzìnema
+ Casinò
+ Tzentru sotziale istitutzionale
+ Tzentru sotziale
+ Teatru
+ Circu
+ Discoteca
+ Nightclub
+ Marina (portu minore)
+ Piscina
+ Parcu
+
+ Tzilleri
+ Ristorante
+ Tzilleri
+ Pub
+ Abba potàbile
+ Mastru de ferru
+ Birrifìtziu
+ Relogiàrju
+ Draperi
+ Elettricista
+ Giardineri
+ Bidraju
+ Artisanu
+ Caentamentu, bentuladura e conditzionamentu
+ Isulamentu tèrmicu de sos edifìtzios
+ Butegheri de prendas
+ Òticu
+ Pintore
+ Fotògrafu
+ Laboratòriu fotogràficu
+ Istucadore
+ Idràulicu
+ Brocarju
diff --git a/OsmAnd/res/values-sc/strings.xml b/OsmAnd/res/values-sc/strings.xml
index f3436c02b6..f4a6704091 100644
--- a/OsmAnd/res/values-sc/strings.xml
+++ b/OsmAnd/res/values-sc/strings.xml
@@ -1780,7 +1780,7 @@ Si cussigiat de annànghere unu o prus puntos intermedios pro megiorare sas pres
%1$s tenet bisòngiu de custa autorizatzione pro istudare s\'ischermu pro sa funtzionalidade de rispàrmiu energèticu.
Avantzadas
Imprea una cunnessione segura cun su server
- Imprea https
+ Imprea HTTPS
Domo
Chirca pro
AMMUSTRA SA MAPA
@@ -1789,6 +1789,7 @@ Si cussigiat de annànghere unu o prus puntos intermedios pro megiorare sas pres
Mapas
No est istada agatada peruna istrada a curtzu
Totu agiornadu
- Impreare sa renderizatzione opengl
- Impreare sa renderizatzione opengl tràmite hardware (diat pòdere non funtzionare in carchi dispositivu)
+ Imprea sa renderizatzione OpengL
+ Imprea sa renderizatzione OpengL tràmite hardware (diat pòdere non funtzionare in carchi dispositivu)
+ Abbandona
diff --git a/OsmAnd/res/values-sk/strings.xml b/OsmAnd/res/values-sk/strings.xml
index 62876b4844..723e07545f 100644
--- a/OsmAnd/res/values-sk/strings.xml
+++ b/OsmAnd/res/values-sk/strings.xml
@@ -1998,4 +1998,8 @@ Afganistan, Albánsko, Alžírsko, Andora, Angola, Anguilla, Antigua a Barbuda,
Súradnice
Mapy
Nenašla sa najbližšia cesta
+ Odmietnuť
+ Všetko je aktuálne
+ Použiť vykresľovanie OpenGL
+ Použiť hardvérovo urýchľované vykresľovanie pomocou OpenGL (nemusí na niektorých zariadeniach fungovať)
diff --git a/OsmAnd/res/values-zh-rTW/strings.xml b/OsmAnd/res/values-zh-rTW/strings.xml
index 4afc766b17..e5b2d51ae8 100644
--- a/OsmAnd/res/values-zh-rTW/strings.xml
+++ b/OsmAnd/res/values-zh-rTW/strings.xml
@@ -1842,4 +1842,5 @@
一切都為最新的
使用 OpenGL 繪製
使用硬體加速 OpenGL 繪製(可能在某些裝置無法工作)
+ 排除
diff --git a/OsmAnd/res/values/phrases.xml b/OsmAnd/res/values/phrases.xml
index 9e2515cf48..7380f717ef 100644
--- a/OsmAnd/res/values/phrases.xml
+++ b/OsmAnd/res/values/phrases.xml
@@ -256,6 +256,8 @@
Suburb
Neighbourhood
Locality
+ Allotments
+ Farm
Pharmacy
Hospital
diff --git a/OsmAnd/res/values/strings.xml b/OsmAnd/res/values/strings.xml
index 1e8f2a868d..b73b5bb5eb 100644
--- a/OsmAnd/res/values/strings.xml
+++ b/OsmAnd/res/values/strings.xml
@@ -11,12 +11,12 @@
-->
Dismiss
Everything up to date
- Use opengl rendering
- Use hardware accelerated opengl rendering (may not work on some device)
+ Use OpenGL rendering
+ Use hardware accelerated OpenGL rendering (may not work on some devices)
Nearest road was not found
Home
Use secure connection with server
- Use https
+ Use HTTPS
Advanced
Maps
Search for
diff --git a/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java b/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java
index 6bf415c43a..dfb570e6f9 100644
--- a/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java
+++ b/OsmAnd/src/net/osmand/plus/activities/DashboardActivity.java
@@ -3,13 +3,11 @@ package net.osmand.plus.activities;
import java.io.File;
import java.lang.ref.WeakReference;
-import java.text.MessageFormat;
import java.util.Calendar;
import java.util.Date;
import java.util.List;
import java.util.Random;
-import android.support.v4.app.FragmentManager;
import net.osmand.access.AccessibleAlertBuilder;
import net.osmand.plus.OsmAndAppCustomization;
import net.osmand.plus.OsmAndLocationProvider;
@@ -17,28 +15,28 @@ import net.osmand.plus.OsmandApplication;
import net.osmand.plus.R;
import net.osmand.plus.Version;
import net.osmand.plus.base.BasicProgressAsyncTask;
-import net.osmand.plus.dashboard.*;
+import net.osmand.plus.dashboard.DashErrorFragment;
+import net.osmand.plus.dashboard.DashFavoritesFragment;
+import net.osmand.plus.dashboard.DashMapFragment;
+import net.osmand.plus.dashboard.DashPluginsFragment;
+import net.osmand.plus.dashboard.DashSearchFragment;
+import net.osmand.plus.dashboard.DashUpdatesFragment;
import net.osmand.plus.download.BaseDownloadActivity;
import net.osmand.plus.download.DownloadActivity;
import net.osmand.plus.download.IndexItem;
import net.osmand.plus.render.MapRenderRepositories;
-import net.osmand.plus.sherpafy.SherpafyLoadingFragment;
import net.osmand.plus.sherpafy.TourViewActivity;
import android.app.Activity;
import android.app.AlertDialog;
import android.app.AlertDialog.Builder;
import android.app.Dialog;
-import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.ApplicationInfo;
-import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.graphics.drawable.ColorDrawable;
-import android.net.Uri;
-import android.os.Build;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.text.SpannableString;
@@ -58,6 +56,7 @@ import com.actionbarsherlock.view.MenuItem;
/**
*/
public class DashboardActivity extends BaseDownloadActivity {
+ private static final String LATEST_CHANGES_URL = "changes-1.9.html";
public static final boolean TIPS_AND_TRICKS = false;
public static final int APP_EXIT_CODE = 4;
public static final String APP_EXIT_KEY = "APP_EXIT_KEY";
@@ -261,15 +260,15 @@ public class DashboardActivity extends BaseDownloadActivity {
pref.edit().putInt(TIPS_SHOW, ++i).commit();
}
if (i == 1 || i == 5 || appVersionChanged) {
- if(TIPS_AND_TRICKS) {
- TipsAndTricksActivity tipsActivity = new TipsAndTricksActivity(this);
- Dialog dlg = tipsActivity.getDialogToShowTips(!appVersionChanged, false);
- dlg.show();
+ if (TIPS_AND_TRICKS) {
+ TipsAndTricksActivity tipsActivity = new TipsAndTricksActivity(this);
+ Dialog dlg = tipsActivity.getDialogToShowTips(!appVersionChanged, false);
+ dlg.show();
} else {
- if(appVersionChanged) {
+ if (appVersionChanged) {
final Intent helpIntent = new Intent(activity, HelpActivity.class);
helpIntent.putExtra(HelpActivity.TITLE, Version.getAppVersion(getMyApplication()));
- helpIntent.putExtra(HelpActivity.URL, "changes-1.9.html");
+ helpIntent.putExtra(HelpActivity.URL, LATEST_CHANGES_URL);
activity.startActivity(helpIntent);
}
}
diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java
index 759ace7432..87988648ff 100644
--- a/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java
+++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityActions.java
@@ -348,12 +348,8 @@ public class MapActivityActions implements DialogProvider {
standardId == R.string.context_menu_item_destination_point) {
boolean dest = standardId == R.string.context_menu_item_destination_point;
String selected = mapActivity.getMapLayers().getContextMenuLayer().getSelectedObjectName();
- String target = null;
- if(dest && selected != null){
- target = selected.replaceAll(getString(R.string.context_menu_item_destination_point), "");
- }
- targets.navigateToPoint(new LatLon(latitude, longitude), true,
- dest ? -1 : targets.getIntermediatePoints().size(), dest? target : selected);
+ targets.navigateToPoint(new LatLon(latitude, longitude), true,
+ dest ? -1 : targets.getIntermediatePoints().size(), dest? "" : selected);
if(targets.getIntermediatePoints().size() > 0) {
openIntermediatePointsDialog();
}
diff --git a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java
index 527e496273..7617753f3d 100644
--- a/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java
+++ b/OsmAnd/src/net/osmand/plus/activities/MapActivityLayers.java
@@ -155,74 +155,6 @@ public class MapActivityLayers {
app.getAppCustomization().createLayers(mapView, activity);
}
- public void createLayers(GLSurfaceView glSurfaceView){
- //TODO implement adding layers
- OsmandApplication app = (OsmandApplication) getApplication();
- RoutingHelper routingHelper = app.getRoutingHelper();
- // first create to make accessible
- mapTextLayer = new MapTextLayer();
- // 5.95 all labels
-// mapView.addLayer(mapTextLayer, 5.95f);
- // mapView.addLayer(underlayLayer, -0.5f);
- mapTileLayer = new MapTileLayer(true);
-// mapView.addLayer(mapTileLayer, 0.0f);
-// mapView.setMainLayer(mapTileLayer);
-
- // 0.5 layer
- mapVectorLayer = new MapVectorLayer(mapTileLayer, true);
-// mapView.addLayer(mapVectorLayer, 0.5f);
-
- downloadedRegionsLayer = new DownloadedRegionsLayer();
-// mapView.addLayer(downloadedRegionsLayer, 0.5f);
-
- // 0.9 gpx layer
- gpxLayer = new GPXLayer();
-// mapView.addLayer(gpxLayer, 0.9f);
-
- // 1. route layer
- routeLayer = new RouteLayer(routingHelper);
-// mapView.addLayer(routeLayer, 1);
-
- // 2. osm bugs layer
- // 3. poi layer
- poiMapLayer = new POIMapLayer(activity);
- // 4. favorites layer
- favoritesLayer = new FavoritesLayer();
- // 5. transport layer
- transportStopsLayer = new TransportStopsLayer();
- // 5.5 transport info layer
- transportInfoLayer = new TransportInfoLayer(TransportRouteHelper.getInstance());
-// mapView.addLayer(transportInfoLayer, 5.5f);
- // 5.95 all text labels
- // 6. point location layer
- locationLayer = new PointLocationLayer(activity.getMapViewTrackingUtilities());
-// mapView.addLayer(locationLayer, 6);
- // 7. point navigation layer
- navigationLayer = new PointNavigationLayer(activity);
-// mapView.addLayer(navigationLayer, 7);
- // 8. context menu layer
- contextMenuLayer = new ContextMenuLayer(activity);
-// mapView.addLayer(contextMenuLayer, 8);
- // 9. map info layer
- mapInfoLayer = new MapInfoLayer(activity, routeLayer);
-// mapView.addLayer(mapInfoLayer, 9);
- // 11. route info layer
- mapControlsLayer = new MapControlsLayer(activity);
-// mapView.addLayer(mapControlsLayer, 11);
-
- app.getSettings().MAP_TRANSPARENCY.addListener(new StateChangedListener() {
- @Override
- public void stateChanged(Integer change) {
- mapTileLayer.setAlpha(change);
- mapVectorLayer.setAlpha(change);
-// mapView.refreshMap();
- }
- });
-
-// OsmandPlugin.createLayers(mapView, activity);
-// app.getAppCustomization().createLayers(mapView, activity);
- }
-
public void updateLayers(OsmandMapTileView mapView){
OsmandSettings settings = getApplication().getSettings();
diff --git a/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java b/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java
index 0dccdf5719..83c761cb17 100644
--- a/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java
+++ b/OsmAnd/src/net/osmand/plus/dashboard/DashMapFragment.java
@@ -81,7 +81,7 @@ public class DashMapFragment extends DashBaseFragment implements IMapDownloader
osmandMapTileView = surf.getMapView();
osmandMapTileView.getView().setVisibility(View.VISIBLE);
osmandMapTileView.removeAllLayers();
- MapVectorLayer mapVectorLayer = new MapVectorLayer(null);
+ MapVectorLayer mapVectorLayer = new MapVectorLayer(null, true);
MapTextLayer mapTextLayer = new MapTextLayer();
mapTextLayer.setAlwaysVisible(true);
// 5.95 all labels
diff --git a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java
index 3c77b04d38..41adfbfd1c 100644
--- a/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java
+++ b/OsmAnd/src/net/osmand/plus/dialogs/ConfigureMapMenu.java
@@ -325,8 +325,10 @@ public class ConfigureMapMenu {
private void createCustomRenderingProperties(final ContextMenuAdapter adapter , final MapActivity activity,
List customRules ){
final OsmandMapTileView view = activity.getMapView();
- final OsmandApplication app = view.getApplication();
for (final RenderingRuleProperty p : customRules) {
+ if (p.getAttrName().equals("appMode")){
+ continue;
+ }
String propertyName = SettingsActivity.getStringPropertyName(view.getContext(), p.getAttrName(),
p.getName());
// test old descr as title
diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java
index 0271fd28e1..fd6f05b5b0 100644
--- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java
+++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java
@@ -77,7 +77,7 @@ public class VoiceRouter {
public interface VoiceMessageListener {
void onVoiceMessage();
}
- private ConcurrentHashMap voiceMessageListeners;
+ private ConcurrentHashMap voiceMessageListeners;
public VoiceRouter(RoutingHelper router, final OsmandSettings settings, CommandPlayer player) {
this.router = router;
@@ -85,7 +85,7 @@ public class VoiceRouter {
this.settings = settings;
empty = new Struct("");
- voiceMessageListeners = new ConcurrentHashMap();
+ voiceMessageListeners = new ConcurrentHashMap();
}
public void setPlayer(CommandPlayer player) {
@@ -842,7 +842,7 @@ public class VoiceRouter {
}
public void addVoiceMessageListener(VoiceMessageListener voiceMessageListener) {
- voiceMessageListeners.put(voiceMessageListener, null);
+ voiceMessageListeners.put(voiceMessageListener, 0);
}
public void removeVoiceMessageListener(VoiceMessageListener voiceMessageListener) {