As of this commit to OpenLayers, http://drupalcode.org/project/openlayers.git/commit/372c080, changes are required to styling to support custom markers.

As described on the Image Width and Height Formatter project page:

Since OpenLayers module beta 9, the rendering of the fields has changed, it's not using the raw value of the field, but the full row rendering. You must disable all the HTML element by selecting None in the Style setting fieldset of the field in Views.

Specific changes to make the fix:

  • Edit the 'uri' field in the view of location sites to remove all HTML.
  • Change $uri_rendered to $uri in the marker style.

Comments

  • Commit c2e625a on 7.x-1.x by rosemarymann:
    Issue #2254165: Update icon markers styling for OpenLayers 7.x-2.0-beta9...
rosemarymann’s picture

Issue summary: View changes
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.