Skip to content

Commit

Permalink
fix: remove legacy moving_markers and stateful_markers page from exam…
Browse files Browse the repository at this point in the history
…ple app (#1846)

* Update moving_markers.dart

* remove legacy pages
  • Loading branch information
josxha authored Mar 8, 2024
1 parent c2b0d91 commit b0590fb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 201 deletions.
4 changes: 0 additions & 4 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import 'package:flutter_map_example/pages/many_markers.dart';
import 'package:flutter_map_example/pages/map_controller.dart';
import 'package:flutter_map_example/pages/map_inside_listview.dart';
import 'package:flutter_map_example/pages/markers.dart';
import 'package:flutter_map_example/pages/moving_markers.dart';
import 'package:flutter_map_example/pages/overlay_image.dart';
import 'package:flutter_map_example/pages/plugin_zoombuttons.dart';
import 'package:flutter_map_example/pages/polygon.dart';
Expand All @@ -28,7 +27,6 @@ import 'package:flutter_map_example/pages/scalebar.dart';
import 'package:flutter_map_example/pages/screen_point_to_latlng.dart';
import 'package:flutter_map_example/pages/secondary_tap.dart';
import 'package:flutter_map_example/pages/sliding_map.dart';
import 'package:flutter_map_example/pages/stateful_markers.dart';
import 'package:flutter_map_example/pages/tile_builder.dart';
import 'package:flutter_map_example/pages/tile_loading_error_handle.dart';
import 'package:flutter_map_example/pages/wms_tile_layer.dart';
Expand Down Expand Up @@ -64,7 +62,6 @@ class MyApp extends StatelessWidget {
ScaleBarPage.route: (context) => const ScaleBarPage(),
PluginZoomButtons.route: (context) => const PluginZoomButtons(),
BundledOfflineMapPage.route: (context) => const BundledOfflineMapPage(),
MovingMarkersPage.route: (context) => const MovingMarkersPage(),
ManyCirclesPage.route: (context) => const ManyCirclesPage(),
CirclePage.route: (context) => const CirclePage(),
OverlayImagePage.route: (context) => const OverlayImagePage(),
Expand All @@ -78,7 +75,6 @@ class MyApp extends StatelessWidget {
TileBuilderPage.route: (context) => const TileBuilderPage(),
InteractiveFlagsPage.route: (context) => const InteractiveFlagsPage(),
ManyMarkersPage.route: (context) => const ManyMarkersPage(),
StatefulMarkersPage.route: (context) => const StatefulMarkersPage(),
MapInsideListViewPage.route: (context) => const MapInsideListViewPage(),
ResetTileLayerPage.route: (context) => const ResetTileLayerPage(),
EPSG4326Page.route: (context) => const EPSG4326Page(),
Expand Down
72 changes: 0 additions & 72 deletions example/lib/pages/moving_markers.dart

This file was deleted.

112 changes: 0 additions & 112 deletions example/lib/pages/stateful_markers.dart

This file was deleted.

13 changes: 0 additions & 13 deletions example/lib/widgets/drawer/menu_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import 'package:flutter_map_example/pages/many_markers.dart';
import 'package:flutter_map_example/pages/map_controller.dart';
import 'package:flutter_map_example/pages/map_inside_listview.dart';
import 'package:flutter_map_example/pages/markers.dart';
import 'package:flutter_map_example/pages/moving_markers.dart';
import 'package:flutter_map_example/pages/overlay_image.dart';
import 'package:flutter_map_example/pages/plugin_zoombuttons.dart';
import 'package:flutter_map_example/pages/polygon.dart';
Expand All @@ -28,7 +27,6 @@ import 'package:flutter_map_example/pages/scalebar.dart';
import 'package:flutter_map_example/pages/screen_point_to_latlng.dart';
import 'package:flutter_map_example/pages/secondary_tap.dart';
import 'package:flutter_map_example/pages/sliding_map.dart';
import 'package:flutter_map_example/pages/stateful_markers.dart';
import 'package:flutter_map_example/pages/tile_builder.dart';
import 'package:flutter_map_example/pages/tile_loading_error_handle.dart';
import 'package:flutter_map_example/pages/wms_tile_layer.dart';
Expand Down Expand Up @@ -161,17 +159,6 @@ class MenuDrawer extends StatelessWidget {
currentRoute: currentRoute,
),
const Divider(),
MenuItemWidget(
caption: 'Stateful Markers',
routeName: StatefulMarkersPage.route,
currentRoute: currentRoute,
),
MenuItemWidget(
caption: 'Moving Marker',
routeName: MovingMarkersPage.route,
currentRoute: currentRoute,
),
const Divider(),
MenuItemWidget(
caption: 'Zoom Buttons Plugin',
routeName: PluginZoomButtons.route,
Expand Down

0 comments on commit b0590fb

Please sign in to comment.