Jump to content
uniGUI Discussion Forums
lema

Google Maps for uniGUI

Recommended Posts

Hi to all.

I share the uniGMap component.

[Desktop and Mobile versions]

It is based on code I have used in several projects and actually developed to fulfill my needs.

It can add , edit , remove , locate markers , lines , polylines , circles , polygons ,
rectangles , directions , KML, infoWindows ,
change several map properties like zoom , type , control visibility etc ,
notify about map events through AjaxEvent like zoom , click , markerclick and
get some object properties like Length , Area etc.

 

 

It is absolutely free and you can use it freely in your own software.
If you make any changes that you believe can help other developers too,

please send them to me to integrate them into uniGMap.

 

You can see it in action here :
http://79.143.178.31/lema/uniGMapDemo.dll

 

 

Although it is not a requirement,
I would ask you to send a postcard from your hometown so that you help me grow my collection!

If also you write 2-3 words, it would be perfect!

 

So, lick your stamp and send your postcard to:

Lefteris Maronikolakis,

Bohali 92,

11524 Athens,

Greece.
 

 

latest version: 2017-09-15  v1.4.8

 

uniGMap.v.1.4.8.zip

 

 

Edited by lema
  • Like 1
  • Upvote 9

Share this post


Link to post
Share on other sites

Hi to all.

 

I share the uniGMap component.

It is based on code I have used in several projects and actually developed to fulfill my needs.

 

There is no need for external JS files.

It can add and remove markers and lines,

change several map properties like zoom , type , control visibility etc

and notify about map events through AjaxEvent like zoom , click , markerclick ....

 

It has been tested with both 0.89.0.958 and 0.90.0.964

 

Thank you. I will take a look about it later.

Share this post


Link to post
Share on other sites

Great!But did not see a new demo.

Could you upload it?Thank you! :rolleyes:

 

The demo project is included in the latest version.

Share this post


Link to post
Share on other sites

Hi Lema

 

That's fantastic - thank you.

 

(I have a couple of observations,

The devexpress dxGDIPlusClasses is in your uses clause of main - can safely be deleted.

Floating point numbers seem to be expecting a ',' as the decimal, I'm not sure how to change it to '.')

 

Many thanks once again.

 

Harry

Share this post


Link to post
Share on other sites

Hi Lema

 

That's fantastic - thank you.

 

(I have a couple of observations,

The devexpress dxGDIPlusClasses is in your uses clause of main - can safely be deleted.

Floating point numbers seem to be expecting a ',' as the decimal, I'm not sure how to change it to '.')

 

Many thanks once again.

 

Harry

 

I also encountered the same problem.

Share this post


Link to post
Share on other sites

I also encountered the same problem.

 

 

I took out each instance of replacing the ',' with a '.' and it all runs fine for me now

e.g.

// rad := StringReplace(Params.Values['rad'], '.', ',', [rfReplaceAll]);

rad := Params.Values['rad'];

 

Cheers

Share this post


Link to post
Share on other sites

as another observation should the strtofloat() be using the thread safe version ?

 

function StrToFloat ( FloatString : string; const FormatSettings : TFormatSettings ) : Extended;

Share this post


Link to post
Share on other sites

New version

2012-10-12 v1.2.2

-- Can create , edit , delete , locate polygons.
-- Get informed about several polygon events , like click , rightclick , insert_at , remove_at , set_at.
-- Get polygon perimeter length (meters) and area (square meters).


 

Share this post


Link to post
Share on other sites

as another observation should the strtofloat() be using the thread safe version ?

 

function StrToFloat ( FloatString : string; const FormatSettings : TFormatSettings ) : Extended;

 

Yes , sure !

I will change every non thread-safe StrToFloat() to the thread-safe form with TFormatSettings record.

Also , I will eliminate the use of StringReplace() function.

Share this post


Link to post
Share on other sites

New version

 

2012-10-13 v1.2.3

 

-- Can create , edit , delete , locate rectangles.

-- Get informed about several rectangle events , like click , rightclick , BoundsChanged.

 

Also , there is an updated demo showing the new features.

Share this post


Link to post
Share on other sites

New version

2012-10-14 v1.2.4
-- Markers with labels.



The new "Marker with Label" feature is actually a wrapper of MarkerWithLabel Library.

Reference :
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/docs/reference.html

Examples:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/docs/examples.html

Source:
http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/src/

Note:
The file markerwithlabel_packed.js must be located in /files folder

Share this post


Link to post
Share on other sites

×