Hi,
i succeeded to use MB Geolocation + OSM but looking in code, i found out that the plugin is still loading google maps scripts, which is totally forbidden in Germany.
Moreover there is a warning in console "Google Maps JavaScript API warning: NoApiKeys..."
is there any workaround for this?
<?php
$metaBoxes[] = [
'title' => __('Address'),
'post_types' => ['company'],
'id' => 'geolocation',
'geo' => true,
'fields' => [
array(
'type' => 'text',
'name' => 'Address',
'id' => 'address'
),
array(
'type' => 'number',
'name' => 'Postcode',
'id' => 'postcode',
'placeholder' => 'Postcode*',
),
array(
'type' => 'text',
'name' => 'house_number',
'id' => 'house_number',
'placeholder' => 'house_number*',
),
[
'name' => 'Map',
'type' => 'osm',
'id' => 'company_data_map',
'language' => 'de-DE',
'region' => 'DE',
'address_field' => 'address',
],
],
];