I've got a custom module layer which has been adapted from the openlayers_solr module (as that module currently doesn't work). I've got as far as being able to debug the to the render function and I'm seeing features being correctly set but for some reason I'm not seeing them appear on the map. This layer class extends the openlayers_layer_type_raw layer type and uses it's render function, I've tried adding debug into the openlayers_layer_type_raw js file but it seems like it's not getting run.

I feel like I'm missing something very small, but I can't figure out what. Attached is my version of the module, it's very important for my project to get openlayers + solr integration so any help would be greatly appreciated!

Probably worth noting, I'm using Openlayers 7.x-2.0-beta1+46-dev and the apachesolr_panels module to create a panel page with the map + search field on it.

openlayers_solr.zip5.82 KBacbramley
Members fund testing for the Drupal project. Drupal Association Learn more


acbramley’s picture

Title: Custom module layer not being drawn on the map » Custom module layer not displaying on the map
Category: support » bug

Changing to a bug report, really can't figure out what's going wrong here and desperately need help as we are running an old version of openlayers which causes Google's Map data popup to display.

acbramley’s picture

Status: Active » Closed (duplicate)