Displaying 20 results from an estimated 60000 matches similar to: "Google maps"
2011 Apr 16
0
[announcement] Google Maps + Rails 3 = gmaps4rails
Just FYI I created a gem to easily integrate google maps within
Rails3:
- geocode
- display styled markers, polylines, polygons, destinations...
There is much configuration to fit your needs.
It was presented here: http://rubyshow.com/episodes/157
The source is here: https://github.com/apneadiving/Google-Maps-for-Rails
Wiki is here: https://github.com/apneadiving/Google-Maps-for-Rails/wiki
2010 Nov 08
1
API Google MAPS
Hello everybody,
I''m working with Version 3 of Google Maps JavaScript API, and I have
the next code:
In a layout of my application:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/
libs/jquery/1.4.1/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?
2007 Mar 31
0
Google Maps Integration
Has anybody worked with applications that interface with the Google
Maps API?
If so where did you start?
I''ve got myself a Google Maps Key and I''ve made applications in Rails
previously but I''m keen to get some advice on whether to go with a gem
such as YM4R or just going straight in and trying to control a map
window using JavaScript triggered by Ruby.
Any advice
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
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
2006 Jul 02
11
Google maps api in ruby/rails
I''ve been looking for any modules/tools that are available for using
the google maps api in rails. I found a couple of quick examples, but
not much more. If anyone knows of good sites that cover using google
maps api in rails please post it here:)
Chris
2007 Nov 05
1
marker event listeners
I''d like to add an event listener for dragging markers, but it looks
like YM4R GM (and Mapstraction) doesn''t support this. I need an init like:
marker = new GMarker(...
GEvent.addListener(marker, "dragend", function() { })
but the current setup makes "anonymous" markers - never creates variable
that can be used to access them. Has anyone thought about
2010 Feb 09
0
Using YM4R/GM plugin in rails.
I have installed YM4R/GM plugin. I''m using Rails 2.3.5. After
installing, i could''nt start my application. it shows,
Application error
Rails application failed to start properly.
--
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
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.
2013 Mar 04
2
Model/google maps display
Hi all,
I''m building a ror app and have a model with geo-coordinates would like to
use the info in the model to generate a google map view, does anyone know
what''s the best way to go round this?
is is Google API?, I''ve also seen a gmaps4rails, any comments?
Thank you in advance,
Jax
--
You received this message because you are subscribed to the Google Groups
2010 Sep 08
4
OpenSSL
Hello anyone used OpenSSL before?
Why do we need to pay for expensive SSL certs when there is OpenSSL
which is provided free? Is there a difference?
I''ve got an ecommerce website, and wondering if OpenSSL is enough?
Your thoughts will be appreciated
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2006 Nov 02
2
Update map
Hi!
I''ve just started playing around with the ym4r-plugin and try to update a
map as explained in the README-example...
but nothing happens. I can update normal html.
Heres my baby-code:
class AdminController < ApplicationController
def index
@map = GMap.new("map_div")
@map.control_init(:large_map => true)
@map.center_zoom_init([59.91106, 10.72223],16)
2007 Oct 17
0
GMarkerGroup center_and_zoom_on_markers problem
Hi,
I found the funcitoned mentioned in title (center_and_zoom_on_markers) but
am having troubles getting it working.
I have several markers being added to an array (@gmap_markers = []) in the
following manner:
marker = GMarker.new(latlng, :info_window => infoString, :icon => my_icon)
@gmap_markers << marker
I am then trying to do the following:
group = GMarkerGroup.new(true,
2008 Mar 04
0
question about updating the map
Hey there all.
I have a mapping app that uses ym4r_gm to build with google maps.
The markers i generate use the status of a machine to determine their color.
This way our customers can pull up the map and see a color coded
drawing where their machine is.
So, how would i go about making this to where it could update each
marker every 10 minutes or so. I would like to allow our customers to
leave
2007 Jul 13
0
layers of polylines, events building up on map
Hi all,
Here''s my situation:
I have a little route creation app that lets a user create a route.
I''m using the mapstraction version of ym4r...
here is the workflow:
first page has a map displaying the start point of existing routes.
if they click "new route:
creates a route_object
clears all polylines in case there are any
clears all the markers and adds an onclick
2006 Nov 06
4
Event listeners
Hi!
Your plugin is really great! Thanks.
One more little question.
Is it possible to add event listeners to the maps via your plugin?
greetings
/till
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/ym4r-user/attachments/20061106/6b1c6f4f/attachment.html
2007 Jul 25
1
regarding polylines
hi all, i am experimenting with ym4r mapstraction, i am using yahoo api
, when i tried polylines , its not showing up.. the code is
var map;
window.onload = addCodeToFunction(window.onload,function() {
map = new Mapstraction("map_div","yahoo");
map.setCenterAndZoom(new LatLonPoint(37.3853,-122.0172
),12);map.addSmallControls();
map.addMarkerGroup(new
2007 Oct 16
3
can''t define custom GIcon
Hi,
I am having trouble getting custom GIcons to display. Here is the code in
my controller:
@map = GMap.new("map_div")
@map.control_init(:large_map => true,:map_type => true)
@map.icon_global_init(GIcon.new(:image => "images/APBox-20.png
"),"ap_none")
infoString = "Friendly Name: "+result.friendly_name+
2011 Feb 13
0
Login user UserSession.create for rspec not working
I''ve got a show action for a map object which should return 200 if the
current_user is the maps owner
I have defined a method on my user object "current?" which returns
true or false if that user is the same as the current user
I have model spec set up for that which mocks UserSession.find.user
and that works fine
But for the controller test I want it to be closer to a
2008 Mar 12
0
Marker event listener
Hi All,
how can I implement something like this
http://econym.googlepages.com/example_hoverchange75.htm
with ym4r and rails?
I already have markers and the map working.
regards
Skalla
P.S. Please CC me.