1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

iOS Question hide/show polyline and marker on GoogleMap

Discussion in 'iOS Questions' started by michw, Jun 26, 2019.

  1. michw

    michw Member Licensed User

    How can i do somthings like in B4A:

    Code:
    Dim Line as polyline
    Dim Marker1 as Marker

    Line.Visible=
    False
    Marker1.Visible=
    False
    I don't see this options in B4i :(
     
  2. marcick

    marcick Well-Known Member Licensed User

    I simply delete and recreate when I need visible again. Not sure if there is any other quicker solution.
     
  3. michw

    michw Member Licensed User

    I mean just a simpler and faster solution. I have eg 300 markers and 100 polyline.
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Hide with with Marker.Remove.

    Show with:
    Code:
    Dim no As NativeObject = Marker
    no.SetField(
    "map", YourMap)
     
  5. michw

    michw Member Licensed User

    IT'S WORK!!!! :)
    THX
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice