AnsweredAssumed Answered

new Navigation object throwing error

Question asked by ngalford on Aug 11, 2013
Latest reply on Aug 12, 2013 by vinaybansal
whenever I'm instantiating a new Navigation object I'm getting an error:
Cannot read property 'query' of null 


upon inspection of the objects everything looks correct but it fails every time.  Has anyone else experienced this?

I'm using ArcGIS js version 3.6

Here's my instantiation call:
require(['esri/map', 'esri/layers/ArcGISTiledMapServiceLayer', 'esri/layers/ArcGISDynamicMapServiceLayer', 'esri/symbols/PictureMarkerSymbol', 'esri/renderers/SimpleRenderer', 'esri/toolbars/navigation', 'esri/dijit/Scalebar'], function(Map, ArcGISTiledMapServiceLayer, Navigation, Scalebar) {       nsmap.map = new Map(mapID, {         basemap: 'gray', //valid options: "streets" , "satellite" , "hybrid", "topo", "gray", "osm"         center: [-84.858, 37.388],         zoom: initLevel,         lods: lod,         slider: false       });        nsmap.nav = new Navigation(nsmap.map);      });


Thanks

Outcomes