AJAX Maps

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.

Why not just use the google maps API?

On 6/29/06, Gama F. [email protected] wrote:

Thanks in advance.


Posted via http://www.ruby-forum.com/.


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

On Thu Jun 29, 2006 at 12:36:07PM +0000, Jon Gretar B. 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:

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

In 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 B.
Web D.
Electro Interactive, Inc.
Office: 813-333-5508
http://www.ElectroInteractive.com

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

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

Aaron

Hi 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)?

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

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 :).

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?

[email protected] 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 L. [email protected]

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 :slight_smile:
Best,
Knut

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 L. [email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs