Michael Modica
2006-Aug-22 15:19 UTC
[Rails] Re: google map plugin(insert name here) vs this
koloa wrote:> Hello Micheal, Thanks for the reply. > > about the api google map key, under what url do i register if i want my > view "show_google_maps" to display a google map? > > localhost:3000/start/show_google_maps > > ive tried about ever variation of the above and I still kept getting the > "key is invalid..." in the link i posted and said just to register under > localhost:3000, but it didnt work. > > > 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? >If you are using localhost then you should not have to do anything assuming you followed the directions/tutorial on the ym4r website. Take special note to the "<%= GMap.header(:with_vml => false) %>" setting that should be in your view/layout. I believe this is the one that sends the key to google for validation. I suggest using the tutorial that has the yahoo traffic in it. It does require the gem to be installed also (simple) but doesn''t require any database changes on your part. If you follow that tutorial exact then you should quicly be able to figure out if it is something you are missing and backtrack from there. Make sure that development key is in your config directory as the tutorial indicates (the development key that comes with ym4r is good for development). 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 -~----------~----~----~----~------~----~------~--~---