bertin icon indicating copy to clipboard operation
bertin copied to clipboard

A package to draw maps in javascript

Results 21 bertin issues
Sort by recently updated
recently updated
newest added

Example4 script reference to ../dist/index.min.js

PROJ4 & EPSG projections do not work well when making a map containing an "outline" layer

bug

in https://github.com/neocarto/bertin/blob/main/src/layers/tiles.js the 'style' parameter only supports string type, and not user extendable. for a custom style/url, please consider support Object parameter like ``` { name: "openstreetmap", provider: "OpenStreetMap contributors",...

enhancement

for type: "scalebar", add fill parameter which manage the color of the text and the line

enhancement

Rename the modalities of a categorical variable to be displayed in the legend. I tried leg_text parameter, without success...

enhancement

### Ideas + being able to style a map outside of bertin.js with a simple style sheet in css + apply the same style to several maps generated with bertin.js...

enhancement

Tooltips doesn’t work in Firefox 97.0.1 on macos. See https://talk.observablehq.com/t/tooltips-in-bertin-js/6278/7

bug

Add font-family property for each texts (i.e header, footer, legends, ...). See layer-labels. + improve the number of font. For now Pacifico, Roboto, Rubik, Ubuntu (see defs in draw.js)

enhancement

With [Number.prototype.toLocaleString()](https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString), tooltip could render more readable number. By default, it could be the browser locale, with an option to choose a specific one. A more refined option could be...

enhancement

Update the documentation (=> [email protected])

documentation