Jump to content

Google Maps for uniGUI


lema

Recommended Posts

First of all thank you for this great tool!!... :)

 

Question: could be used to measure the distance polyline?

 

thanks!!.

 

MMurgas

 

Yes , check the demo.

In every polyline or polygon event occurred ,

there is a len variable which is the length (in meters).

Link to comment
Share on other sites

Hi,

 

I can't find anything on the forum about a installation error. I use UniGui 0.89 because

of the design/ JS EXT issue about uniDBEdit components and maybe it's releated to 0.89

 

Building the package is no problem, installing the package gives me this error:

 

Cannot load package 'uniTools14'. It contains unit 'uniDateUtils', which is also containted in package uniTools11.

 

 

Regards Peter

Link to comment
Share on other sites

Create a new .dpk file (name it "UniGMapD2007")

 

Add the following code and try to install it in your Delphi.

 

 

package UniGMapD2007;

{$R *.res}
{$ALIGN 8}
{$ASSERTIONS ON}
{$BOOLEVAL OFF}
{$DEBUGINFO ON}
{$EXTENDEDSYNTAX ON}
{$IMPORTEDDATA ON}
{$IOCHECKS ON}
{$LOCALSYMBOLS ON}
{$LONGSTRINGS ON}
{$OPENSTRINGS ON}
{$OPTIMIZATION ON}
{$OVERFLOWCHECKS OFF}
{$RANGECHECKS OFF}
{$REFERENCEINFO ON}
{$SAFEDIVIDE OFF}
{$STACKFRAMES OFF}
{$TYPEDADDRESS OFF}
{$VARSTRINGCHECKS ON}
{$WRITEABLECONST OFF}
{$MINENUMSIZE 1}
{$IMAGEBASE $400000}
{$IMPLICITBUILD ON}

requires
 rtl,
 vcl,
 vclimg,
 dbrtl,
 vcldb,
 uniGUI11,
 ExtPascal11,
 uIndy11,
 uniTools11;

contains
 UniGMap in 'UniGMap.pas';

end.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...

Hi Lema,

 

Kml  is not working.

 

Thank you .

 

Is your server successfully serving KML files ?

Can you get the KML file from your browser ?

(point your browser to http://yourserver/kmlfile.kml)

 

In IIS I had to add the KML mime type in order to serve up these files.

The MIME type for KML files is application/vnd.google-earth.kml+xml

Link to comment
Share on other sites

  • 2 weeks later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...