mod_tile 0.9.1
Renders map tiles with Mapnik and serves them using Apache HTTP Server
Loading...
Searching...
No Matches
parameterize_style.hpp File Reference
#include <mapnik/map.hpp>

Go to the source code of this file.

Typedefs

typedef void(*) parameterize_function_ptr(mapnik::Map &m, char *parameter)
 Callback signature for dynamic per-request Mapnik style parameterization.

Functions

parameterize_function_ptr init_parameterization_function (const char *function_name)
 Look up the Mapnik style parameterization callback corresponding to a configuration name.

Typedef Documentation

◆ parameterize_function_ptr

typedef void(*) parameterize_function_ptr(mapnik::Map &m, char *parameter)

Callback signature for dynamic per-request Mapnik style parameterization.

Parameters
mActive mapnik::Map instance to mutate prior to rendering.
parameterNull-terminated style options string received in the tile request.

Function Documentation

◆ init_parameterization_function()

parameterize_function_ptr init_parameterization_function ( const char * function_name)

Look up the Mapnik style parameterization callback corresponding to a configuration name.

Currently supports "language" (parameterize_map_language) and "toggle_layer" (parameterize_map_toggle_layer).

Parameters
function_nameName of the parameterization function from renderd.conf (may be NULL or empty).
Returns
Matching parameterize_function_ptr callback, or NULL if unset or unrecognized.