Uncaught TypeError: u.getTileGridForProjection is not a function when display map by Views

Created on 17 May 2023, over 1 year ago
Updated 24 May 2023, over 1 year ago

Good day,
I create custom MAP, LAYER and SOURCE to display maps with tiles placed locally

E.g. in SOURCE I use openlayers.Source:XYZ and type my url: https://selfhostedmaps.com/{z}/{x}/{y}.png
In LAYER use openlayers:Layer:Tile
And in MAP I use SOURCE and LAYER described above

This combination works fine, the map is displayed. The created layer and maps works fine both when creating a node using the Geofield field and when displaying the field
But when I try to create Views of a page with the Openlayers type, and select the map I created

I get an error in the browser console: Uncaught TypeError: u.getTileGridForProjection is not a function
At the same time, all the buttons of the openlayers interface are displayed, but neither the map nor the data from the GeoField field are displayed

As if he doesn't like something about tiles. What could be the problem?

🐛 Bug report
Status

Closed: works as designed

Version

3.3

Component

OL Views

Created by

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

Comments & Activities

Production build 0.71.5 2024