Integration and add heat map demo
- Implemented OpenStreetMap using WebView with Leaflet.js - Added OpenStreetMapView component with interactive map functionality - Created heat map visualization with color-coded intensity - Added 30 dummy location points around San Francisco Bay Area - Implemented location tracking with real-time pin placement - Added comprehensive UI with two-row button layout - Features: Start/Stop tracking, Center map, Demo heat map, Clear demo, Reset map - Added location count display and confirmation dialogs - Updated project structure and documentation - All functionality tested and working on Android emulator
This commit is contained in:
26
LocationTrackerApp/Views/MainView.xaml.cs
Normal file
26
LocationTrackerApp/Views/MainView.xaml.cs
Normal file
@@ -0,0 +1,26 @@
|
||||
using LocationTrackerApp.ViewModels;
|
||||
|
||||
namespace LocationTrackerApp.Views;
|
||||
|
||||
/// <summary>
|
||||
/// Main view for the location tracking application
|
||||
/// </summary>
|
||||
public partial class MainView : ContentPage
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes a new instance of MainView
|
||||
/// </summary>
|
||||
public MainView()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of MainView with view model
|
||||
/// </summary>
|
||||
/// <param name="viewModel">The view model for this view</param>
|
||||
public MainView(MainViewModel viewModel) : this()
|
||||
{
|
||||
BindingContext = viewModel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user