Android Question GoogleMap panel resize

MbedAndroid

Active Member
Licensed User
Longtime User
somehow this doesnt work on my side:
EbdrnYR.jpg

add the mfragment to a panel named MapPanel
added this code to the app
B4X:
    MapPanel.Top=topsizeheight
     MapPanel.Width=pnlPlot.width
     MapPanel.Height=pnlPlot.height
     MapPanel.Left=pnlPlot.left


If MFragment.IsGooglePlayServicesAvailable = False Then
  ToastMessageShow(ResourceStrings.Get("NOGOOGLEMAPS"), True)
     Else
       MapPanel.GetView(0).SetLayout(pnlPlot.left,topsizeheight,pnlPlot.Width,pnlPlot.Height)
       MapPanel.Visible=False
       MapPanel.SendToBack

doesnt put the Mfragment google maps exact into the mappanel

any advise will be welcome....
 
Upvote 0

Similar Threads

Top