- Issue created by @bad.shape.guy
My mistake, I didn't fully understand how the layers with data are displayed in Views.
Issue may close.
- Status changed to Closed: works as designed
over 1 year ago 10:10pm 24 May 2023
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?
Closed: works as designed
3.3
OL Views
My mistake, I didn't fully understand how the layers with data are displayed in Views.
Issue may close.