[Gambas-user] gb.map

Fabien Bodard gambas.fr at gmail.com
Wed Feb 13 20:41:33 CET 2019


In fact for a circle you must remove it because the center property not
redefine the object bounds.


Le mer. 13 févr. 2019 16:44, gen braga <genbraga1 at gmail.com> a écrit :

>
> 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_-5642674928626418060_m_-113023904802154060_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
> ----[ 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/cac09bb1/attachment-0001.html>


More information about the User mailing list