Michael Modica
2006-Aug-22 15:24 UTC
[Rails] Re: google map plugin(insert name here) vs this
> also, i plan on doing the geocoding lookup everytime a new address is > submitted into our database. is this what you mean by having a server > process? >Yes - as a previous poster mentioned google throttles the lookup speed (or it''s just slow) - I believe it is one a second or so. If you have a background task or something that can do this for you then the user doesn''t suffer while waiting for the map to draw. You can certainly do it on the save of the address record and just have the user wait an additional second. My point was don''t try to do this WHEN you are drawing the map with the markers if you don''t have to. Imagine having 100 markers on the map - you would be waiting at least 100 seconds to get the map to display if you were geocoding at that point in time. If, however, you have those values stored then the map will load much faster. Regards, Michael -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
hey Michael thanks, your advice is very well appreciated! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---