Forum: Ruby on Rails GIS Image coordinates / markers?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B0e227ae419295321ca2aff4c27ad99d?d=identicon&s=25 Nic Werner (Guest)
on 2006-01-07 04:01
(Received via mailing list)
Hey everyone,
   Is there Rails support for something like Google Maps, but using my
own images/maps?

  Basically, I'd like to have my own maps/images, be able to drop
markers on them, center on certain attributes etc.


- Nic
F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 Adam Denenberg (Guest)
on 2006-01-07 05:41
(Received via mailing list)
google maps is just javascript so you can drop it in anywhere on your
rails views.

As for custom images i believe this is set in the google API
javascript as follows:

   var icon = new GIcon();
   icon.image =
"http://labs.google.com/ridefinder/images/mm_20_red...
   icon.shadow =
"http://labs.google.com/ridefinder/images/mm_20_sha...
   icon.iconSize = new GSize(12, 20);
   icon.shadowSize = new GSize(22, 20);
   icon.iconAnchor = new GPoint(6, 20);
   icon.infoWindowAnchor = new GPoint(5, 1);

adam
B0e227ae419295321ca2aff4c27ad99d?d=identicon&s=25 Nic Werner (Guest)
on 2006-01-07 06:53
(Received via mailing list)
Thanks, but what I was looking for was something with the interface of
Google Maps, but my *own* maps, like maps of buildings, or more
detailed areas.


On 1/6/06, Adam Denenberg <straightflush@gmail.com> wrote:
>    icon.shadowSize = new GSize(22, 20);
> >   Basically, I'd like to have my own maps/images, be able to drop
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
- Nic
0091f92762685860109bbcb02edfdf27?d=identicon&s=25 Alain Ravet (Guest)
on 2006-01-07 11:29
(Received via mailing list)
Nic
    > Thanks, but what I was looking for was something with the
interface of
    > Google Maps, but my *own* maps, like maps of buildings, or more
    > detailed areas.


There is code that does exactly that in "Pragmatic Ajax' (1).
Even better, what you're looking for is freely available :
       http://media.pragprog.com/titles/ajax/ajaxian_maps.pdf

Alain



[1] : pdf, 20$
          http://www.pragmaticprogrammer.com/titles/ajax/index.html
B0e227ae419295321ca2aff4c27ad99d?d=identicon&s=25 Nic Werner (Guest)
on 2006-01-07 18:00
(Received via mailing list)
This is too good to be true, thanks!

On 1/7/06, Alain Ravet <arav2132@biz.tiscali.be> wrote:
> Alain
>
--
- Nic
This topic is locked and can not be replied to.