File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import 'package:flutter_osm_plugin/flutter_osm_plugin.dart';
3
3
import 'package:osm_flutter_hooks/src/osm_hook.dart' ;
4
4
5
5
/// [useMapIsReady]
6
- ///
6
+ ///
7
7
/// the function will call [MapIsReadyHook]
8
8
void useMapIsReady ({
9
9
required MapController controller,
@@ -18,20 +18,22 @@ void useMapIsReady({
18
18
}
19
19
20
20
/// [useMapController]
21
- ///
21
+ ///
22
22
/// the function will call [MapControllerHook] to initialize [MapController]
23
23
/// return [MapController] that will passe to [OSMFlutter]
24
24
MapController useMapController ({
25
25
bool initMapWithUserPosition = false ,
26
26
GeoPoint ? initPosition,
27
27
BoundingBox ? areaLimit = const BoundingBox .world (),
28
+ CustomTile ? tile,
28
29
}) {
29
30
assert (initMapWithUserPosition ^ (initPosition != null ));
30
31
return use (
31
32
MapControllerHook (
32
33
initMapWithUserPosition: initMapWithUserPosition,
33
34
initPosition: initPosition,
34
35
areaLimit: areaLimit,
36
+ tile: tile,
35
37
),
36
38
);
37
39
}
You can’t perform that action at this time.
0 commit comments