// Update the radius when the user makes a selection.
google.maps.event.addDomListener(document.getElementById('radius'),
'change', function() {
var meters = parseInt(this.value, 10);
layer.setOptions({
query: {
select: locationColumn,
from: tableId,
where: 'ST_INTERSECTS(Latitude, ' +
'CIRCLE(LATLNG(53.337638, -6.266971), ' + meters + '))'
}
});
circle.setRadius(meters);
//alert(position);
//circle.setCenter(new google.maps.LatLng(position));
});
I는 varible '위치'로 (-6.266971, 53.337638)를 변경하는 경우, 다음 위치 (X, Y)와 동일한 값 유형이 있지만 작동하지 않고 ('ST_INTERSECTS 위도, '+ 'CIRCLE (LATLNG ('+ position +'), '+ meters +')) ' 어떻게 코드를 수정할 수 있습니까?어떻게하면 JavaScript 코드를 변경할 수 있습니까?