$scope.markers[nombre] = {
lat: latitud,
lng: longitud,
draggable: false
};
it works with:
nombre = 'BB Hotel Granada'
if nombre = 'B&B Hotel Granada' I need nombre = nombre.replace(/&/g, "&"); so
it works with:
nombre = 'B&B Hotel Granada'
But i nombre = 'BB Hotel. Granada' doesn't work
if there is a dot in name doesn't work
Thanks in advance