ha, in this era of globalization, web slang isn't American anymore ;)

I didn't have much time today to answer your question, but I would suggest
to use googlemap API and JS to create a custom map and add the different
locations easily.

http://code.google.com/apis/maps/documentation/overlays.html

Store your locations in your db and generate a js template that you can
cache (use a timestamped filename to avoid browser caching issues).

Rails would let you define your JS in your view but load it in the header.
Use <%= :yield :javascript %>  in your application.html.erb layout.  Then in
your view do something like:
<% content_for :javascript do %>
  <script type="text/javascript"> do your js stuff here and it will be
loaded in the header</script>
<% end %>

Good luck,

-Matt

On Thu, Jul 17, 2008 at 9:47 PM, Scott Olmsted <[EMAIL PROTECTED]> wrote:

>
> I learn more American expressions from Matt, the Frenchman, than anyone
> else....
>
>
>
> At 06:17 PM 7/17/2008, you wrote:
>
> googlemap FTW!
>
> -matt
>
> On Thu, Jul 17, 2008 at 5:02 PM, Scott Olmsted <[EMAIL PROTECTED]> wrote:
>
>
> My client would like a map of Southern California on his site that shows a
> potential customer which franchise office they should call. The customer
> clicks on the map or moves their mouse over it and the proper information is
> displayed.
>
> The obvious way to do this is with Flash. Any others? Perhaps it could be
> done with one of the javascript libraries?
>
> Thanks in advance for ideas.
>
> Scott
>
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby
-~----------~----~----~----~------~----~------~--~---

Reply via email to