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

View File

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