Displaying 20 results from an estimated 2000 matches similar to: "AJAX Maps"
2007 Jul 24
3
geocoding addresses with ym4r google maps
Does anyone know how to geocode addresses using the YM4R Google Map
plug-in?
--
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
2010 Dec 14
5
Build associated model confusion
I''m new to Rails3, and I''m just trying to get one last thing to work
before I call it a night. The situation is the following (please if
the code is horrible, just let me know, still learning):
I want to log a dive. I might have a new location on that dive at
which point I have to create a new Location, and then create the dive.
A dive has_one location. A location has_many
2008 Jan 23
3
Find city, state from supplied ZIP Code
Is there a simple solution available that would allow me to take a ZIP
Code from a user and then populate City and State fields based on that
ZIP?
Any kind of a plugin, for example?
--~--~---------~--~----~------------~-------~--~----~
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
2009 May 04
6
cucumber - when to stub/mock
I''m just curious about this, since my solution involved stubbing a
call to GeoIp.
Is there a good rule of thumb for when you make exceptions to the ''no
stubbing'' philosophy of Cucumber?
My step was: "Given I am accessing the site from Japan," but I can
think of other situations - mostly when interacting with web services,
that I''d probably
2009 Feb 23
2
geokit - using :through to connect models
hello..
i am currently trying to use :through to attach two of my models
together using geokit. for some reason, i am running into a problem:
ArgumentError: Unknown key(s): as
i have two models, one that is geocoded, and one that belongs to that
model. the models look like:
,----[ employer.rb ]
| class Employer < ActiveRecord::Base
| acts_as_mappable
| before_validation_on_create
2007 Jan 18
1
Clusterer generating javascript syntax error
Hi all,
I''m using Ym4r with the Clusterer. The GMaps code in my controller
looks something like this:
# geo is an array of lon/lat points
session[:gmap] = GMap.new(''map_div'')
session[:gmap].control_init(:large_map => true,:map_type => true)
session[:gmap].center_zoom_init([38.134557,-95.537109],4)
markers = Array.new
2011 Sep 19
14
gmaps4rails "acts_as_gmappable" error
Hi all,
I started to see fun of gmaps4rails gem from
https://github.com/apneadiving/Google-Maps-for-Rails.
After everything done. When visited the locahost, i got the following
error.
undefined local variable or method `acts_as_gmappable'' for #<Class:
0x31a9da8>
the error is due to i have line "acts_as_gmappable" in my model.
Anybody knows how this is
2006 Aug 16
3
Easiest way to create a google map mashup?
I wanted to add a mash up to my website and was wondering if there were
any recommendations? I saw that there is a cartographer plugin
(http://cartographer.rubyforge.org/) and also something else called YM4R
(http://wiki.rubyonrails.org/rails/pages/YM4R).
I have no idea if they are up to date or not or whether this is
currently the easiest/best way to go about it short of rolling your own.
2008 Apr 16
4
Doing a radius/location search
The application I''m developing allows people to create events in their local
area; as part of this feature I want to display a list of, say, the five
most recent events within 30 miles of a person''s location.
I have a User model and a Profiles model which contains the user''s location
(city, state, zip code) among other non-related personal information. So
what I would
2008 May 05
2
Geocoding and XMLRPC
Hello people,
I''m implementing a geocoding feature in my web app, a classic feature,
for showing registered user by location.
For this purpose, I''ve inspired myself from the following tutorial :
http://earthcode.com/blog/2006/04/rails_geocoding_and_google_map.html
However, I''m getting this error from Rails :
uninitialized constant SandboxController::XMLRPC
Being a
2005 Dec 14
3
Geocode for Ruby
Hey,
Does anybody know of a good Geocode library for Ruby, similar to Perl''s
Geocode::Postal, that i could use in my rail app? I need to do some "within
5 miles" calculations of zipcodes and i dont have a nice ruby (or gem)
utility to do it.
any help would be appreciated.
thanks
adam
_______________________________________________
Rails mailing list
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
Saludos estimados compañeros:
¿Alguno de ustedes sabe de alguna librería con la que geolocalizar
una calle de una ciudad española?, aunque no cuenten nada más que aquellas
a partir de un umbral de población.
Muchas gracias.
[[alternative HTML version deleted]]
2019 May 15
2
Identificar por coordenadas geográficas una calle de una ciudad
Estimados
Sobre como obtener la geolocalización, aparte de lo aportado por Rubén
Casal, también existe el api de Microsoft, lo que yo descartaría es tomar
una base de datos con geolocalización, teóricamente andarían pero si uno
por casualidad conoce la geografía real, se da cuenta de errores, salvo que
en España los datos estén correctos.
Javier Rubén Marcuzzi
El mié., 15 may. 2019 a las 8:50,
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola.
Tengo algún tipo de problema con las tildes, a la hora de trabajar en R o
en RStudio, que no sé resolver.
Intentando reproducir en dos PCs distintos, ambos con Windows 7, uno de los
últimos ejercicios que ha publicado Carlos Gil Bellosta en su blog (
https://www.datanalytics.com/2016/06/20/6602-767-km-alrededor-de-espana-para-visitar-todas-sus-capitales-de-provincia/),
me ocurre que al
2006 Apr 19
9
geolocation db?
I''m currently planning a social app in Rails that relies on being able to
see how far you are from everyone else.
It''s my intention to store rough geo-coordinates as part of the sign up
process. My intention is to capture their zipcode or postal code, and then
be able to query a webservice once for that data. It''s also possible that
there might be a database or even
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos.
A mí también me resulta raro, porque no me pasa siempre. Es un poco
aleatorio. Imagino que habrá alguna razón, y que el código de la página
estará relacionado, claro, pero no consigo averiguar a qué se debe.
Además las pruebas que hago me dejan todavía más perplejo.
Esto
Encoding(capitales)
me dice que el encoding es "unknow", pero luego esto
validUTF8(capitales)
me
2016 Jun 21
2
Problemas con tildes y otros caracteres en R y RStudio
Hola, Carlos.
Pues, efectivamente, me ha ayudado.
Sobre la utilización de la función geocode con ciudades con tilde, me dio
Carlos Gil Bellosta anteriormente la idea de utilizar iconv para
transformar la cadena de búsqueda a UTF-8, y yo lo utilicé para intentar
transformar el output de html_table sin resultado:
capitales <- read_html("
2012 Oct 23
1
Extracting results from Google Search
Dear list,
I have a long list of towns in Africa and would need to get their
geographical coordinates. The Google query [/TownName Country coordinates/]
works for most of the TownNames I have and give a nicely formatted Google
output (try Ingall Niger coordinates for an example). I would like to launch
a loop on the list of names I have and automatically extract the coordinates
given by Google.
2007 Aug 14
3
diffusing GIS data in maps
Hi-
I am trying to find a way to diffuse GIS data on a European map. I have a
dataset consisting of particular locations scattered across Europe,
along with magnitude and value information. I can plot these as discrete
points with something like the following:
"geocode" is a dataframe with four columns: LAT; LONG; MAGNITUDE;VALUE.
library(maps)
library(mapdata)
2008 Jun 16
1
Fix for IE6 bug in geocoding
Hi,
I was trying to use the geocoding stuff in Mapstraction and found a
bug with IE6. I couldn''t find a way of submitting it on Trac, so here
it is. Change line 110 of mapstraction-geocode.js from:
place = response.Placemark[0];
to:
var place = response.Placemark[0];
Otherwise IE6 doesn''t declare the variable properly and things break
in obscure ways.
Cheers,
Tom