Better fire stats. False positives mark api part

This commit is contained in:
Vicente J. Ruiz Jurado 2018-08-08 08:55:31 +02:00
parent e9c6c3fc55
commit cb02156ae1
10 changed files with 174 additions and 75 deletions

View file

@ -7,12 +7,12 @@ import 'fireMarkType.dart';
class FireMarker extends Marker {
FireMarker(location, type,
FireMarker(LatLng pos, type,
[onTap = null, AnchorPos anchor = AnchorPos.center, Anchor anchorOverride])
: super(
width: 80.0,
height: 80.0,
point: new LatLng(location.lat, location.lon),
point: pos,
builder: (ctx) => new Container(
child: new GestureDetector(
child: new FireMarkerIcon(type), onTap: onTap)