This topic is locked

Map dimensions

4/11/2024 6:02:10 AM
PHPRunner Tips and Tricks
M
Mauipm author

Hi,
I need to make the dimensions of a map parameterizable (in particular, HEIGHT).
I inserted a map into a list page, then I modified the Customize map settings code to set width and height with values coming from a parameter table, let me say:
$map_width
$map_height

And so:
$mapSettings["width"] = $map_width;
$mapSettings["height"] = $map_height;

But it doesn’t work.
The dimensions of the map remain always the same, with the values setted in the design page, which I cannot set to null or anything else

Any suggestion?
Many Thanks
Mauro