Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to put fractionalzoom in place but I'm going round in circles. It seems that you can only use fractionalzoom on a non tiled map server, but the Drupal Openlayers module seem to allow only tiled map servers to be base layers...
Am I missing something?
Jun.
Comments
Comment #1
tmcw CreditAttribution: tmcw commentedYeah... it's true, there's no current support for fractional-zoomed layers. I assume you have a WMS server that you're set to work with? From how the OpenLayers.org example works, it looks like this could be implemented either as a setting on presets or as a behavior, but it would need a lot of scare documentation to prevent people from expecting this to work with anything besides WMS.
Comment #2
jun CreditAttribution: jun commentedYes I have a Mapnik server, but I can't seem to be able to set a WMS layer as a base layer, is this an openlayer restriction or my server that is not well configured?
(thanks for the quick reply and the wonderful module).
Jun.
Comment #3
zzolo CreditAttribution: zzolo commentedHi @jun, what do you mean by "can't seem to be able to set a WMS layer as a base layer"?
* You don't see the Base Layer option on the layer form or
* it is not showing up as a Base Layer in the preset form, or
* it does not show up as a Base Layer on the actual map or
* something else?
Comment #4
zzolo CreditAttribution: zzolo commentedFor the base layer issue, this should be fixed in 2.x-dev: #862690: Layer marked as 'base layer' does show up in preset as 'overlay'
Otherwise, changing ticket to feature request.
Reference: http://dev.openlayers.org/releases/OpenLayers-2.9.1/examples/fractional-...
Also note, that this seems to be a map level option.
Comment #5
tmcw CreditAttribution: tmcw commentedPatches accepted; otherwise, fractional zoom layers are so few and far between, and require so much support for near-dead-end things like single-tile WMS layers, that it doesn't make sense for maintainers to invest time here.