[Gambas-user] gb.map

Fabien Bodard gambas.fr at gmail.com
Thu Feb 14 10:36:14 CET 2019


It's a pleasure for me to have people coming help us... Come and share
ideas... code ...feature .

I'm a pure GNU maker so I love sharing and learning of course :-).

And also I've not so many time than in past to program things.
I've begin gb.map just for a personnal need and from 0 in the geo GIS
knoledge. Just because I wanted to have a dynamic map that show
my vine fields with shapes. So in the same time I've done a DBase reader
too because shp files was linked with DB file.

that also why gb.map is made in two part. Because I wanted to have the
hability to get a snapshot of a map without having to load the viewer.
So the map part draw the maps and the viewer just manipulate the center and
the drawing box.

Then gb.map is a mess of many test of many things. Depend on my needs :-).
But is one of the rare library to not use leaflet js or gmap api with a web
viewer.

Regards,

Fabien

Le jeu. 14 févr. 2019 à 01:21, gen braga <genbraga1 at gmail.com> a écrit :

> I'm working on It and some others minor issues, If you dont mind, of
> course.
>
> Gen.
>
> Em qua, 13 de fev de 2019 17:42, Fabien Bodard <gambas.fr at gmail.com>
> escreveu:
>
>> 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_-6475822657739333618_m_4961039645211242828_m_1073363389215611736_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 ]----
>>>
>>
>> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>>
>
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----
>


-- 
Fabien Bodard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190214/ebaff14e/attachment.html>


More information about the User mailing list