This commit is contained in:
GaidamakUA 2015-12-25 18:08:09 +02:00
commit b40e45b627
8 changed files with 52 additions and 22 deletions

View file

@ -2081,4 +2081,6 @@
<string name="impassable_road_desc">Выберыце дарогі, якія вы хочаце пазьбягаць падчас навігацыі</string>
<string name="update_date_pattern">Абнаўленьне: %s</string>
<string name="update_time">Час абнаўленьня</string>
<string name="updates_size_pattern">Абнаўленьні: %s</string>
<string name="last_map_change">Апошняя зьмена мапы: %s</string>
</resources>

View file

@ -266,7 +266,7 @@
<string name="map_widget_show_ruler">Линийка</string>
<string name="map_widget_view_direction">Посока на изгледа</string>
<string name="map_widget_transparent">Прозрачна кожа</string>
<string name="map_widget_transparent">Прозрачни икони</string>
<string name="bg_service_sleep_mode_off">Работа\n във фонов режим</string>
@ -2024,4 +2024,11 @@
<string name="impassable_road_desc">Изберете пътищата, които да се избегнат при навигация</string>
<string name="shared_string_sound">Звук</string>
<string name="last_update">Последна актуализация: %s</string>
<string name="rec_split">Записване на раздели</string>
<string name="rec_split_clip_length">Дължина на клипа</string>
<string name="rec_split_clip_length_desc">Всеки записан видео клип ще бъде ограничен от този размер</string>
<string name="rec_split_storage_size">Място за съхранение</string>
<string name="rec_split_storage_size_desc">Големина на определената за видео клипове памет</string>
<string name="updates_size_pattern">Актуализации: %s</string>
<string name="last_map_change">Последна промяна на картата: %s</string>
</resources>

View file

@ -1,4 +1,4 @@
<?xml version='1.0' encoding='utf-8'?>
<?xml version='1.0' encoding='utf-8'?>
<resources>
<string name="no_address_found">Keine Adresse bekannt</string>
<string name="shared_string_near">Nähe</string>
@ -2098,4 +2098,9 @@
<string name="rec_split_storage_size">Speicherplatz</string>
<string name="rec_split">Automatische Trennung</string>
<string name="rec_split_title">Automatische Trennung nutzen</string>
</resources>
<string name="hourly">Stündlich</string>
<string name="daily">Täglich</string>
<string name="weekly">Wöchentlich</string>
<string name="morning">Morgens</string>
<string name="Night">Nachts</string>
</resources>

View file

@ -2117,4 +2117,9 @@
<string name="last_update">Ultimo aggiornamento: %s</string>
<string name="update_date_pattern">Aggiornamento: %s</string>
<string name="size_pattern">Dimensione: %s</string>
</resources>
<string name="rec_split_desc">Sovrascrivi le note quando lo spazio disponibile è esaurito</string>
<string name="rec_split_clip_length">Lunghezza della nota</string>
<string name="rec_split_clip_length_desc">Tutte le note registrate non supereranno la durata impostata</string>
<string name="rec_split_storage_size">Dimensione della memoria</string>
<string name="rec_split_storage_size_desc">Quantità di spazio che può essere occupato dal totale delle note</string>
</resources>

View file

@ -46,7 +46,7 @@
<string name="map_widget_show_ruler">Linjal</string>
<string name="map_widget_view_direction">Färdriktning</string>
<string name="map_widget_transparent">Genomskinligt skal</string>
<string name="map_widget_transparent">Genomskinliga widgetar</string>
<string name="gps_wakeup_interval">GPS-väckningsintervall: %s</string>

View file

@ -488,7 +488,7 @@
<string name="rendering_attr_appMode_name">işleme modu</string>
<string name="rendering_attr_appMode_description">Için haritayı optimize et</string>
<string name="rendering_attr_contourLines_description">Yakınlaştırma düzeyindenekran(gerektirir kontur veriler):</string>
<string name="rendering_attr_contourLines_name">Kontür çizgilerini göster</string>
<string name="rendering_attr_contourLines_name">Göster kontur çizgileri</string>
<string name="rendering_attr_hmRendered_description">Gösterilen haritanın detay miktarını artırın</string>
<string name="local_index_routing_data">Rota edilen veri</string>
<string name="navigate_point_format">Biçim</string>
@ -1115,7 +1115,7 @@
<string name="filter_poi_hint">Ada göre süz</string>
<string name="search_poi_category_hint">Tümünü aramak için yazın</string>
<string name="shared_string_open"></string>
<string name="rendering_attr_OSMMapperAssistant_name">OSM haritalama yardımcısı</string>
<string name="rendering_attr_OSMMapperAssistant_name">OSM Eşleştiricisi Yardımcısı</string>
<string name="agps_info">A-GPS bilgisi</string>
<string name="shared_string_manage">Yönet</string>
<string name="shared_string_edit">Düzenleme</string>
@ -1166,7 +1166,7 @@
<string name="download_wikipedia_files">Ekstra Wikipedia verisi indirmek ister misiniz? (%1$s MB)?</string>
<string name="gps_network_not_enabled">Konum servisi devre dışı. Ektinleştirmek ister misiniz?</string>
<string name="shared_string_show_details">Detayları göster</string>
<string name="rendering_value_disabled_name">Devre dışı</string>
<string name="rendering_value_disabled_name">Engelli</string>
<string name="osmo_share_my_location">Konumumu paylaş</string>
<string name="rendering_attr_hideHouseNumbers_name">Ev numaralarını gizle</string>
<string name="confirm_usage_speed_cameras">Bazı ülkelerde (Almanya, Fransa, İtalya ve diğerleri) hız kamerası uyarılarının kullanımı yasaktır. OsmAnd yasaları çiğnemeniz durumunda sorumluluk kabul etmez. Eğer bu özellik sizin için uygunsa evet\'e tıklayın.</string>
@ -1218,9 +1218,9 @@
<string name="parking_place">Park yeri</string>
<string name="gps_status">GPS durumu</string>
<string name="points">Noktalar</string>
<string name="rendering_attr_roadStyle_name">Yol tipi</string>
<string name="rendering_attr_roadStyle_name">Yol tarzı</string>
<string name="rendering_value__name">Varsayılan</string>
<string name="rendering_value_default_name">Varsayılan</string>
<string name="rendering_value_default_name">Standart</string>
<string name="traffic_warning_pedestrian">Yaya geçidi</string>
<string name="show_pedestrian_warnings">Yaya geçitlerini göster</string>
<string name="dash_download_msg_none">Çevrimdışı haritaları indirmek istiyor musunuz?</string>
@ -1251,7 +1251,7 @@
<string name="confirm_every_run">Her zaman sor</string>
<string name="shared_string_import2osmand">OsmAnd\'a Aktar</string>
<string name="read_full_article">Tüm metni oku (çevrimiçi)</string>
<string name="rendering_value_walkingRoutesOSMC_name">OSMC\'ye göre renklendiriliyor</string>
<string name="rendering_value_walkingRoutesOSMC_name">OSMC göre olan boyama</string>
<string name="local_recordings_delete_all_confirm">%1$d notu silmek üzeresiniz. Emin misiniz?</string>
<string name="local_osm_changes_upload_all_confirm">%1%d düzenlemeyi OSM\'ye yüklemek üzeresiniz? Emin misiniz?</string>
<string name="plugin_nautical_name">Deniz haritası görünümü</string>
@ -1272,9 +1272,9 @@
<string name="home">Pano</string>
<string name="rendering_attr_hideBuildings_name">Binaları gizle</string>
<string name="rendering_attr_hideText_name">Yazıları gizle</string>
<string name="rendering_attr_moreDetailed_name">Daha fazla ayrıntı</string>
<string name="rendering_attr_moreDetailed_name">Daha fazla bilgi</string>
<string name="rendering_attr_lessDetailed_name">Daza az ayrıntı</string>
<string name="rendering_attr_showSurfaceGrade_name">Yol kalitesini göster</string>
<string name="rendering_attr_showSurfaceGrade_name">Yol kalitesi göster</string>
<string name="sort_by_distance">Mesafeye göre sırala</string>
<string name="sort_by_name">İsme göre sırala</string>
<string name="gpx_info_average_speed">"Ortalama hız: %1$s "</string>
@ -1329,7 +1329,7 @@
<string name="routing_attr_avoid_shuttle_train_name">Mekik treninden kaçın</string>
<string name="local_indexes_cat_wiki">Vikipedi</string>
<string name="osm_edit_context_menu_delete">OSM Düzeltmesini Sil</string>
<string name="rendering_value_walkingRoutesScopeOSMC_name">Rota kapsamına göre boyama</string>
<string name="rendering_value_walkingRoutesScopeOSMC_name">Rota kapsamına göre Boyama</string>
<string name="shared_string_logoff">Çıkış yap</string>
<string name="application_dir_change_warning3">OsmAnd\'ın verileri ayrıca yeni hedefe de kopyalamasını ister misiniz?</string>
<string name="welcome_select_region">Doğru trafik işaretleri ve düzenlemeleri yansıtmak için sürüş bölgenizi seçin:</string>
@ -1877,7 +1877,7 @@
<string name="remove_the_tag">Etiketi Kaldır</string>
<string name="version_settings_descr">Yenilemesini indir</string>
<string name="version_settings">kurar</string>
<string name="rendering_attr_streetLighting_name">Sokak aydınlatması</string>
<string name="rendering_attr_streetLighting_name">Sokak Aydınlatma</string>
<string name="proxy_pref_title">Proxy</string>
<string name="proxy_pref_descr">Bir proxy internet iletişim Kurulumu</string>
<string name="settings_privacy">Gizlilik</string>
@ -1905,7 +1905,7 @@
<string name="search_for">Arama</string>
<string name="rendering_attr_publicTransportMode_name">Otobüs, troleybüs, mekik yolları</string>
<string name="rendering_attr_tramTrainRoutes_name">Tramvay ve tren yolları</string>
<string name="rendering_attr_subwayMode_name">Metro yolları</string>
<string name="rendering_attr_subwayMode_name">Metro güzergah</string>
<string name="lock_screen_request_explanation">%1$s ihtiyaçları güç tasarrufu özelliği ekranını kapatmak için bu izni.</string>
<string name="wake_on_voice">Ekranıın</string>
<string name="wake_on_voice_descr">Bir dönüşe yaklaşırken cihaz ekranında (kapalı ise) açın</string>
@ -1916,8 +1916,8 @@
<string name="rendering_attr_trolleybusRoutes_name">Troleybüs güzergah</string>
<string name="rendering_attr_busRoutes_name">Otobüs güzergahları</string>
<string name="rendering_category_hide">Gizle</string>
<string name="rendering_category_routes">Güzergâhlar</string>
<string name="rendering_category_transport">Ulaşım</string>
<string name="rendering_category_routes">Güzergah</string>
<string name="rendering_category_transport">Taşıma</string>
<string name="rendering_category_others">Diğer harita özellikleri</string>
<string name="map_widget_appearance_rem">Kalan unsurlar</string>
<string name="search_radius_proximity">Yakınında</string>
@ -1983,7 +1983,7 @@
<string name="rendering_attr_hideWoodScrubs_name">Ahşap ve scrubs gizle</string>
<string name="rendering_attr_buildings15zoom_name">Binalar üzerinde yakınlaştırma 15</string>
<string name="rendering_attr_hideAccess_name">Erişim kısıtlamaları gizle</string>
<string name="rendering_attr_showAccess_name">Erişim kısıtlamaları göster</string>
<string name="rendering_attr_showAccess_name">Show erişim kısıtlamaları</string>
<string name="rendering_attr_showSurfaces_name">Yol yüzeyi göster</string>
<string name="rendering_attr_showCycleRoutes_name">Döngüsü yolları göster</string>
<string name="osmo_auth_error_short">Yetkilendirme başarısız oldu</string>

View file

@ -1156,8 +1156,13 @@ public class AudioVideoNotesPlugin extends OsmandPlugin {
// camera focus type
autofocus = true;
//parameters.setGpsLatitude(lat);
//parameters.setGpsLongitude(lon);
parameters.removeGpsData();
String locProvider = mapActivity.getMapViewTrackingUtilities().getLocationProvider();
if (!Algorithms.isEmpty(locProvider)) {
parameters.setGpsLatitude(lat);
parameters.setGpsLongitude(lon);
parameters.setGpsProcessingMethod(locProvider.toUpperCase());
}
switch (AV_CAMERA_FOCUS_TYPE.get()) {
case AV_CAMERA_FOCUS_HIPERFOCAL:
parameters.setFocusMode(Parameters.FOCUS_MODE_FIXED);

View file

@ -42,6 +42,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
private boolean routePlanningMode;
private boolean showViewAngle = false;
private boolean isUserZoomed = false;
private String locationProvider;
public MapViewTrackingUtilities(OsmandApplication app){
this.app = app;
@ -74,6 +75,10 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
}
}
public String getLocationProvider() {
return locationProvider;
}
@Override
public void updateCompassValue(float val) {
if (mapView != null) {
@ -104,6 +109,7 @@ public class MapViewTrackingUtilities implements OsmAndLocationListener, IMapLoc
@Override
public void updateLocation(Location location) {
showViewAngle = false;
locationProvider = location.getProvider();
if (mapView != null) {
RotatedTileBox tb = mapView.getCurrentRotatedTileBox();
if (isMapLinkedToLocation() && location != null) {