Map should be map function showRoute(results, messages) { var features = results[0].value.features; for(var i = 0;i < features.length;i++) { var graphic = features; graphic.setSymbol(routeSymbols); map.graphics.add(graphic); } }
function showRoute(results, messages) { var features = results[0].value.features; for(var i = 0;i < features.length;i++) { var graphic = features; graphic.setSymbol(routeSymbols); map.graphics.add(graphic); } }
thank you very much!but I try it,I am sorry it is does not work.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.