Markdown. Privacy Policies. Injection dep updated

This commit is contained in:
vjrj 2018-07-12 09:57:31 +02:00
parent 8301e6a40e
commit f0ab472b3a
21 changed files with 487 additions and 25 deletions

View file

@ -6,17 +6,16 @@ import 'fireMarkerIcon.dart';
import 'fireMarkType.dart';
class FireMarker extends Marker {
FireMarker(location, type,
[AnchorPos anchor = AnchorPos.center, Anchor anchorOverride])
[onTap = null, AnchorPos anchor = AnchorPos.center, Anchor anchorOverride])
: super(
width: 80.0,
height: 80.0,
point: new LatLng(location.lat, location.lon),
builder: (ctx) => new Container(
child: new GestureDetector(
child: new FireMarkerIcon(type), onTap: () {
print('marker pressed');
})
child: new FireMarkerIcon(type), onTap: onTap)
),
anchor: anchor,
anchorOverride: anchorOverride ?? type == FireMarkType.position