similar to: can''t define custom GIcon

Displaying 20 results from an estimated 100 matches similar to: "can''t define custom GIcon"

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 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,
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
2014 Oct 16
2
RCharts+Leaflet+Shiny
Daniel, muchas gracias por contestar y tan rápido. Pues puede ser la solución, he hecho el cambio y sigue sin pintarme los puntos -> data_ <- toJSONArray(data_, json = F) map$geoJson( # leafletR::toGeoJSON(data_, # # lat.lon = c('Lat', 'Long'), # dest=output_geofile), data_, onEachFeature =
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
2014 Oct 15
2
RCharts+Leaflet+Shiny
Hola, Ando un poco desesperado con los mapas interactivos de Rcharts <https://github.com/ramnathv/rCharts>+Leaflet. Estoy intentando pintar en un mapa las cámaras de tráfico de madrid, y las estaciones de calidad del aire, simplemente donde están, es decir, aun no estoy recogiendo los datos de medida. Proyecto -> https://github.com/ADIRSE/maddata He conseguido pintar ambos, con
2012 Mar 10
6
Cartographer shows correct info box BUT over wrong marker
Hi guys (and gals), The code formatting is so nice on SO.com, so I thought I''d just share my post in hopes that someone from the group can help. http://stackoverflow.com/questions/9643786/cartographer-shows-correct-info-box-but-over-wrong-marker Feel free to answer back via email if you don''t have an SO account. Thanks! Abram -- You received this message because you are
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 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 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 Nov 12
0
info window tabs
Hi, I am having some trouble getting the :info_window_tabs option working, and was wondering if anybody else has used this. I am trying this: marker = GMarker.new(latlng, :info_window_tabs => {title => infoString}) The API says that you should pass a hash, so this is what I am trying. Is there something that I''m missing here? It seems like it should be pretty straightforward.
2006 Nov 04
6
image_tag keeping add ???? after the url it generates
hi, all, I have a problem with image_tag, the url it generates keeps adding ???? at the tail. e.g. src="/images/gicon.jpg?1153577588??????????" src="/images/gicon.jpg?1153577588?????????????????" I''ve checked the source code of image_tag, and couldn''t find any solution. The ???? is appended to the "source" parameter before it goes to the real
2006 Jan 07
4
GIS Image coordinates / markers?
Hey everyone, Is there Rails support for something like Google Maps, but using my own images/maps? Basically, I''d like to have my own maps/images, be able to drop markers on them, center on certain attributes etc. - Nic
2008 Mar 03
0
Routing through LatLng points and other stuff
Hi to all! Well, I''ve been trying to find a solution to route using known LatLng points - I already have the location position, all I needed was the actual route, so I''ve put together an addition to the "mapstraction-route.js". I''ve listed it below, so maybe it would not be a bad idea to merge it to the trunk... Also, I have a few other questions regarding
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?
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 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
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. --
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 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