TypeError: Drupal.geolocation.markers[i] is undefined

on delete multivalue field item

 Drupal.geolocation.clearLocation = function(i) {
$('#geolocation-lat-' + i + ' input').attr('value', '');
$('#geolocation-lat-item-' + i + ' .geolocation-lat-item-value').html('');
$('#geolocation-lng-' + i + ' input').attr('value', '');
$('#geolocation-lng-item-' + i + ' .geolocation-lat-item-value').html('');
$('#geolocation-address-' + i + ' input').attr('value', '');
Drupal.geolocation.markers[i].setMap();
} 

Comments

jm.federico’s picture

Hi,

Can you explain how to reproduce the error?

Thanks

derjochenmeyer’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
derjochenmeyer’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)