Google Fusion Table Double Click (dblClick)

≯℡__Kan透↙ 提交于 2019-12-11 05:28:16

问题


I am using a Fusion Table to overlay counties on some states. On a single click, I display a popup showing the detail measures for the county. I was asked to drill into more information (drill-through to another report/map) on a dblclick event. I understand that the map fires the dblclick event all the time except when the dblclick is on a marker or an overlay. Now with that long introduction said... can anyone help me get the dblclick

google.maps.event.addListener(ftLayer, 'dblclick', function(e) {
        var url ="http://the_URL";
        window.location.href = url;
});

回答1:


dblclick is not currently enabled on Fusion Tables Layers. Please feel free to open a feature request:

http://code.google.com/p/gmaps-api-issues/issues/list



来源:https://stackoverflow.com/questions/10843783/google-fusion-table-double-click-dblclick

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