The problem is, that in your table 1881TVJgnC7HbzM0ZCsBfg72MOlpini6F79a9Vko there is no column named location
, only lat
and lon
. In these cases, Google Fusion Tables creates a combined column for those two, where lat
can be used as a placeholder for both:
var layer = new google.maps.FusionTablesLayer({
query: {
select: 'lat',
from: '1881TVJgnC7HbzM0ZCsBfg72MOlpini6F79a9Vko',
where: 'ST_INTERSECTS(lat, CIRCLE(LATLNG(51.728669, 5.254821), 500))'
}
});
layer.setMap(map);
I created a running example on jsFiddle. There you can play around and change the radius using the slider to see how the result changes.