Constructor
ShumateVectorRenderernew
Declaration [src]
ShumateVectorRenderer*
shumate_vector_renderer_new (
ShumateDataSource* data_source,
const char* style_json,
GError** error
)
Parameters
data_source |
ShumateDataSource |
A |
|
| The data is owned by the caller of the function. | |
style_json |
const char* |
A vector style. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | ShumateVectorRenderer |
A newly constructed |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |