I installed the module(s) according to the steps that are documented. Everything works fine, except for one thing: the markers are not showing on the map.

In Chrome (v 21.0.1180.79) there seems to be the icon of a broken image, in Firefox (15.0) nothing is visible.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

knalstaaf’s picture

Title: Markers are not showing » Markers are not showing because of i18n (broken image url)

I noticed that the current path of the marker is domain.com/nl/sites/all/modules/openlayers/themes/default_dark/img/marker-red.png.

Apparently the i18n module is throwing a language variable in the image url.

knalstaaf’s picture

Category: support » bug

I could manually fix it by going to structure » openlayers » styles.

There I clicked the "Clone" (as there is no "Edit" link) link next to the red marker. I saw the path was editable over there and removed the nl/ that slipped in.

knalstaaf’s picture

Project: OpenLayers Locator » Openlayers
Issue summary: View changes

link

pixelsweatshop’s picture

Version: 7.x-1.x-dev » 7.x-2.0-beta1

The Red marker style preset is provided by the OpenLayers module, not the OpenLayers Locator module. Moving the issue to the correct queue.

B-Prod’s picture

Title: Markers are not showing because of i18n (broken image url) » Markers are not showing on multiligual sites that use language prefix
Status: Active » Fixed
FileSize
573 bytes

This has been fixed in the DEV version.
Awaiting the next release, please find attached a patch against 7.x-2.0-beta1 (today current) release.

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

remove link

basvredeling’s picture

Issue summary: View changes

Issue was back in an old feature exported layer style. Fixed it by adding a / at the beginning of the path.