[Gambas-user] gb.map

gen braga genbraga1 at gmail.com
Wed Feb 13 16:43:41 CET 2019


To add:

MapView1.Map.AddShape("Shape1").AddCircle("Circle1", MapPoint(48.866667,
2.333333), 1000)

to remove 1:

MapView1.Map["Shape1"].Remove("Circle1")

To clear:

MapView1.Map["Shape1"].Clear

but seems you cant relocate... Should be:

MapView1.Map["Shape1"]["Circle1"].Center = MapPoint(0, 0)

as to relocate Points it´s simply:

MapView1.Map["Shape1"]["Point1"].Points = MapPoint(0, 0)

Now its with Fabien.

-
Gen.

Em qua, 13 de fev de 2019 às 08:21, Georgios Kalogiannis <
georgioskalogiannis at gmail.com> escreveu:

>
> Hello
>
> In an existing mapview1.map I add some cycle shapes.
> After this addition, is it a way to move one of the cycles in a new
> position ?
>
> If not, can I delete it ? (and then add a new one)
>
> Georgios
>
>
>
>
>
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Απαλλαγμένο
> από ιούς. www.avast.com
> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
> <#m_-113023904802154060_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190213/a19f5119/attachment.html>


More information about the User mailing list