Hello,
i want to display the open street map from my mapgroup, but it does not work.
<?php
$args = [
'width' => '640px',
'height' => '480px',
];
$group_values = rwmb_meta( 'mapgroup' );
// If group is cloneable
foreach ( $group_values as $group_value ) {
echo RWMB_Map_Field::render_map( $group_value['osmmap'], $args );
}
?>
My Setup ist:
GROUP (ID=mapgroup)
- Search (text)
ID=address
- Map (Open Street Map)
ID=osmmap
Adress field=address
custom settings= geo -> true
If i add that PHP Code i get this and many more issues:
oxygen/component-framework/components/classes/code-block.class.php(128) : eval()'d code on line 9
Does metabox works with php 8.1.x.x ?
best regards