Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
6654ae3
taping off the search bar now unfocus it
joaolopes15 Nov 30, 2025
27d59e9
changed several parameters in the search bar like hintText and the lo…
joaolopes15 Dec 1, 2025
ebabee4
removed duplicated code
joaolopes15 Dec 1, 2025
0534e21
fixed initial camera positioning
joaolopes15 Dec 1, 2025
afd0cd6
added a floor selector widget(loctions info still wrong), and formatt…
joaolopes15 Dec 8, 2025
097f277
Integrated Overpass turbo querie from open street map.
joaolopes15 Jan 9, 2026
cd1948b
correct colors
jcovaa Feb 1, 2026
1cc147a
Added 6th and 7th floor
jcovaa Feb 2, 2026
f980d59
floor selector changed
jcovaa Feb 12, 2026
a94dc56
fixed position
jcovaa Feb 12, 2026
75011ce
only showing floor selector when all floors loaded
jcovaa Feb 12, 2026
0cfadb6
small position detail
jcovaa Feb 12, 2026
a90934c
fixed bugs on showing amenities
joaolopes15 Feb 12, 2026
ea1ef86
corrected floor fetching
jcovaa Feb 25, 2026
c3e8de7
general changes to the code organization turning it more organized an…
joaolopes15 Mar 4, 2026
d2f1593
fixed 504 server error issue by retrying the api call several times
joaolopes15 Mar 5, 2026
9f1f3e7
fixed cache problem. Fetching from cache now always returns null as i…
joaolopes15 Mar 5, 2026
481ec8f
an icon per amenity is being now shown (some icons still need to be c…
joaolopes15 Mar 10, 2026
c192d20
added a loading status while fetching from api
joaolopes15 Mar 11, 2026
6d76e1b
added a amenity filter bar
joaolopes15 Mar 11, 2026
13e8209
Only markers with the floor selected are shown
jcovaa Mar 11, 2026
b6a1f28
correct position
jcovaa Mar 11, 2026
3a6ce67
correct size for floor selector
jcovaa Mar 11, 2026
3bf7a20
took out all the room icons
joaolopes15 Mar 11, 2026
aef3d1e
Markers with correct coloring
jcovaa Mar 16, 2026
48ba411
removed non-existent library bathrooms
jcovaa Mar 16, 2026
53dd36a
grouped close amenaties
joaolopes15 Mar 18, 2026
b2c7043
Removed duplicate locations on markers
jcovaa Mar 18, 2026
2ee42c2
removed with opacity
jcovaa Mar 18, 2026
c795f13
refactored map widget
jcovaa Mar 18, 2026
882c769
added room(polygons) search
joaolopes15 Mar 18, 2026
5800a4c
fixed some positional arguments and removed indoor button
joaolopes15 Mar 24, 2026
0eb93e8
added parking icons
joaolopes15 Mar 24, 2026
b8880df
added name atribute to car parks
joaolopes15 Mar 24, 2026
c929ea2
format
jcovaa Mar 25, 2026
bc404b3
Merge branch 'develop' into refactor/revamp_map
jcovaa Mar 25, 2026
733be32
Correct floor selector size
jcovaa Mar 25, 2026
bb242f3
Removed debugPrints
jcovaa Mar 26, 2026
794067f
unused import
jcovaa Mar 26, 2026
a188a69
Added translations to locations
jcovaa Mar 26, 2026
c6fcadd
added parking to amenity filter bar
joaolopes15 Mar 24, 2026
8d98735
removed remaining debug prints
joaolopes15 Mar 27, 2026
7e46114
added Efeitos Gráficos copyshop
joaolopes15 Mar 27, 2026
d19b95f
added more shops and completed the translations
joaolopes15 Mar 28, 2026
0769db5
erase polygons when very zoomed out
joaolopes15 Mar 28, 2026
c4b354b
Increasing zoom filter
jcovaa Mar 31, 2026
c25fe16
added function to calculate labels position in each polygon. Organize…
joaolopes15 Mar 31, 2026
998ddfe
increased maxZoom
joaolopes15 Mar 31, 2026
a1a3a4f
Merge branch 'develop' into refactor/revamp_map
AugustoVSoares Mar 31, 2026
6b1de8e
Solved translations conflicts
jcovaa Apr 8, 2026
f4d56d7
merged with develop and solved conflicts
joaolopes15 Apr 17, 2026
4677611
changed some color variables according to the new theme parameters
joaolopes15 Apr 17, 2026
fc3a5ba
fixed dark mode cursor color
joaolopes15 Apr 17, 2026
cd1684c
formatted
joaolopes15 Apr 17, 2026
c6b2fc0
migrations implementation
jcovaa Apr 27, 2026
48a41cf
Corrected fetching
jcovaa Apr 27, 2026
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
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
import 'dart:convert';

import 'package:latlong2/latlong.dart';
import 'package:uni/model/entities/faculty_config.dart';
import 'package:uni/model/entities/indoor_floor_plan.dart';
import 'package:uni/model/entities/location.dart';
import 'package:uni/model/entities/location_group.dart';

abstract class LocationFetcher {
LocationFetcher(this.facultyConfig);

final FacultyConfig facultyConfig;

Future<List<LocationGroup>> getLocations();
Future<List<IndoorFloorPlan>> getIndoorFloorPlans();

Future<List<LocationGroup>> getFromJSON(String jsonStr) async {
final json = jsonDecode(jsonStr) as Map<String, dynamic>;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
import 'package:flutter/services.dart' show rootBundle;
import 'package:uni/controller/fetchers/location_fetcher/location_fetcher.dart';
import 'package:uni/model/entities/indoor_floor_plan.dart';
import 'package:uni/model/entities/location_group.dart';

class LocationFetcherAsset extends LocationFetcher {
LocationFetcherAsset(super.facultyConfig);

@override
Future<List<LocationGroup>> getLocations() async {
final json = await rootBundle.loadString('assets/text/locations/feup.json');
if (facultyConfig.assetPath == null) {
throw Exception('No asset fallback available for ${facultyConfig.name}');
}
final json = await rootBundle.loadString(facultyConfig.assetPath!);
return getFromJSON(json);
}

@override
Future<List<IndoorFloorPlan>> getIndoorFloorPlans() async {
// No asset-based indoor floor plans available yet.
return [];
}
}
Loading
Loading