Recent

Author Topic: several points with pins in google maps  (Read 1017 times)

juank1971

  • Full Member
  • ***
  • Posts: 112
several points with pins in google maps
« on: November 05, 2020, 08:16:56 pm »
Hi,
I need to put several points with pins in google maps, can you suggest some way to do it without using google API key, or it is necessary to use them anyway.


jmpessoa

  • Hero Member
  • *****
  • Posts: 2302
Re: several points with pins in google maps
« Reply #1 on: November 05, 2020, 10:54:15 pm »

You can try

jcOpenMapView  component!   

[tab "Android Bridges jCenter"] 

(need gradle!)

demos:

AppJCenterOpenStreetMapDemo1

AppJCenterOpenStreetMapDemo2
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

juank1971

  • Full Member
  • ***
  • Posts: 112
Re: several points with pins in google maps
« Reply #2 on: November 06, 2020, 06:18:17 pm »
ok , tanks.

 it works fine, and I have a question, can we remove the - and + buttons from the jcOpenMapView component and enlarge the image by pinching with your fingers?

and another question,
I tried the jLocation component and it works well with GetGoogleMapsWebUrl and it was not necessary to use any API Key but I could only see a single location on the map, the question is: it is possible to use GetGoogleMapsWebUrl with several locations and show them on the same map, because in the example AppLocationDemo1 if it is possible to do it with several locations at the same time but it is done with the GetGoogleMapUrl function and with GeoPoint2d that do need an API key.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2302
Re: several points with pins in google maps
« Reply #3 on: November 07, 2020, 07:23:07 pm »

Quote
can we remove the - and + buttons from the jcOpenMapView component and enlarge the image by pinching with your fingers?

I will try some solution....

Quote
but it is done with the GetGoogleMapUrl function and with GeoPoint2d that do need an API key.

Yes, without a Key you will not get a good use of the google maps... the key is a requirement.

Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

juank1971

  • Full Member
  • ***
  • Posts: 112
Re: several points with pins in google maps
« Reply #4 on: November 07, 2020, 11:39:55 pm »
Ok tanks i. wait.


 

TinyPortal © 2005-2018