import 'package:flutter/material.dart'; import 'package:flutter_map/flutter_map.dart'; import 'package:latlong2/latlong.dart'; import 'fire_mark_type.dart'; import 'fire_marker_icon.dart'; /// Create a Marker with custom positioning for fires and other map objects Marker fireMarker( LatLng pos, FireMarkType type, [ VoidCallback? onTap, ]) { return Marker( point: pos, width: 80.0, height: 80.0, alignment: Alignment.center, child: GestureDetector( onTap: onTap, child: FireMarkerIcon(type), ), ); }