Hi there,

By now I'm desperate for some pointers. I'm really interested in OpenLayers for Drupal, but I can't get it to work properly and configuring it is proving to be strenuous. I've been at it for days, literally. I can create layers, maps, even views displaying OpenLayers maps, but once I create a custom content type, I can't get any map to show in a simple content page. Obviously I'm doing something wrong, because it's possible for me to create a view in which the map is displayed for all to see.

I created a demo page on a view on http://www.bureaudigitaalerfgoed.nl/oegstgeestview (which by the way has issues I don't understand), but it doesn't display a title or a body text, despite the fact I supplied these fields (wrongly & clueless, I suppose) in the view page section. For those interested: it is an archaeological research map in EPSG 28992 plotted on OSM.

I followed several tutorials but they all include some sort of geofield or other geographic input type that I don't want to use right now. I installed the geofield module (because everyone tells me so :) but I'd like to start with the basics, to just display a OL Map on a page with some basic info fields but haven't been able to find a simple instruction showing you how to display just a OpenStreetMaps map, a title and a body text in a simple page. Do I actually need a view with a OpenLayers data overlay? If so, what is the absolute minimum of input to supply? How do I embed such a view on a page or am I thinking about it in the wrong way?

I'm happy to supply any info with the issue, but since I can't make heads or tails of the inner workings of the views configuration, I don't know where to begin.

Many thanks in advance!

Comments

ekes’s picture

Status: Active » Postponed (maintainer needs more info)

If I have this correct.

You are displaying a map with two layers - osm base layer and an overlay imported from a EPSG 28992 datafile. There is no data, from views itself, so views only needs to be used to show this map on a page with no additional data.

I assume the additional textual information is in the EPSG 28992 data? How have you added the data to the map? I assume it's exported into JSON or via WML or...?

Either way I think if you want to be displaying that information without putting it into Drupal itself, it will be for Openlayers to display from the layer you are overlaying. It's not going to do that without additional javascript as I understand it. It's not something the module provides.

basvredeling’s picture

Status: Postponed (maintainer needs more info) » Closed (outdated)

Cleaning up the issue queue for #2670484: Stable 7.x-2.0 release.