AnsweredAssumed Answered

How to add esri leaflet related tables results to map

Question asked by joepub on Oct 28, 2014
Latest reply on Nov 3, 2014 by joepub
Branched from an earlier discussion

Robert,

I did get the updated plugin from  github!! and thankr for showing me how to get the countries based on the button clicked on.  I have been playing with it so I can understand what you did.

 

The next question I have is: How do I add the results of rquery.run(error, response,raw ) to my map (i,e display the countries to my map).

 

Do I wrap the queries like so:

countries = new L.esri.featureLayer(featureURL,

{

     query statements and execution goes here

}.addTo(map)

See the file relatedtab3.html attached to the original post

 

Thanks

Outcomes