Skip to content

Commit 39f3044

Browse files
committed
Issue(#3) marker on google map
1 parent 8578186 commit 39f3044

File tree

1 file changed

+4
-0
lines changed
  • test/flutter_application_1-junemyeong/lib

1 file changed

+4
-0
lines changed

test/flutter_application_1-junemyeong/lib/main.dart

+4
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,10 @@ class _CameraExampleState extends State<CameraExample> {
142142
myLocationButtonEnabled: false,
143143
onMapCreated: _onMapCreated,
144144
onLongPress: _addMarker,
145+
markers: {
146+
if (_origin !=null) _origin,
147+
if (_destination != null) _destination
148+
},
145149
));
146150
}
147151
Widget first_space() {

0 commit comments

Comments
 (0)