update
This commit is contained in:
@ -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(),
|
||||
],
|
||||
|
||||
);
|
||||
|
||||
@ -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,
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user