2016-06-19 2 views
-1

コードを実行するためのボタンなしでテキストボックスを生成するため、動作しているexempleをお願いします。コードを実行するボタンを取得する方法は?Leafletjs L.Control.Geocoder.nominatim()、コードを実行するボタン

var geocoder = L.Control.Geocoder.nominatim(); 
 

 
L.Routing.control({ 
 
geocoder: geocoder, 
 
waypoints: [ 
 
    L.latLng(null, "here my current position, data from GPS"), 
 
    L.latLng(null, "here address as string, input from the user") 
 
], 
 
show: false, 
 

 
routeWhileDragging: false, 
 

 
}).addTo(map);

+0

[文字列アドレスに基づいて方向を得るために、文字列アドレスをリーフレットのルーティングマシンに渡す方法は?](http://stackoverflow.com/questions/37062782/how-to-pass-string-address- to-leaflet-routing-machine-to-get-direction-based-on) – IvanSanchez

+0

関連:https://stackoverflow.com/questions/37062782/how-to-pass-string-address-to-leaflet-routing-machine到着方向ベースの – IvanSanchez

答えて

関連する問題