I'm using Fusion tables to populate a Google Map. It works fine on IE11 and Firefox but the markers do not show up in Chrome (latest version). I am getting an error in the console: 'Attr.textContent' is deprecated. Please use 'value' instead.
var geocoder;
var map, layer;
function initialize() {
geocoder = new google.maps.Geocoder();
var styles = [
{
"stylers": [
{ "invert_lightness": true },
{ "saturation": -100 },
{ "gamma": 1 },
{ "lightness": 11 }
]
},{
"featureType": "water",
"stylers": [
{ "lightness": -100 }
]
}];
var mapOptions = {
center: new google.maps.LatLng(lat, lon),
zoom: 6,
mapTypeId: google.maps.MapTypeId.ROADMAP,
styles: styles
};
map = new google.maps.Map(document.getElementById("map-canvas"), mapOptions);
var layer = new google.maps.FusionTablesLayer({
query: {
select: 'latitude',
from: fusiontableid
},
map: map,
styleId: 2,
templateId: 3
});
}
google.maps.event.addDomListener(window, 'load', initialize);
Any work-arounds for this?