[android] LocationLayer example activities

This commit is contained in:
Łukasz Paczos
2018-09-04 12:51:38 +02:00
committed by Łukasz Paczos
parent 465316b4ce
commit bfe0b67572
22 changed files with 1325 additions and 58 deletions

View File

@@ -14,4 +14,5 @@
<string name="category_features">Features</string>
<string name="category_storage">Storage</string>
<string name="category_textureview">Texture View</string>
<string name="category_location">Location</string>
</resources>

View File

@@ -71,4 +71,8 @@
<string name="description_heatmaplayer">Use HeatmapLayer to visualise earthquakes</string>
<string name="description_gesture_detector">Manipulate gestures detector\'s settings</string>
<string name="description_draggable_marker">Click to add a marker, long-click to drag</string>
<string name="description_location_map_change">Change map\'s style while location is displayed</string>
<string name="description_location_modes">Showcases location render and tracking modes</string>
<string name="description_location_fragment">Uses LocationLayer in a Fragment</string>
<string name="description_location_manual">Force location updates and don\'t rely on the engine</string>
</resources>

View File

@@ -38,4 +38,16 @@
<style name="AppTheme" parent="AppBaseTheme" />
<style name="CustomLocationLayer" parent="mapbox_LocationLayer">
<item name="mapbox_foregroundDrawable">@drawable/custom_user_icon</item>
<item name="mapbox_bearingDrawable">@drawable/custom_user_arrow</item>
<item name="mapbox_gpsDrawable">@drawable/custom_user_puck_icon</item>
<item name="mapbox_accuracyAlpha">0.15</item>
<item name="mapbox_accuracyColor">#FF82C6</item>
<item name="mapbox_elevation">0dp</item>
</style>
</resources>

View File

@@ -71,4 +71,8 @@
<string name="activity_heatmaplayer">Heatmap layer</string>
<string name="activity_gesture_detector">Gestures detector</string>
<string name="activity_draggable_maker">Draggable marker</string>
<string name="activity_location_map_change">Simple Location Activity</string>
<string name="activity_location_modes">Location Modes Activity</string>
<string name="activity_location_fragment">Location Fragment</string>
<string name="activity_location_manual">Manual Location updates</string>
</resources>