views:

10

answers:

0

I'm using Open Layers to display Google Maps. When the map is displayed as a sub-part of the website, as in, 'localhost/geofences/new' , The images are being attempted to be located within the 'geofences' directory instead of loading the images from the document root and hence the images are not being rendered.

Is there a solution? If not a clever Rails solution , any HTML work around for this?

Thanks!