File tree Expand file tree Collapse file tree 5 files changed +25
-5
lines changed
java/mil/nga/giat/mage/map Expand file tree Collapse file tree 5 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,19 @@ All notable changes to this project will be documented in this file.
33Adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
55---
6- ## 6.2.7 (TBD)
6+ ## 6.287 (TBD)
77
88##### Features
99
1010##### Bug Fixes
1111
12+ ## [ 6.2.7] ( https://github.com/ngageoint/mage-android/releases/tag/6.2.7 )
13+
14+ ##### Features
15+ * Traffic map layer
16+
17+ ##### Bug Fixes
18+
1219## [ 6.2.6] ( https://github.com/ngageoint/mage-android/releases/tag/6.2.6 )
1320
1421##### Features
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ apply plugin: 'kotlin-kapt'
1111apply plugin : ' maven-publish'
1212group ' mil.nga.giat.mage'
1313archivesBaseName = ' mage-android'
14- version ' 6.2.6 '
14+ version ' 6.2.7 '
1515ext {
16- versionCode = 69
16+ versionCode = 70
1717 sourceRefspec = Grgit . open(). head(). id
1818}
1919
Original file line number Diff line number Diff line change @@ -416,6 +416,9 @@ public void onMapReady(GoogleMap googleMap) {
416416 googleMap .setMapStyle (MapStyleOptions .loadRawResourceStyle (getContext (), R .raw .map_theme_night ));
417417 }
418418
419+ boolean showTraffic = preferences .getBoolean (getResources ().getString (R .string .showTrafficKey ), getResources ().getBoolean (R .bool .showTrafficDefaultValue ));
420+ map .setTrafficEnabled (showTraffic );
421+
419422 Event currentEvent = EventHelper .getInstance (getActivity ()).getCurrentEvent ();
420423 long currentEventId = this .currentEventId ;
421424 if (currentEvent != null ) {
Original file line number Diff line number Diff line change 99 <string name =" baseLayerKey" >baseLayer</string >
1010 <integer name =" baseLayerDefaultValue" >1</integer >
1111
12+ <string name =" showTrafficKey" >showTraffic</string >
13+ <bool name =" showTrafficDefaultValue" >false</bool >
14+
1215 <string name =" showMGRSKey" >showMGRS</string >
1316 <bool name =" showMGRSDefaultValue" >false</bool >
1417
Original file line number Diff line number Diff line change 1111 android : title =" Base Layer"
1212 android : summary =" %s" />
1313
14+ <android .support.v7.preference.SwitchPreferenceCompat
15+ android : defaultValue =" @bool/showTrafficDefaultValue"
16+ android : key =" @string/showTrafficKey"
17+ android : summary =" Google Maps Traffic"
18+ android : title =" Traffic" >
19+ </android .support.v7.preference.SwitchPreferenceCompat>
20+
1421 <android .support.v7.preference.SwitchPreferenceCompat
1522 android : defaultValue =" @bool/showMGRSDefaultValue"
1623 android : key =" @string/showMGRSKey"
17- android : summary =" Show Military Grid Reference System overlay"
18- android : title =" Show MGRS" >
24+ android : summary =" Military Grid Reference System overlay"
25+ android : title =" MGRS" >
1926 </android .support.v7.preference.SwitchPreferenceCompat>
2027
2128 <mil .nga.giat.mage.map.preference.OverlayPreference
You can’t perform that action at this time.
0 commit comments