lema Posted October 6, 2012 Posted October 6, 2012 (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 July 28, 2020 by lema link for online demo 3 9 Quote
dionel1969 Posted October 6, 2012 Posted October 6, 2012 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. Quote
Administrators Farshad Mohajeri Posted October 6, 2012 Administrators Posted October 6, 2012 Looks great! Thanks Quote
ChenHaibin Posted October 11, 2012 Posted October 11, 2012 Great!But did not see a new demo. Could you upload it?Thank you! Quote
lema Posted October 11, 2012 Author Posted October 11, 2012 Great!But did not see a new demo. Could you upload it?Thank you! The demo project is included in the latest version. Quote
AlbertoVesx Posted October 12, 2012 Posted October 12, 2012 The demo project is included in the latest version. Great, thank you. Quote
alasoft Posted October 12, 2012 Posted October 12, 2012 Great, thank you. It looks great !!!! Congratulations ! Rober Quote
Harry Rogers Posted October 12, 2012 Posted October 12, 2012 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 Quote
ChenHaibin Posted October 12, 2012 Posted October 12, 2012 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. Quote
Harry Rogers Posted October 12, 2012 Posted October 12, 2012 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 Quote
Harry Rogers Posted October 12, 2012 Posted October 12, 2012 as another observation should the strtofloat() be using the thread safe version ? function StrToFloat ( FloatString : string; const FormatSettings : TFormatSettings ) : Extended; Quote
lema Posted October 12, 2012 Author Posted October 12, 2012 New version2012-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). Quote
lema Posted October 12, 2012 Author Posted October 12, 2012 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. Quote
lema Posted October 12, 2012 Author Posted October 12, 2012 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. Quote
Harry Rogers Posted October 13, 2012 Posted October 13, 2012 Many thanks Lema. This is really does provide some very powerful functionality. All the best Harry Quote
Hayri ASLAN Posted October 13, 2012 Posted October 13, 2012 Thanks LEMA. Can you add Marker Title? (Not Hint, Title. Same This İmage) Quote
lema Posted October 14, 2012 Author Posted October 14, 2012 New version2012-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.htmlExamples:http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerwithlabel/1.1.5/docs/examples.htmlSource: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 Quote
Arvin Feng Posted October 16, 2012 Posted October 16, 2012 Thank you. Map does not refresh automatically maximized. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.