[API-users] How to simple distribution maps
maurobio at gmail.com
Sat Jul 29 13:16:22 UTC 2023
The html code below works in a browser:
<img style="background-image: url(
I am using it as the basis for my "poor man's" solution for displaying
distribution maps as static images outside a browser (ie., on a tailored
desktop application). The trick is to grab both images and combine them
With warmest regards,
Em sáb., 29 de jul. de 2023 às 05:12, Matthew Blissett via API-users <
api-users at lists.gbif.org> escreveu:
> Dear Mauro,
> I'm afraid this isn't possible in a single API call. You need two calls,
> one for the land/sea basemap, and another for the occurrences:
> This can be done in static HTML but it requires an inline CSS property:
> <img style="background-image: url(https://email@example.com?style=gbif-classic);" src="https://firstname.lastname@example.org?taxonKey=2974832" >
> I hope that helps,
> On 28/07/2023 22:07, Mauro Cavalcanti via API-users wrote:
> Dear ALL,
> I have already spent some hours now attempting to generate simple
> distribution maps using the GBIF maps API (
> I have seen the base map examples (https://tile.gbif.org/ui/) and the
> raster style demos (https://api.gbif.org/v2/map/demo.html), but could not
> understand how I could get just a simple distribution map, overlaid on a
> base map in Mercator projection and 'classic' GBIF style, as a PNG (or
> etc.). Is this possible?
> Thanks in advance!
> With warmest regards,
> Dr. Mauro J. Cavalcanti
> E-mail: maurobio at gmail.com
> Web: https://github.com/maurobio
> "Life is complex. It consists of real and imaginary parts."
> API-users mailing listAPI-users at lists.gbif.orghttps://lists.gbif.org/mailman/listinfo/api-users
> API-users mailing list
> API-users at lists.gbif.org
Dr. Mauro J. Cavalcanti
E-mail: maurobio at gmail.com
"Life is complex. It consists of real and imaginary parts."
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the API-users