I am having trouble getting Google map marker titles to work. I've pasted in part of the JS below, which has been compared to other examples on here. Everything works but the title. Any ideas?
Thanks...
var getmylatitude = localStorage.getItem('localmylatitude');
var getmylongitude = localStorage.getItem('localmylongitude');
marker = new google.maps.Marker({
position: new google.maps.LatLng(getmylatitude, getmylongitude),
map: map,
title: "My Location",
icon: "http://www.google.com/mapfiles/arrow.png"
});