Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
22_23-J 50
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
22_23-J 50
22_23-J 50
Commits
75fd0aa1
Commit
75fd0aa1
authored
Jan 30, 2023
by
Yasiru-Deshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Search location bar added
parent
5fe7ab2b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
5 deletions
+31
-5
Frontend/look_ai/lib/main.dart
Frontend/look_ai/lib/main.dart
+31
-5
No files found.
Frontend/look_ai/lib/main.dart
View file @
75fd0aa1
...
...
@@ -60,28 +60,54 @@ class MapSampleState extends State<MapSample> {
width:
5
,
);
static
final
Polygon
_kPolygon
=
Polygon
(
polygonId:
PolygonId
(
'_kPolygon'
),
points:
[
LatLng
(
37.42796133580664
,
-
122.085749655962
),
LatLng
(
37.43296265331129
,
-
122.08832357078792
),
LatLng
(
37.418
,
-
122.092
),
LatLng
(
37.435
,
-
122.092
),
],
strokeWidth:
5
,
fillColor:
Colors
.
transparent
,
);
@override
Widget
build
(
BuildContext
context
)
{
return
Scaffold
(
body:
GoogleMap
(
appBar:
AppBar
(
title:
Text
(
"LOOK AI"
),),
body:
Column
(
children:
[
Row
(
children:
[
Expanded
(
child:
(
TextFormField
()))
,
IconButton
(
onPressed:
(){},
icon:
Icon
(
Icons
.
search
),),
],),
Expanded
(
child:
GoogleMap
(
mapType:
MapType
.
normal
,
markers:
{
_kGooglePlexMarker
,
_kLakeMarker
,
//
_kLakeMarker,
},
polylines:
{
/*
polylines:{
_kPolyline,
},
polygons: {
_kPolygon,
},*/
initialCameraPosition:
_kGooglePlex
,
onMapCreated:
(
GoogleMapController
controller
)
{
_controller
.
complete
(
controller
);
},
),
floatingActionButton:
FloatingActionButton
.
extended
(
),
/* floatingActionButton: FloatingActionButton.extended(
onPressed: _goToTheLake,
label: const Text('To the lake!'),
icon: const Icon(Icons.directions_boat),
),
),*/
],),
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment