Hi,
Found an issue, may be it is only in my context...
I put a meta-box with "geo" in two custom post types.
$meta_boxes['projet'] = array(
'title' => 'Projet',
'id' => 'box_projet',
'pages' => array( 'bbv_conseil', 'bbv_projet' ),
'context' => 'normal',
'priority' => 'low',
'autosave' => false,
'geo' => array(
'types' => array('establishment','geocode'),
'componentRestrictions' => array(
'country' => 'fr'
)
),
It's working for the 1st, not the second post type ( same with geo => true ...) :
mb-geo.js?ver=1.0.0:89 Uncaught TypeError: Cannot read property 'Autocomplete' of undefined
After reading that, i added in map.php line 18
https://maps.google.com/maps/api/js<strong>?libraries=places</strong>
and it works.
It seems
<script type='text/javascript' src='https://maps.googleapis.com/maps/api/js?libraries=places&ver=4.2.2'></script>
is not included in the second post type
nota : ?sensor=false is useless