Markdown. Privacy Policies. Injection dep updated
This commit is contained in:
parent
8301e6a40e
commit
f0ab472b3a
21 changed files with 487 additions and 25 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue