我的代码如下function makeurl(b){return b+"?x="+Math.round(1E5tx)/1E5+"&y="+Math.round(1E5ty)/1E5+"&zoom="+map.getZoom();L.marker([tx,ty], {icon}).addTo(map);}我想加个标注,但是没有显示,也没有错误提示。请教老师。谢谢。
function makeurl(b){ //你在这里就已经returnle return b+"?x="+Math.round(1E5_tx)/1E5+"&y="+Math.round(1E5_ty)/1E5+"&zoom="+map.getZoom(); //函数根本执行不到这里啊 L.marker([tx,ty], {icon}).addTo(map); }