Motivation
The map tiles currently used are served by a quick implementation that works well with Mapbox, but not so well with OpenLayers. The reason is that it doesn't do any tile buffering and OpenLayers need that to show the points nicely (whereas MapBox can handle it and will draw on adjacent tiles if needed).
As we want to leave mapbox and use openlayers (because they support projections), then we need to either update the Node tileserver or start using the Java one which powers GBIF.org adhoc search.
So far using the Java one hasn't been an option because we need search by predicates, but that features has recently been implemented.
Changes needed
To change this we need to use the new map endpoint. To do so we need to register a predicate first and then query the tiles.
Changes needed are:
Register predicates first.
Find a way to handle unknown errors (in case the tile server is restarted and forgets my predicate which only lives in memory)
copy or implement an endpoint that tells us what the binning thresholds are so that click events can use the same geohash size for querying. (when clicking a feature we query for occurrences at that position, but that query relies on us knowing the geohash bin size).
Status
The backend API for registering predicates and for serving tiles are created. There is no API for exposing bin sizes per zoom level.
Some of the UI work has been started in a branch (v2maps), but isn't completed.
Motivation The map tiles currently used are served by a quick implementation that works well with Mapbox, but not so well with OpenLayers. The reason is that it doesn't do any tile buffering and OpenLayers need that to show the points nicely (whereas MapBox can handle it and will draw on adjacent tiles if needed).
As we want to leave mapbox and use openlayers (because they support projections), then we need to either update the Node tileserver or start using the Java one which powers GBIF.org adhoc search.
So far using the Java one hasn't been an option because we need search by predicates, but that features has recently been implemented.
Changes needed To change this we need to use the new map endpoint. To do so we need to register a predicate first and then query the tiles. Changes needed are:
Status The backend API for registering predicates and for serving tiles are created. There is no API for exposing bin sizes per zoom level.
Some of the UI work has been started in a branch (v2maps), but isn't completed.