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
0
votes
0 answers

domap resulting on error 'google' is not defined

I'm make use of GMLib some time ago to create same forms with Delphi 7 that did must interact with google maps. At time this work great, (begin of year) until now the project stay paused, now I came back to work with him and the code that I was…
0
votes
1 answer

Directions from xml file

I know you can set a direction, modify with drag-n-drop and then save the result as an xml file. Is there a way to load this xml again to be shown on the map? I tried something like: DirectionsResult := TDirectionsResult.Create(GMDirection,…
0
votes
0 answers

Can I get timezone offset or timezone name with gmlib in delphi?

I'm using GMlib_1.2.4 with Delphi 7 and XE5 for getting LatLon, works great. Can I also use it to get timezone offset or name? Thanks for your help.
0
votes
1 answer

Draw lines between two known points

Using Delphi XE3 and GMLib 1.2.4. Should be basic question. How to draw basic non-linked lines between two given points. I currently have GMMap displayed on a WebBrowser and have GMPolyline component. Using known values for both lat-lon pairs. …
0
votes
0 answers

TGMCircle RadiusChange Event on delphi

I'm writing some code to show 3 concentric circles for each defined location, and a combobox to change the color of these circles. When I change the combo value 2 - 3 times, the last added circle from one random location (almost always the last one…
0
votes
0 answers

Creating a bubble-style marker in GMLIB

I'm trying to set up a custom marker style for all of my markers. What I am trying to do looks like this example. So each marker has text in it. (All will be the same style, but with different colors and text set programmatically.) The type…
phantom
  • 1
  • 1
0
votes
0 answers

Delphi XE3, Gmlib 1.1.0 , parsing multiple destinations very fast , javascript error same always

I've written a little test program to parse destinations from my Vehicle Registration program, and compare user entered km with google km . My problem is if I don't use sleep(800) after each GMDirection1.Execute; I get this exact error every time…
user1937012
  • 1,031
  • 11
  • 20
0
votes
0 answers

How to download marker from GMLib to file

There is Delphi GMLIB application with TGMMap and TGMMarker. How to download marker image from TGMMarker to file ?
0
votes
0 answers

Error 80020101 when adding ground overlays

I'm using gmlib 1.1 with Delphi Xe2, Os is XP sp3, internet explorer is version 8. My problem is that I cannot programmatically add ground overlays at runtime, while all is ok if I do this at design time: on program starup the overlays are loaded…
Drugoi_mir
  • 41
  • 3
0
votes
0 answers

Marker dragging and do not changing lat lng position

what I'm doing wrong. I try to put a Marker and enable the Drag property, so I can get Lat and Lng coordinates, but, if I move the Marker with the mouse to an other place on the map, this values of geolocation (Lat and Lng) remain the same. To get…
0
votes
1 answer

Create new polygon by code

I have look into MegaDemo code, but could not find a way to create Polygon by code. Can someone help me how this is done . I have tried GMPolygon1.Add.AddLinePoint(5.54491313409736, 100.162353515625); GMPolygon1.Add.AddLinePoint(5.34805212812321,…
Ujang
  • 77
  • 1
  • 6
0
votes
1 answer

GMLib Could not complete the operation due to error 80020101

I get this error "Could not complete the operation due to error 80020101." at random times when displaying a map with a marker on it. I use Delphi 2007 and GMLib [1.2.0 Final]. I have read up on the issue and some suggestions was that the problem is…
0
votes
1 answer

Go directly to a address in Google map

I have a form with a database tabel which shows me all the company address. When i click the Google maps button the following will be executed the variable 'senderGoogleMaps' is filled with the company address, housenumber and city a form which…
0
votes
1 answer

GMLib Waypoint abd show them

I try this code, but the waypoints do not show This code work perfectly, but I can't add a third spot GMDirection1.DirectionsRequest.Origin.Address := 'My spot 1'; GMDirection1.DirectionsRequest.Destination.Address := 'My spot…
0
votes
1 answer

Is there a way to change the anchor position for an icon of a marker

I have larger pictures i want to use as icons in a list of markers but the default anchor position is bottom center and i would like it to be middle center, is there a way to do this with an marker icon in the gmlib map ?
Pierrie
  • 3
  • 3