File tree 1 file changed +45
-40
lines changed
1 file changed +45
-40
lines changed Original file line number Diff line number Diff line change @@ -494,50 +494,55 @@ class _AddMyPlaceDialogState extends State<AddMyPlaceDialog> {
494
494
},
495
495
child: Column (
496
496
children: [
497
- Stack (
498
- children: [
499
- Container (
500
- height: 300 ,
501
- child: GoogleMap (
502
- webGestureHandling:
503
- WebGestureHandling .greedy,
504
- gestureRecognizers: const {
505
- Factory <OneSequenceGestureRecognizer >(
506
- EagerGestureRecognizer .new ),
507
- },
508
- initialCameraPosition:
509
- const CameraPosition (
510
- target: LatLng (
511
- 37.5662952 , 126.9779451 ),
512
- zoom: 12 ,
513
- ),
514
- markers: {
515
- Marker (
516
- markerId: const MarkerId ('1' ),
517
- position: const LatLng (
497
+ PointerInterceptor (
498
+ child: Stack (
499
+ children: [
500
+ Container (
501
+ height: 300 ,
502
+ child: GoogleMap (
503
+ webGestureHandling:
504
+ WebGestureHandling .greedy,
505
+ gestureRecognizers: const {
506
+ Factory <OneSequenceGestureRecognizer >(
507
+ EagerGestureRecognizer
508
+ .new ),
509
+ },
510
+ initialCameraPosition:
511
+ const CameraPosition (
512
+ target: LatLng (
518
513
37.5662952 , 126.9779451 ),
519
- icon: _markerIcon,
520
- draggable: true ,
521
- onDrag: (LatLng latLng) {
522
- _markerPosition = latLng;
523
- setState (() {});
524
- },
514
+ zoom: 12 ,
525
515
),
526
- },
516
+ markers: {
517
+ Marker (
518
+ markerId:
519
+ const MarkerId ('1' ),
520
+ position: const LatLng (
521
+ 37.5662952 ,
522
+ 126.9779451 ),
523
+ icon: _markerIcon,
524
+ draggable: true ,
525
+ onDrag: (LatLng latLng) {
526
+ _markerPosition = latLng;
527
+ setState (() {});
528
+ },
529
+ ),
530
+ },
531
+ ),
527
532
),
528
- ),
529
- //장소 검색
530
- Positioned (
531
- top : 10 ,
532
- left : 10 ,
533
- right : 10 ,
534
- child : MyTextField (
535
- controller :
536
- TextEditingController () ,
537
- hintText : '장소 검색' ,
533
+ //장소 검색
534
+ Positioned (
535
+ top : 10 ,
536
+ left : 10 ,
537
+ right : 10 ,
538
+ child : MyTextField (
539
+ controller :
540
+ TextEditingController (),
541
+ hintText : '장소 검색' ,
542
+ ) ,
538
543
),
539
- ) ,
540
- ] ,
544
+ ] ,
545
+ ) ,
541
546
),
542
547
Text (
543
548
'핀을 드래그하여 이동할 수 있어요!' ,
You can’t perform that action at this time.
0 commit comments