apneadiving / Google-Maps-for-Rails

Enables easy Google map + overlays creation in Ruby apps
https://apneadiving.github.io/
MIT License
2.26k stars 382 forks source link

Unclear how to use retina images for markers #380

Closed jonathanng closed 10 years ago

jonathanng commented 10 years ago

It's unclear how to use retina image for markers.

jonathanng commented 10 years ago

I'm assuming the only way to do this is to use Rich Markers.

apneadiving commented 10 years ago

No not really, these are additional options, there is documentation here for instance: http://robandlauren.com/2013/05/08/responsive-google-maps/

This is not implemented in the gem but you could use a custom builder, need help on this?

apneadiving commented 10 years ago

I put empty picture args on purpose here: https://github.com/apneadiving/Google-Maps-for-Rails/blob/master/vendor/assets/javascripts/gmaps/google/builders/marker.coffee#L74

would be easily overridable