Jump to content

Recommended Posts

Posted (edited)

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

http://144.91.94.212/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
link for online demo
  • Like 3
  • Upvote 9
Posted

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.

Posted

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

Posted

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.

Posted

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

Posted

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).


 

Posted

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.

Posted

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.

Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...