[API-users] How to simple distribution maps

Matthew Blissett mblissett at gbif.org
Sat Jul 29 08:12:13 UTC 2023

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: 

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 
> (https://www.gbif.org/developer/maps).
> 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 JPEG) image, *with a single API call* (that is, 
> without css, javascript, 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 list
> API-users at lists.gbif.org
> https://lists.gbif.org/mailman/listinfo/api-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gbif.org/pipermail/api-users/attachments/20230729/e5cea070/attachment.html>

More information about the API-users mailing list