This commit is contained in:
Mohamed Nouffer
2022-07-15 21:50:14 +05:30
parent 42accf9f3a
commit 560d6ee08a
2 changed files with 21 additions and 22 deletions

View File

@ -171,7 +171,7 @@ class _DestinationMapPageState extends State<DestinationMapPage> {
zoom: 1, zoom: 1,
maxZoom: 20, maxZoom: 20,
interactiveFlags: InteractiveFlag.pinchZoom | InteractiveFlag.drag, interactiveFlags: InteractiveFlag.pinchZoom | InteractiveFlag.drag,
plugins: [LocationMarkerPlugin(),] //plugins: [LocationMarkerPlugin(),]
), ),
children: [ children: [
TileLayerWidget( TileLayerWidget(
@ -205,7 +205,8 @@ class _DestinationMapPageState extends State<DestinationMapPage> {
options: MarkerLayerOptions( options: MarkerLayerOptions(
markers: getMarkers()! markers: getMarkers()!
), ),
) ),
LocationMarkerLayerWidget(),
], ],
); );

View File

@ -549,28 +549,26 @@ class BottomSheetNew extends GetView<BottomSheetController> {
children: [ children: [
Text(label), Text(label),
SizedBox(width: 10.0,), SizedBox(width: 10.0,),
Flexible( InkWell(
child: InkWell( onTap: (){
onTap: (){ if(isurl){
if(isurl){ if(indexController.rog_mode == 0){
if(indexController.rog_mode == 0){ _launchURL(indexController.currentFeature[0].properties!["webcontents"]);
_launchURL(indexController.currentFeature[0].properties!["webcontents"]);
}
else {
indexController.currentDestinationFeature[0].webcontents;
}
} }
}, else {
child: Text(text, indexController.currentDestinationFeature[0].webcontents;
style: TextStyle( }
color: Colors.blue,
), }
overflow: TextOverflow.ellipsis, },
maxLines: 5, child: Text(text,
style: TextStyle(
color: Colors.blue,
), ),
), overflow: TextOverflow.ellipsis,
), maxLines: 5,
),
),
], ],
); );
} }