you can use the map.MapPointToPixelRel ( hMapPoint As MapPoint ) function to get directly the position on the draw area.
2017-05-17 10:02 GMT+02:00 ingo <bm...@t-online.de>: > Hi Fabien, > thankx for the answer and the very fast implementation. > > I found a workaround in the meantime. Using the draw event of the MapView > let me draw lines with Paint. > But I will check the new gb.map class. > > Salut > Ingo > > > > > -- > View this message in context: > http://gambas.8142.n7.nabble.com/How-to-use-gb-map-AddPolyLine-method-tp57682p59017.html > Sent from the gambas-user mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user -- Fabien Bodard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user