Download the PHP package jmleroux/geojson2svg without Composer
On this page you can find all versions of the php package jmleroux/geojson2svg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package geojson2svg
GeoJSON to SVG
A simple PHP library to convert geojson file to svg file.
Rewrite from chrishadi/geojson2svg.
Usage
See examples/transform.php
Parameters
Converter options:
- canvasWidth
- canvasHeight
- top - defines top offset from the canvas (0,0) point
- left - defines left offset from the canvas (0,0) point
Feature renderer options:
- strokeWidth.
- fillColor.
- strokeColor.
Text renderer options:
- minXYPixel - minimum width or height of the polygon in pixel for the label to be drawn. If a polygon has width or height less than this value, label won't be drawn over it.
- fontSize - defines the font size for the label.
- lineSpacing - defines the line spacing of the label if it spans multiple lines.
All versions of geojson2svg with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
emcconville/point-reduction-algorithms Version ~1.1
phayes/geophp Version ~1.2
symfony/options-resolver Version @stable
emcconville/point-reduction-algorithms Version ~1.1
phayes/geophp Version ~1.2
symfony/options-resolver Version @stable
The package jmleroux/geojson2svg contains the following files
Loading the files please wait ....