Displaying 20 results from an estimated 700 matches similar to: "Escaping colons in YAML"
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
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)
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.
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
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+
2008 Mar 15
3
problem with config file
Hey there all
if i have this in my gmap_api_key.yml file,
production:
ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQXfahRKLczKzlJSy9lXc0oaHHYcxTFTjWleXY7LH-N3IAp9ruoqiU43w
everything works fine but if i have this .....
production:
texaspivot.com:
ABQIAAAASPzYuwhUCPD9Vz98LPOPDhQXfahRKLczKzlJSy9lXc0oaHHYcxTFTjWleXY7LH-N3IAp9ruoqiU43w
i get this
ActionView::TemplateError (texaspivot.com) on line #1 of
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
2006 Jun 29
11
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.
--
2007 Mar 09
1
error in clusterer.js (need patch)
there is an error line 348 Clusterer.popUp( poppedUpCluster )
Clusterer.rePop = function ( clusterer ){
if ( clusterer.poppedUpCluster != null )
Clusterer.popUp( poppedUpCluster );
};
should be
Clusterer.rePop = function ( clusterer ){
if ( clusterer.poppedUpCluster != null )
Clusterer.popUp( clusterer.poppedUpCluster );
};
-------------- next part --------------
An HTML
2006 Jul 25
1
Blank map?
Hey all,
I''m a little frustrated here. The controls for the Google Map show up,
but the map itself seems to either never appear or to briefly flicker
onto screen, then to disappear.
My controller is simply this:
@map = GMap.new("map_div")
@map.control_init(:large_map => true, :map_type => true)
@map.center_zoom_init([0, 0], 6)
and my view is this:
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
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 Mar 08
1
map not displayed after Ajax.updater request
In my layout header I inserted the standard helper : GMap.header
I built the map in my controller , I build either a standard table
or a map and display it in the corresponding partial
the map is built without any problem with the icons and markers
( @map is correct...)
@map = GMap.new("map_div")
...
@map.icon_global_init(GIcon.new(:image =>
2007 Mar 10
1
clusterer - click infowindow
Clicking on the icon of a clusterer opens an infowindow with a list
of markers , ech one has an icon and a description...
Is it possible to click on the marker icon (how to change its
image ?) to zoom directly to that marker ? or should I write a link
in the description
yhanks for your help
Note :additional question : what is the origin of the error message :
'' too many
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
2008 Feb 29
1
Using ym4r/mapstraction''s cluster.js with RJS
Hey all,
This is a little OT but ...
I''m trying to use this the YM4R/mapstraction clusterer with RJS but
having a hard time, I can create a working cluster when i initiate it in
a controller, but not from RJS.
For the proper flow in my app it would be very helpful to be able to do
it from RJS.
Thanks for the help,
Chuck
--
*Chuck Fletcher*
Email: chuck at chuckfletcher.com
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
2012 Nov 28
0
str(..., strict.width="wrap") changes alignment of colons
Hi,
This was surprising to me and does not appear to be documented in
?str. After reading ?strwrap, I see that the problem is that
"Whitespace ... in the input is destroyed". However, I thought I'd
mention it because I'm not sure it is intended behavior for str().
I have a list, and the names of the list have a variable number of characters.
> x <- list(A=1:10,
2008 Feb 07
0
DO NOT REPLY [Bug 2938] Escape Colons in Filenames
https://bugzilla.samba.org/show_bug.cgi?id=2938
------- Comment #4 from matt@mattmccutchen.net 2008-02-06 21:24 CST -------
The transliterate patch provides a way to delete the offending colons or
replace them with another character:
http://rsync.samba.org/ftp/rsync/patches/transliterate.diff
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are
2001 Nov 28
1
Sharing files/directories with colons in name
Hail SAMBA folks,
I'm having a little difficulty trying to share files and directories that
contain a colon in the filename. With a fairly simple configuration,
everything works as expected sans the colon problem.
On the client end (in my case, Windows 2000 SP2) I get somewhat
unpredictable behaviour. In every case the file (or directory) name gets
mangled in an unfriendly way. For