Pass noWrap:true for Leaflet Views map options

Created on 25 August 2023, about 1 year ago
Updated 26 August 2023, about 1 year ago

Problem/Motivation

When creating a map page or block using Views, there is no option to pass parameters such as noWrap, bounds or worldCopyJump.

Steps to reproduce

The default Leaflet map created by Views (using tile layer OSM Mapnik) does not allow use of map options for wrap, bounds or worldCopyJump.

I am running Drupal 10.1.2 with Olivero. No other css or theming applied.

Proposed resolution

Is it possible to add an option like the Features box for those parameters?
There may be a solution related to other issues for wrapping markers, but I was unable to find one that worked easily with Views.

Remaining tasks

User interface changes

API changes

Data model changes

💬 Support request
Status

Fixed

Version

10.1

Component

Code

Created by

🇺🇸United States daveonaka

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024