Skip to content

Commit

Permalink
Improved #11
Browse files Browse the repository at this point in the history
  • Loading branch information
urmilshroff committed Dec 14, 2019
1 parent 3f90a34 commit 0fa219e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/pages/map_view_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ class _MyMapViewPageState extends State<MyMapViewPage> {
var myMarkerLocation;
var markerColor;
var locationAnimation = 0; // used to switch between 2 kinds of animations
var previousMarkersWithinRadius = 0;
var currentMarkersWithinRadius = 0;

final zoom = [15.0, 17.5]; // zoom levels (0/1)
final bearing = [0.0, 90.0]; // bearing level (0/1)
Expand Down Expand Up @@ -134,9 +132,11 @@ class _MyMapViewPageState extends State<MyMapViewPage> {
bool isTipShown1 = widget.helper.getBool('isTipShown1') ?? false;
bool isTipShown2 = widget.helper.getBool('isTipShown2') ?? false;

var previousMarkersWithinRadius = 0;
var currentMarkersWithinRadius = 0;

hotspots.clear();
markers.clear();
currentMarkersWithinRadius = 0;
// clearing lists needed to regenerate necessary markers

for (int i = 0; i < clients.length; i++) {
Expand Down

0 comments on commit 0fa219e

Please sign in to comment.