0.0.1 • Published 8 years ago
charto-render v0.0.1
charto-render
This is a renderer for geographic data.
Currently it only supports rendering on a canvas, useful with charto-leaflet or OpenLayers.
Contains the CanvasRenderer class with a render method taking the following parameters:
- Target canvas, a HTML
canvaselement. - Features to render, a
LayerFeaturesobject as returned from theLayer.getLayerFeaturesmethod defined incharto-model. - Bounding box, an instance of
BBoxdefined incharto-model. - Canvas tile width in pixels.
- Canvas tile height in pixels.
- Map zoom level (optional).
License
Copyright (c) 2017 BusFaster Ltd
0.0.1
8 years ago