Questions tagged [gmlib]

GMLib is a Google Maps library for Delphi and C++ Builder, developed by cadetill.

The library provides a Object Pascal wrapper for the Google Maps API, showing the results directly in a TWebBrowser.

The main library webpage has both Spanish and English versions.

It is licensed using version 3 of the GNU General Public License.

85 questions
1
vote
3 answers

Script errors when loading maps

As of today, the delphi component has been returning script errors when trying to load the map. We have not changed any code in the application or component. Have Google changed something in their API? If so, is there a new version of the…
Chris Fox
  • 21
  • 4
1
vote
1 answer

Change GMLib default marker

I am using gmlib in a delphi application and it's living up to my needs. I load markers form a table of coordinates, but now I want to replace the default marker style. Since I am doing this all in code, I don't have any gmmarker items. My code…
1
vote
1 answer

How to write only a jts geometry with gml3

I have a geometry (JTS) geometry and i want to encode this geometry with GML3 I did this work Gml2 in this way : GMLWriter writer = new GMLWriter(); writer.setNamespace(true); …
esatilmis
  • 98
  • 10
1
vote
2 answers

Google Maps library for Delphi suddenly stopped working?

I'm using this library for using google maps with delphi: GMLib This has worked fine for several months, but today when I started my application I got a lot of script errors on the page and everything broke down! After troubleshooting all day I have…
monoceres
  • 4,722
  • 4
  • 38
  • 63
1
vote
1 answer

How can I use the IconField argument in LoadFromDataSet function of TGMMarker (GMLIB)

I am using loadfromdataset function of TGMMarker object in GMLib, but I can't get the IconField to work. I have a BLOB field with a png image to use as a Icon. I load the very same image file directly from the folder with no problems, but when I try…
Willer Bononi
  • 31
  • 1
  • 4
1
vote
0 answers

Delphi Google Map API : How to put specifics icons for each Waypoint?

I use GMLib 1.1.0.00 - Google Maps Library with my Delphi 7. I need to display a set of point on a google map with the roads to build an itinerary. It work fine with this code but, I need to put a specific icon on each waypoint. But the only way to…
WwiloO
  • 33
  • 4
1
vote
1 answer

Compiling GMLib 1.1.0 in XE5

I managed to solve several issues and install the "GMLib_DXE4.bpl". Now I have two problems with compiling "GMLib_DXE4_VCL.bpl". [dcc32 Error] GMMapVCL.pas(124): E2003 Undeclared identifier: 'TTimer' [dcc32 Error] WebControlVCL.pas(180): E2029…
Vladds7
  • 81
  • 15
1
vote
1 answer

Dynamic setting of Google Maps Api Key for GMLib component

In the past it was a question about setting Google Maps Api Key for the gmlib component. The provided solution was to change the 'map.html' head element then recompile the resources (rc.cmd) and recompile the component. This is a quite static…
bacuba
  • 103
  • 7
1
vote
2 answers

Create marker on GMMap fails

I noticed some strange behaviour when creating markers using the Google Map API for Delphi. I can easily reproduce the problem but have no explanation. In the code below you will see a CreatePoint method, which I call in the OnClick event of a…
Soitjes
  • 11
  • 4
1
vote
0 answers

Installation GMLib in Delphi 7 with TChromiun

I try to install GMLib to work with TChromium browser in Delphi 7. During the compilation compiler shows this code: TChromium(FWebBrowser).Browser.MainFrame.VisitDomProc( procedure (const doc: ICefDomDocument) //compiler higtlights this row …
1
vote
1 answer

Memoryleak when using Geocode

Every time I use GMGeoCode.Geocode(lAddress); Where lAddress is an existing address found in a database, I get a memoryleak If I do everything else on the for except the GMGeoCode.Geocode(lAddress); the leak isn't there Is there…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
1
vote
1 answer

How to use TGMCircle?

I am having some issues when trying to plot a Marker and for some cases a Circle. The problem itself is about how to do that with the proper manner. Here is the flow I am using: set GMap.RequiredProp.Center values on the AfterPageLoaded event I…
Magno
  • 387
  • 4
  • 13
1
vote
1 answer

Is there a fast way to define a Polygon using clicks?

I'm using the GMLib 1.0.0 Final, in order to create a polygon (with Editable = True) i catch the OnClick event of TGMMap (based on megademo) to add the points, but when i add several points more than 3 in fact, the polygon takes a long long time to…
1
vote
1 answer

TDirectionsResult from a Memo

With the code below I am trying to reload a DirectionsResult back into a TGMDirections. procedure Form2.Button2Click(Sender: TObject); var DR: TDirectionsResult; i: Integer; begin DR:= TDirectionsResult.Create(Form1.FDirection, 0); …
1
vote
1 answer

GMLib Simple directions sample

someone could give me a simple sample how could i implement the follow situation using GMLib: I have some address(street, number, city) e i would like to make a route using the google maps connecting all of them. I am using Delphi XE2. Thanks very…
abraao895
  • 13
  • 1
  • 3