Hello and thanks for your help.

I think the problem might be that I'm defining the markers in a model in 
Rails and it automaticly wraps the numbers for width and height with 
quotes.  I can't seem to be able to go around that.

My page is for a client behind a firewall so I can't provide a link.  Here 
is an example of map creation and some markers within the html:

function gmaps4rails_init() {        Gmaps4Rails.map_options.auto_adjust = 
false;      Gmaps4Rails.map_options.zoom = 6;      
Gmaps4Rails.map_options.center_latitude = 65;      
Gmaps4Rails.map_options.center_longitude = -19;      Gmaps4Rails.initialize();  
    Gmaps4Rails.markers = [{"description": "removed", "title": "xxx", "lng": 
"-23.48224639892578", "lat": "65.76090240478516", "width": "32", "height": 
"37", "picture": "/images/unknown.png", "loc_id": "7", "data2": "xxx"},      
{"description": "removed", "title": "xxxx", "lng": "-19.567293167114258", 
"lat": "65.59142303466797", "width": "32", "height": "37", "picture": 
"/images/unknown.png", "loc_id": "8", "data2": "xxxx"},      .....

Also I tried to provide optimized=false but I read somewhere that it's not 
working.

Johann



On Monday, April 2, 2012 2:45:47 PM UTC, Andrew Leach wrote:
>
> On 2 April 2012 14:27, gugguson  wrote:
> > Hello Ryan.
> >
> > I'm also using the Rails plugin and have exactly the same problem with
> > custom markers being cutoff.
>
> There's also this:
>
> http://stackoverflow.com/questions/9934979/custom-icons-on-google-map-not-drawing-correctly/
>
> ...but so far, no-one has seen fit to include a link. Can't debug 
> screenshots.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/faas5tGhEXoJ.
To post to this group, send email to google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to