How do you return the array of markers created in Google Maps using a fusion table query?

送分小仙女□ 提交于 2019-12-13 02:48:10

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!