Closed jonathanng closed 10 years ago
1) replace picture: image_path('sprite/w24_location_shadow.png'),
with url: picture: image_path('sprite/w24_location_shadow.png'),
2) you have full access to the objects created by google. Example:
handler.getMap().setZoom( )
3) rich marker is a container with content, so you have to provide content, I put this in the infowindow
property of the markers but you can put this anywhere.
4) thanks, but please feel free to suggest doc changes
Several things:
1) After looking at the marker.coffee file, I'm still not sure how to add a shadow.
My code looks like this:
The picture works fine. Shadows are not appearing. Do I need to add a special javascript file like RichMarker?
2) I have no idea how to set the zoom. Looking at map.coffee, it appears that I can just add a zoom parameter to the provider option, but that doesn't work.
I think it has something to do with
3) Rich Marker is not working. Or at least the sample in the wiki
Why is @args.infowindow in the section for Rich Marker?
I think the gem is great. Was a huge fan of the previous version. I know this version is brand new. I think maybe even a sample rails app would be extremely useful. Thanks!