Open aoreinoso opened 5 years ago
$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
it is possible to use something like: Marker (location = [45.5, -122.3], popup = Popup ('Mom & Pop Arrow Shop >>', parse_html = True)) Thank you
$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