Thanks for this fantastic module. I've got it working pretty well, but I'm missing one common feature of maps (particularly maps of the ancient world--my field). I need to be able to place text labels on the map that are always visible (as long as the layer is displayed), i.e. are not popups or tooltips but appear as a flat label on the map. Is there any way to do this? I haven't been able to find any tutorials for it online, and it doesn't seem to be in the documentation.

Thanks.

Comments

tmcw’s picture

You'll need to make points (probably individually as nodes, rather than via OpenLayers CCK) and set the text label property of the style you use on the map. You can use the same interface to set points to not display an actual point, so that it's just a label.

Note: OpenLayers doesn't do strong point-positioning logic: labels won't behave as well as rendered labels do. If your data is relatively static and you want things to be fast in old browsers, you'll probably need to render a layer with TileCache, TileLite, etc.

zzolo’s picture

Status: Active » Closed (works as designed)

This is available in the styles UI.