From 2ff4877884558d59cda134898fc817412ccb1f74 Mon Sep 17 00:00:00 2001 From: Dan <91762300+danbits@users.noreply.github.com> Date: Sun, 25 Sep 2022 20:50:48 -0600 Subject: [PATCH 1/2] Update controller argument name in usage example --- usage/basics.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usage/basics.md b/usage/basics.md index 84a90b8a9..c127fbd5c 100644 --- a/usage/basics.md +++ b/usage/basics.md @@ -4,7 +4,7 @@ ```dart FlutterMap( - controller: MapController(), + mapController: MapController(), options: MapOptions(), children: [], ), @@ -18,7 +18,7 @@ This is the main widget for this library, and it takes three main properties. op * ``[`children`](layers/) (required) Takes a list of `Widget`s that will be displayed on the map. These can be any widget, but are usually`Layer`s. -* ``[`controller`](controller.md) (optional) +* ``[`mapController`](controller.md) (optional) Takes a `MapController` that can be used to programmatically control the map, as well as listen to an events `Stream`. From 11b9e12c9aed0ca47010557cd1accf1fdaf391a8 Mon Sep 17 00:00:00 2001 From: Dan <91762300+danbits@users.noreply.github.com> Date: Sun, 25 Sep 2022 21:00:21 -0600 Subject: [PATCH 2/2] Remove outdated reference to raster mixed mode This feature has been removed from `vector_map_tiles` as it lacked obvious performance benefits. For more information, see: * https://github.com/greensopinion/flutter-vector-map-tiles/issues/31 * https://github.com/greensopinion/flutter-vector-map-tiles/pull/52 --- getting-started/explanation/raster-vs-vector-tiles.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/getting-started/explanation/raster-vs-vector-tiles.md b/getting-started/explanation/raster-vs-vector-tiles.md index 270c8fbfd..73c847521 100644 --- a/getting-started/explanation/raster-vs-vector-tiles.md +++ b/getting-started/explanation/raster-vs-vector-tiles.md @@ -23,5 +23,3 @@ However it does add complexity to the rendering process as each element needs to ### Using Vector Tiles Due to the complications mentioned above, 'flutter\_map' does not natively support vector tiles. However, vector tiles can be used with a [community maintained plugin (`vector_map_tiles`)](https://github.com/greensopinion/flutter-vector-map-tiles) to do this. - -The plugin also supports 'mixed' mode to get the best of both worlds: using raster images during animations to improve performance, and vector rendering to provide sharp visuals and custom theming when idle.