问题
Here's what I have and it shows the markers on the map, but I need the actual marker locations returned by the query. Any ideas? Thanks!
function queryFusionTable(lat, lng, radius) {
var spatialCondition = "ST_INTERSECTS(location, CIRCLE(LATLNG(" + lat + ", " + lng + ")," + radius + ")) ";
layer.setOptions({
query: {
select: 'location',
from: tableid,
where: spatialCondition
},
});
}
来源:https://stackoverflow.com/questions/19957557/how-do-you-return-the-array-of-markers-created-in-google-maps-using-a-fusion-tab