Hello, it run well the 'marker_icon' ? I have errors when I display the map.
But if I comment the field / the line it run well the display map:
$args_osm = array(
'width' => '100%',
'height' => '400px',
'zoom' => 14,
'marker' => true,
//'marker_icon' => 'https://img.icons8.com/ios/50/000000/link-filled.png', // for example
'marker_title' => 'Click meeee',
'info_window' => '<h3>HOLA</h3><p>Content</p>.',
'js_options' => array(
//'doubleClickZoom' => false,
//'attribution' => 'asasdffsfasfdss',
),
);
// https://docs.metabox.io/fields/osm/
$osm_mapa = rwmb_meta( 'osm_mapa', $args_osm );
In the plugin:
plugins/meta-box/inc/fields/osm.php
I see that not exist the marker_icon.
$args = wp_parse_args(
$args,
array(
'latitude' => $latitude,
'longitude' => $longitude,
'width' => '100%',
'height' => '480px',
'marker' => true, // Display marker?
'marker_title' => '', // Marker title, when hover.
'info_window' => '', // Content of info window (when click on marker). HTML allowed.
'js_options' => array(),
)
);
It's is ok this code?
Thanks,
Sergio