Jump to content


Photo

Google Maps for uniGUI


  • Please log in to reply
339 replies to this topic

#1 lema

lema

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 322 posts

Posted 06 October 2012 - 01:31 PM

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...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-02-11  v1.4.4

Attached Files


Edited by lema, 11 February 2017 - 12:44 AM.

  • 8

#2 Dionel Acosta Duarte

Dionel Acosta Duarte

    Advanced Member

  • Members
  • PipPipPipPip
  • 450 posts
  • LocationDominican Republic

Posted 06 October 2012 - 02:09 PM

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.
  • 0

#3 Farshad Mohajeri

Farshad Mohajeri

    Administrator

  • Administrators
  • 8842 posts

Posted 06 October 2012 - 04:26 PM

Looks great! Thanks
  • 0

#4 Alberto vesx

Alberto vesx

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 444 posts

Posted 06 October 2012 - 04:51 PM

Wow, thank you.
  • 0

#5 Stas

Stas

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 160 posts
  • LocationKiev Ukraine

Posted 07 October 2012 - 05:20 AM

Thank you
  • 0

#6 Hayri Aslan

Hayri Aslan

    Advanced Member

  • Moderators
  • 347 posts
  • Locationİstanbul - Turkey

Posted 07 October 2012 - 06:57 AM

Thank you. Looks awasome
  • 0

#7 Arvin Feng

Arvin Feng

    Advanced Member

  • Members
  • PipPipPipPip
  • 100 posts
  • LocationChina (青石)

Posted 11 October 2012 - 01:23 AM

Thank you.
  • 0

#8 Hank

Hank

    Advanced Member

  • Members
  • PipPipPipPip
  • 205 posts

Posted 11 October 2012 - 02:48 AM

Great!But did not see a new demo.
Could you upload it?Thank you! :rolleyes:
  • 0

#9 Alberto vesx

Alberto vesx

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 444 posts

Posted 11 October 2012 - 03:01 AM

Thank you.
  • 0

#10 lema

lema

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 322 posts

Posted 11 October 2012 - 07:20 PM

Great!But did not see a new demo.
Could you upload it?Thank you! :rolleyes:


The demo project is included in the latest version.
  • 0

#11 Alberto vesx

Alberto vesx

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 444 posts

Posted 12 October 2012 - 12:06 AM

The demo project is included in the latest version.


Great, thank you.
  • 0

#12 Roberto

Roberto

    Active Member

  • Members
  • PipPipPip
  • 90 posts

Posted 12 October 2012 - 06:25 AM

Great, thank you.


It looks great !!!!

Congratulations !

Rober
  • 0

#13 Javi

Javi

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 142 posts
  • LocationGetafe - Madrid

Posted 12 October 2012 - 07:54 AM

:o :o :o

a great job
  • 0

#14 HarryG

HarryG

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 167 posts

Posted 12 October 2012 - 09:43 AM

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
  • 0

#15 Hank

Hank

    Advanced Member

  • Members
  • PipPipPipPip
  • 205 posts

Posted 12 October 2012 - 10:41 AM

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.
  • 0

#16 HarryG

HarryG

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 167 posts

Posted 12 October 2012 - 11:27 AM

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
  • 0

#17 HarryG

HarryG

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 167 posts

Posted 12 October 2012 - 11:29 AM

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

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

#18 lema

lema

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 322 posts

Posted 12 October 2012 - 01:29 PM

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


 


  • 0

#19 Arvin Feng

Arvin Feng

    Advanced Member

  • Members
  • PipPipPipPip
  • 100 posts
  • LocationChina (青石)

Posted 12 October 2012 - 01:36 PM

Great!
  • 0

#20 lema

lema

    Advanced Member

  • SMembers
  • PipPipPipPip
  • 322 posts

Posted 12 October 2012 - 01:43 PM

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.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users