Hi, I would like to know if there is a library that provides an API to support map scrolling, like the one available in google maps. This is, I would like to create a user interface where the user is able to see a small part of a large map. It can then move the view, thus observing another part of the map. Additionally, I would also like to provide a zoom mechanism. Thanks in advance. -- Posted via http://www.ruby-forum.com/.
Why not just use the google maps API? On 6/29/06, Gama Franco <gama.franco@gmail.com> wrote:> > Hi, > > I would like to know if there is a library that provides an API to > support map scrolling, like the one available in google maps. > > This is, I would like to create a user interface where the user is able > to see a small part of a large map. It can then move the view, thus > observing another part of the map. Additionally, I would also like to > provide a zoom mechanism. > > Thanks in advance. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
On Thu Jun 29, 2006 at 12:36:07PM +0000, Jon Gretar Borgthorsson wrote:> Why not just use the google maps API?its a private website. needs to be on multiple pages (so would require multiple API keys even if it was public) and only needs to be the local city (of which we''ve got good data already). plus being ''in hock'' to a proprietary data provider is not in the scope of the project. so basically what is needed is a nice pan''n''scan library with the incremental PNG blocks.. Map-o-Matix sounds good but it requires the Adobe SVG plugin
On Jun 29, 2006, at 10:12 AM, carmen wrote:> On Thu Jun 29, 2006 at 12:36:07PM +0000, Jon Gretar Borgthorsson > wrote: >> Why not just use the google maps API? > > its a private website. needs to be on multiple pages (so would > require multiple API keys even if it was public) and only needs to > be the local city (of which we''ve got good data already). plus > being ''in hock'' to a proprietary data provider is not in the scope > of the project. > > so basically what is needed is a nice pan''n''scan library with the > incremental PNG blocks.. Map-o-Matix sounds good but it requires > the Adobe SVG pluginIn Pragmatic Ajax (http://www.pragmaticprogrammer.com/titles/ajax/), Chapter 2 is "Creating Google Maps" that walks the reader through creating a work-alike to Google''s app. -Rob
Well, I''m building up a lot of experience with AJAX maps lately, so I thought I''d chime in here. I''ve been working with ka-Map (http://ka-map.maptools.org/ and tutorial: http://www.xml.com/pub/a/2005/08/10/ka-map.html) which bolts a javascript google maps-esque API on top of MapServer - an open source GIS mapping server. But, I just stumbled across Open Layers, which I haven''t dug into yet, but looks like it might be even cooler. It''s built on top of Prototype.js, and can display tiles from any data source, not one specific server component: http://www.openlayers.org/ -- Scott Becker Web Developer Electro Interactive, Inc. Office: 813-333-5508 http://www.ElectroInteractive.com
Last post was over half year ago. Is there better techniques, easier ways to do it now? I looked ka-Map!, there are many examples with PHP, but none with ruby. First day with maps. Any suggestion, where should I look, examples, how to do etc? -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
Take a look at YM4R (Yellow Maps for Ruby): http://ym4r.rubyforge.org/ This tutorial shows how to update a map with RJS: http://ym4r.rubyforge.org/tutorial_ym4r_georuby.html Aaron --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Aaron wrote:> Take a look at YM4R (Yellow Maps for Ruby): > > http://ym4r.rubyforge.org/ > > This tutorial shows how to update a map with RJS: > > http://ym4r.rubyforge.org/tutorial_ym4r_georuby.html > > AaronHi Aaron, great tutorial/link :). Do you know how a user could link to an address as center instead of geodata (i.e. Center Park, New York)? -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
> Do you know how a user could link to an address as center instead of > geodata (i.e. Center Park, New York)?Converting an address to latitude and longitude is called "geocoding". The google maps API supports geocode requests and I''m guessing that it''s suported by the YM4R plugin. Aaron --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
Aaron wrote:>> Do you know how a user could link to an address as center instead of >> geodata (i.e. Center Park, New York)? > > Converting an address to latitude and longitude is called > "geocoding". The google maps API supports geocode requests and I''m > guessing that it''s suported by the YM4R plugin. > > AaronHi Aaron, thanks for this information (definition geocoding). So I will check the Api description for more information :). -- 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?hl=en -~----------~----~----~----~------~----~------~--~---
tyler.a.montgomery-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jan-27 17:10 UTC
Re: AJAX Maps
I use GeoKit plugin for all my geocoding/mapping needs: http://geokit.rubyforge.org/ and the creator''s blog (very helpful tutorials and tips) www.earthcode.com On Jan 26, 4:23 pm, Knut Linke <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Aaron wrote: > >> Do you know how a user could link to an address as center instead of > >> geodata (i.e. Center Park, New York)? > > > Converting an address to latitude and longitude is called > > "geocoding". The google maps API supports geocode requests and I''m > > guessing that it''s suported by the YM4R plugin. > > > Aaron > > Hi Aaron, thanks for this information (definition geocoding). So I will > check the Api description for more information :). > -- > Posted viahttp://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?hl=en -~----------~----~----~----~------~----~------~--~---
tyler.a.montgomery-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I use GeoKit plugin for all my geocoding/mapping needs: > http://geokit.rubyforge.org/ > and the creator''s blog (very helpful tutorials and tips) > www.earthcode.com > On Jan 26, 4:23 pm, Knut Linke <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>Hi Tyler, I have also try GeoKit. It seems to very nice, but I didn''t found a possiblity to request address data (I didn''t found such a tutorial). But on the page you mention the have: http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html#more Great! I hope it works! Thank you :) Best, Knut -- 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?hl=en -~----------~----~----~----~------~----~------~--~---