similar to: info window tabs

Displaying 20 results from an estimated 5000 matches similar to: "info window tabs"

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+
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
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,
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 Mar 09
0
(no subject)
I am trying to use the clusterer as stated in the README ( plugin is running well ...) and I got an error when displaying the map... addDescriptionToMarker is not defined (no name)()22 (line 169) (no name)()ym4r-gm.js (line 67) [Break on this error] map.addOverlay(new GMarker(new GLatLng (47.7377071331,-2.9257965088),{title : "aa... here is the generated script... <script
2007 Mar 04
0
Event listeners
Hello.. I am playing around on a pilot project with this wonderful Rails plugin.... thanks for sharing it w us ! I read in a post , in reply to this subject yjat : Events are possible. Either through the @map.record_init "azeazeae" (for arbitrary events like domlistener) or through the @map.event_init(@map,:click,"function(){alert(''HOYOYO'');}"). The
2008 May 13
0
example of opening info windows in GMarkers
I''m quite enjoying the rapid development using Ym4r! However, I''ve hit a roadblock and would appreciate any pointers. I''ve got a map that has GMarkers on it. When you click on a GMarker a beautiful little window pops up, chock full of information. I also have a set of text links on the bottom of the page where each is associated with a single GMarker. I''d
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
2008 Mar 14
0
problem with rjs and marker group
Lo there all, i have a function that builds a bunch of markers to go on a google map. I would like to update them with rjs. Here is what i have so far. def map_main_layout @zoom = params[:zoom].to_i @zoom = 14 if params[:zoom].nil? @map = GMap.new("map_div") # @map.control_init(:large_map => true, :map_type => true) # (inserts map control) # place
2007 Mar 09
0
Clusterer
trying to use a Clusterer (other capabilities are running well....) I got an error : addDescriptionToMarker is not defined => line 169 my controller.. clusterer = Clusterer.new(@my_markers, :max_visible_markers => 2, :grid_size => 10, :min_markers_per_cluster => 2, :max_lines_per_info_box => 10, :icon => icons[2])
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
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 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
2008 Jan 26
0
Error: no such file to load -- geokit (plugin is install)
Hi, after spending hours on getting geokit and ym4r running I don''t know how to do or how to getting a test running. I have try the tutorial from http://www.railslodge.com/plugins/179-ym4r but I don''t get it :(. Has sone one other tutorials he can recommend? Maybe someone knows were I did my mistake (I only want to show a fixed address, no database connection so far, pure
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?
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.
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
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 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
2009 Jun 01
0
[mapstraction commit] r12 - Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays
Author: duvander Date: Sun May 31 17:34:27 2009 New Revision: 12 Modified: trunk/source/mxn.cloudmade.core.js Log: Implemented most Cloudmade functions. Still requires image, tile and KML/GeoRSS overlays Modified: trunk/source/mxn.cloudmade.core.js ============================================================================== --- trunk/source/mxn.cloudmade.core.js (original) +++