Android Question Draw Text in OsmDroid

Discussion in 'Android Questions' started by js486dog, Sep 5, 2017.

  1. js486dog

    js486dog Member Licensed User

    Please I would like to draw the text in OsmDroid:

    Dim Font As Typeface
    Font = Typeface.DEFAULT_BOLD
    Canvas.Initialize(MapView1)
    Canvas.DrawColor(Colors.red)
    Canvas.DrawText("AAAAAA",daj_lat,daj_lon,Font, 30, Colors.Blue, "CENTER")
    MapView1.Invalidate


    but it do not work. There is not text on daj_lat,daj_lon coordinate.


    Please how can I draw the text in OsmDroid ?
     
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