Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
6a60e32
add dark and light mode to map
ghassenbenzahra123 Aug 30, 2023
d4c7789
Feature Add dark mode compatibility
ghassenbenzahra123 Aug 30, 2023
516f0dc
add new marker icons
ghassenbenzahra123 Sep 14, 2023
47a1f7e
add custom icons
ghassenbenzahra123 Sep 15, 2023
ca1a1d1
change assets files
ghassenbenzahra123 Sep 15, 2023
3586e39
Add dark mode icons
ghassenbenzahra123 Sep 15, 2023
95b44dc
fix remounted widget bug
ghassenbenzahra123 Sep 15, 2023
4b7c2fc
Try to center camera on current position
ghassenbenzahra123 Sep 15, 2023
165146d
add request permission for position
ghassenbenzahra123 Sep 15, 2023
ae35b74
try to use directly initial position instead of ternary operator
ghassenbenzahra123 Sep 15, 2023
dce9daf
second try to use directly initial position instead of ternary operator
ghassenbenzahra123 Sep 15, 2023
bf0e197
stream value try to fix
ghassenbenzahra123 Sep 19, 2023
ea340d4
try clustering markers
ghassenbenzahra123 Sep 19, 2023
e944a62
fix colors hue
ghassenbenzahra123 Sep 19, 2023
d583ad1
try to cluster still
ghassenbenzahra123 Sep 19, 2023
ce82946
try to cluster still 2
ghassenbenzahra123 Sep 19, 2023
3b67725
try to cluster still 3
ghassenbenzahra123 Sep 19, 2023
f1e2b47
try to cluster still 4
ghassenbenzahra123 Sep 19, 2023
6af8902
try to cluster still 5
ghassenbenzahra123 Sep 19, 2023
aed4fa7
try to cluster still 6
ghassenbenzahra123 Sep 19, 2023
925d2a8
try to cluster still 7
ghassenbenzahra123 Sep 19, 2023
7f2866f
try to cluster still 8
ghassenbenzahra123 Sep 19, 2023
f74841b
try to cluster still 9
ghassenbenzahra123 Sep 19, 2023
11643dd
try to cluster still 10
ghassenbenzahra123 Sep 19, 2023
fdd7a75
try to cluster still 11
ghassenbenzahra123 Sep 19, 2023
bce9f82
try to cluster still 12 change to images
ghassenbenzahra123 Sep 19, 2023
0de1b87
try to cluster still 13 change to images
ghassenbenzahra123 Sep 19, 2023
c096800
try to cluster still 14 change to images
ghassenbenzahra123 Sep 20, 2023
2220db8
try to cluster still 15 change to images
ghassenbenzahra123 Sep 20, 2023
950103a
try to cluster still 16 change to images
ghassenbenzahra123 Sep 20, 2023
42a1366
try to cluster still 17 change to images
ghassenbenzahra123 Sep 20, 2023
af1fdfd
feature basic clustring markers
ghassenbenzahra123 Sep 20, 2023
7aa194a
markers clustering feature and darkmode
ghassenbenzahra123 Sep 21, 2023
bf4abd4
change cluster color
ghassenbenzahra123 Sep 21, 2023
540aa8e
feature add on tap marker
ghassenbenzahra123 Sep 25, 2023
6677a02
feature add my location button for the map
ghassenbenzahra123 Sep 25, 2023
36fb0bf
fix padding for mylocation button
ghassenbenzahra123 Sep 25, 2023
acb7ac0
change markers to be recieved from the properties
ghassenbenzahra123 Sep 28, 2023
7836b51
Debuging/change markers to be recieved from the properties
ghassenbenzahra123 Sep 28, 2023
4436d3a
Debuging2/change markers to be recieved from the properties
ghassenbenzahra123 Sep 28, 2023
4b0b373
feature/change markers to appear depanding on zoom level
ghassenbenzahra123 Sep 28, 2023
356ba3d
feature/change markers to appear depanding on zoom level 2
ghassenbenzahra123 Sep 28, 2023
8e345a6
feature/change markers to appear depanding on zoom level 3
ghassenbenzahra123 Sep 28, 2023
7ae8a5c
feature/change markers to appear depanding on zoom level 4
ghassenbenzahra123 Sep 28, 2023
e07e8c2
add intial position parameter to map widget
ghassenbenzahra123 Oct 1, 2023
ec7137f
add intial position parameter to map widget update
ghassenbenzahra123 Oct 1, 2023
dce9e1a
add intial position parameter to map widget update2
ghassenbenzahra123 Oct 1, 2023
44f32b8
add geocoding to get city from current position
ghassenbenzahra123 Oct 1, 2023
f7ea1b6
filtering dynamicaly with localitys
ghassenbenzahra123 Oct 1, 2023
ea2eb83
update filtering dynamicaly with localitys
ghassenbenzahra123 Oct 1, 2023
22744d9
change image assets from folder
ghassenbenzahra123 Oct 3, 2023
ad11798
change image assets from folder 2
ghassenbenzahra123 Oct 3, 2023
33f305c
change image assets from folder 3
ghassenbenzahra123 Oct 4, 2023
00ea1ba
handle restaurant list filter outside the package
ghassenbenzahra123 Oct 4, 2023
6f94471
handle restaurant list filter outside the package 5
ghassenbenzahra123 Oct 4, 2023
0b36a13
fixed dynamic filtering
ghassenbenzahra123 Oct 5, 2023
7a9317a
delete unused dependancies
ghassenbenzahra123 Oct 6, 2023
6c598b8
Feature dynamic filtering Pageviewbuilder
ghassenbenzahra123 Oct 12, 2023
db5768f
cleaning unused prints and comments
ghassenbenzahra123 Oct 14, 2023
4e29e7a
Feature add map auto detect position
ghassenbenzahra123 Oct 14, 2023
883a2a2
add callback to retrive city value
ghassenbenzahra123 Oct 14, 2023
4822deb
change details pageview to correspponding city
ghassenbenzahra123 Oct 17, 2023
1ed3c95
stable for last deploy
ghassenbenzahra123 Oct 17, 2023
c393c76
fix bug city not available to new city selection
ghassenbenzahra123 Oct 17, 2023
e7f1470
delete unused variables
ghassenbenzahra123 Oct 17, 2023
a98ab7a
fix select city not working
ghassenbenzahra123 Oct 18, 2023
261e6f6
All map features done
ghassenbenzahra123 Oct 18, 2023
a54707b
hotfix map single marker
ghassenbenzahra123 Nov 14, 2023
ae9944a
change max zoom level to cluster
ghassenbenzahra123 Dec 25, 2023
c3c603c
fix double animation
ghassenbenzahra123 Jan 4, 2024
1a42c54
fix stuck on one pin
ghassenbenzahra123 Jan 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
191 changes: 191 additions & 0 deletions assets/json/mapstyle_dark.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
[
{
"elementType": "geometry",
"stylers": [
{
"color": "#212121"
}
]
},
{
"elementType": "labels.icon",
"stylers": [
{
"visibility": "off"
}
]
},
{
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#757575"
}
]
},
{
"elementType": "labels.text.stroke",
"stylers": [
{
"color": "#212121"
}
]
},
{
"featureType": "administrative",
"elementType": "geometry",
"stylers": [
{
"color": "#757575"
}
]
},
{
"featureType": "administrative.country",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#9e9e9e"
}
]
},
{
"featureType": "administrative.land_parcel",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "administrative.locality",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#bdbdbd"
}
]
},
{
"featureType": "landscape.man_made",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"elementType": "labels.text.stroke",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi.attraction",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi.business",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "geometry.fill",
"stylers": [
{
"color": "#2c2c2c"
}
]
},
{
"featureType": "road",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#8a8a8a"
}
]
},
{
"featureType": "road.arterial",
"elementType": "geometry",
"stylers": [
{
"color": "#373737"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry",
"stylers": [
{
"color": "#3c3c3c"
}
]
},
{
"featureType": "road.highway.controlled_access",
"elementType": "geometry",
"stylers": [
{
"color": "#4e4e4e"
}
]
},
{
"featureType": "road.local",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#616161"
}
]
},
{
"featureType": "transit",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#757575"
}
]
},
{
"featureType": "water",
"elementType": "geometry",
"stylers": [
{
"color": "#000000"
}
]
},
{
"featureType": "water",
"elementType": "labels.text.fill",
"stylers": [
{
"color": "#3d3d3d"
}
]
}
]
176 changes: 176 additions & 0 deletions assets/json/mapstyle_light.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
[
{
"featureType": "all",
"elementType": "all",
"stylers": [
{
"visibility": "simplified"
},
{
"saturation": "0"
}
]
},
{
"featureType": "administrative",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "administrative.country",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "administrative.province",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "administrative.locality",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "administrative.neighborhood",
"elementType": "all",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "administrative.land_parcel",
"elementType": "geometry",
"stylers": [
{
"visibility": "on"
}
]
},
{
"featureType": "landscape",
"elementType": "all",
"stylers": [
{
"visibility": "on"
},
{
"color": "#F6F6F4"
}
]
},
{
"featureType": "landscape.man_made",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi",
"elementType": "labels.text.stroke",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi.attraction",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "poi.business",
"elementType": "all",
"stylers": [
{
"visibility": "off"
}
]
},
{
"featureType": "road",
"elementType": "all",
"stylers": [
{
"visibility": "on"
},
{
"saturation": "-100"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry",
"stylers": [
{
"color": "#ffffff"
}
]
},
{
"featureType": "road.highway",
"elementType": "geometry.stroke",
"stylers": [
{
"color": "#dfdfdf"
}
]
},
{
"featureType": "water",
"elementType": "all",
"stylers": [
{
"color": "#afdef9"
}
]
},
{
"featureType": "water",
"elementType": "labels",
"stylers": [
{
"visibility": "simplified"
},
{
"color": "#ffffff"
}
]
}
]
Binary file modified assets/marker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/marker_darkmode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/marker_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/selectedMarker_darkmode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 0 additions & 9 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,6 @@ class MyHomePage extends StatelessWidget {
);
},
),
ElevatedButton(
child: Text('Stateful Widget Example'),
onPressed: () {
Navigator.push(
context,
MaterialPageRoute(builder: (context) => StatefulExample()),
);
},
),
ElevatedButton(
child: Text('Advanced Usage'),
onPressed: () {
Expand Down
Loading