You can use it on the 3.5 version AS a workaround try
dim hShape as object hShape = Map!Myshape hshape.addpoint... 2014/1/5 Fabien Bodard <gambas...@gmail.com>: > This is a bug i have corrected later. Normally now you can us > > 2014/1/5 Willy Raets <wi...@earthshipbelgium.be>: >> Hi all, >> >> I have a Fmain with a MapView1. >> >> Following code gives error: "Unknown symbol in 'AddPoint' in Class >> '_MapLayer'" >> >> The code is from an example shown on YouTube from may 2013 and there it >> seems to work. >> >> This is the code I used on FMain: >> >> Public Sub _new() >> >> MapView1.Map.AddTile("OpenStreet", >> "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png") >> MapView1.Map!OpenStreet.CopyRight = "OpenStreetMap Contributors" >> >> MapView1.Map.AddShape("MyShape") >> MapView1.Map!MyShape.AddPoint("Test", MapPoint(52.0, 5.10)) '<--ERROR >> >> MapView1.Map.Center = MapView1.Map!MyShape!Test.Points >> MapView1.Map.Zoom = 10 >> >> >> End >> >> Public Sub Form_Open() >> >> Me.Center >> >> End >> >> I'm using Gambas 3.4.2. Has the AddPoint symbol been added in a later >> Gambas version? >> >> >> -- >> Kind regards, >> >> Willy (aka gbWilly) >> >> http://gambasshowcase.org/ >> http://howtogambas.org >> http://gambos.org >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Rapidly troubleshoot problems before they affect your business. Most IT >> organizations don't have a clear picture of how application performance >> affects their revenue. With AppDynamics, you get 100% visibility into your >> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics >> Pro! >> http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Gambas-user mailing list >> Gambas-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > -- > Fabien Bodard -- Fabien Bodard ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user