AnsweredAssumed Answered

Updating an esri-leaftlet app

Question asked by joepub on Aug 25, 2015
Latest reply on Aug 26, 2015 by joepub

I'm tring to update an app I created with esri-leaflet and esri-leaflet-related. 

Based on what I've read in the notes on the releases for both esri-leaflet and esri-leaft-related.


I've updated my app to point to the cdn versions of (see below):


leaflet: version 0.7.3

esri-leaflet: version 1.0..0

esri-leatlet-related:  version 1.0.2


<script src="//"></script>

<script src="//"></script>

<script src="//"></script>


but I am getting the following error:


TypeError: a is undefined

Line 20


Note: I'm clicking on a button that triggers following (partial script):



buttonPicked = 'NSM';

buttonType = document.getElementById('NSM');


var query = L.esri.Tasks.query(tableURL).where("type like '" + buttonType.value + "'");

var rquery = L.esri.Tasks.queryRelated(tableURL).relationshipId("0");

query.ids(function(error, ids, response)

{ ......


any ideas as to what's happening would be appreciated



P.S Please let me know if need to  a copy of my script uploaded