AlbertoVesx Posted November 19, 2012 Posted November 19, 2012 New version 2012-11-19 v1.2.9 -- Fixes some compatibility problems. Thank you. Quote
Administrators Farshad Mohajeri Posted November 20, 2012 Administrators Posted November 20, 2012 Very good. Thanks for sharing. Quote
lema Posted November 21, 2012 Author Posted November 21, 2012 New version 2012-11-21 v1.3.0 -- Improved cross browser compatibility Tested with : Firefox 17.0 Chrome 23.0.1271.64 IE 8.0.7601 Please , let me know if you have any problem with your browser. Quote
lema Posted November 22, 2012 Author Posted November 22, 2012 New version 2012-11-22 v1.3.1 ----------------------------------------- Added ability to show multiple maps on a form / page Fixed bugs in Directions My apologies for any inconvenience caused with those "everyday versions". The unigmap is part of a project I am working on and when we have a change affecting the component , I transfer it here. Quote
epos4u Posted November 22, 2012 Posted November 22, 2012 Thank you lema could you do a sample with where you enter a postcode, and it returns the street name, if that's possible Thank you Quote
lema Posted November 22, 2012 Author Posted November 22, 2012 Thank you lema could you do a sample with where you enter a postcode, and it returns the street name, if that's possible Thank you Post code to Street name? I think this not so much accurate because there are many streets with the same post code. The best you can get is an area having that code or an address name in center of this area. So , you can try with the current demo (tab "Geocoding" , form "Google Maps"). Fill the textbox with as much detail as you have . For example (Greece , 11524) or (11524 , GR). You will get the coordinates of the center of area having this post code. After that , use these coordinates in order to get a human-readable address. Quote
epos4u Posted November 22, 2012 Posted November 22, 2012 Thanks lema, by the way, the download link is not showing, so unable to get the latest version Quote
lema Posted November 22, 2012 Author Posted November 22, 2012 Thanks lema, by the way, the download link is not showing, so unable to get the latest version fixed... Quote
AlbertoVesx Posted November 24, 2012 Posted November 24, 2012 Hi I noted that when I show and move a form (in my case modal) over gmap component, sometimes the form become invisible or the application behaves weird. To avoid this situation I set gmap.enabled := False before showmodal and set enabled := True onclose form. Firefox: 16.0.2 Delphi XE3 Unigui: 0.90.0 build 971 gmap 1.3.1 Best regards Quote
lema Posted November 25, 2012 Author Posted November 25, 2012 Hi I noted that when I show and move a form (in my case modal) over gmap component, sometimes the form become invisible or the application behaves weird. To avoid this situation I set gmap.enabled := False before showmodal and set enabled := True onclose form. Firefox: 16.0.2 Delphi XE3 Unigui: 0.90.0 build 971 gmap 1.3.1 Best regards Does this strange behavior happen only with the 0.90.0.971 ? For debug purposes , I suggest to temporarily replace the UniGMap with a simple UniHTMLFrame (showing some html). Quote
AlbertoVesx Posted November 28, 2012 Posted November 28, 2012 Does this strange behavior happen only with the 0.90.0.971 ? For debug purposes , I suggest to temporarily replace the UniGMap with a simple UniHTMLFrame (showing some html). Hi With version 0.8.x sometimes appears an Ajax error. I have found that when something (showmessage, uniform, etc.) is show over the component weird things can occur. So, for example, to avoid problems with show message, I do the following. unigmap1.Enabled := False; ShowMessage('Some message', procedure(res: integer) begin unigmap1.Enabled := True; end ); Quote
lema Posted November 28, 2012 Author Posted November 28, 2012 Hi With version 0.8.x sometimes appears an Ajax error. I have found that when something (showmessage, uniform, etc.) is show over the component weird things can occur. So, for example, to avoid problems with show message, I do the following. unigmap1.Enabled := False; ShowMessage('Some message', procedure(res: integer) begin unigmap1.Enabled := True; end ); Does this also happen when you run the unigmap demo? Quote
ChenHaibin Posted November 29, 2012 Posted November 29, 2012 We encountered some problems in the application. One error Encountered in the oncreate event to write "UniGMap1.InitializeMap" uniframe . Could you provide a uniframe the example of this component? Quote
lema Posted November 29, 2012 Author Posted November 29, 2012 We encountered some problems in the application. One error Encountered in the oncreate event to write "UniGMap1.InitializeMap" uniframe . Could you provide a uniframe the example of this component? Yes , there is a problem when we call InitializeMap in the OnCreate event of uniFrame. I really don't know what's going wrong , it seems that something is not set up at the time of frame creation. (calling InitializeMap , uniGMap gets its parent in order to set up its event handlers) AFAIK , Delphi Frames don't have an OnCreate event. Maybe Farshad can help here. As workaround you can use a runonce timer with 100ms interval. procedure TaFrame.UniFrameCreate(Sender: TObject); begin UniTimer1.Enabled := True; end; procedure TaFrame.UniTimer1Timer(Sender: TObject); begin UniGMap1.InitializeMap; end; Quote
ChenHaibin Posted November 29, 2012 Posted November 29, 2012 Thank you!Your solution is very good! However, the problem does not appear with Ttimer multiple initialization? Every timer every init? Quote
Hayri ASLAN Posted December 12, 2012 Posted December 12, 2012 Hi Lema, I have a problem with Markerexlabel. When i create about 50 piece markerexlabel, its good. But, When i create more than 100 piece markerexlabel, Unigmap not responding 4-5 second and its slowing down. Then i try create marker. İt is good. Can you help me? Quote
lema Posted December 13, 2012 Author Posted December 13, 2012 Hi Lema, I have a problem with Markerexlabel. When i create about 50 piece markerexlabel, its good. But, When i create more than 100 piece markerexlabel, Unigmap not responding 4-5 second and its slowing down. Then i try create marker. İt is good. Can you help me? I made a very simple html page: http://85.25.130.138/lema/markerwithlabel.html It shows 150 markers and YES its slow. It seems that the markerwithlabel library it is not intended for heavy usage. When I 'll have some time , I will try to add some Marker Clusterer library Quote
Hayri ASLAN Posted December 13, 2012 Posted December 13, 2012 Thank you for your interest. I wait your good news 1 Quote
lema Posted December 16, 2012 Author Posted December 16, 2012 New version2012-12-15 v1.3.2-- Marker ClustererI used the markerclusterer library.Reference:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/reference.htmlExamples:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/docs/examples.htmlSource:http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclusterer/src/Note:The file markerclusterer_compiled.js must be located in /files folder 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.