Tiles fail to render for certain geometries
Opened this issue · 3 comments
I get the following error on tiles that fail:
typeof this._tiles[canvasId] === 'undefined'
I haven't dived too far into the source code, but I suspect there's a race condition here. I think the tile isn't downloaded by the time it tries loading it and as a result, it fails to load the geometry. Any way to ensure the tile is downloaded before a render event happens?
EDIT: To ensure this wasn't a data problem, I used MapBox GL JS with the same tile service and it was able to load the geometry properly for all tiles.
Maybe this undocumented event could help: config.onTilesLoaded : function() {}
Same issue, rendering tiles with this geoserver vector tile plugin that seems to work fine with OL3. I'm not sure if the issue is with the geoserver render plugin or this plugin. Looks like it has something to do with the getIDForLayerFeature function. When that is removed the tiles render fine, of course the click events do not work properly.
Same issue here.