Button not working

646
5
Jump to solution
06-20-2014 10:57 AM
jaykapalczynski
Frequent Contributor
Was missing this

"dojo/on","dojo/_base/connect","dojo/dom",

on, connect, dom,

BUT the map still does not toggle on and off
0 Kudos
1 Solution

Accepted Solutions
TimWitt
Frequent Contributor
Jay,

add "esri/domUtils" and domUtils that worked for me.

Tim

View solution in original post

0 Kudos
5 Replies
TimWitt
Frequent Contributor
Jay,

"dojo/on" in your require and on in your function is missing.

Tim
0 Kudos
jaykapalczynski
Frequent Contributor
oops....edited over my first post

one second
0 Kudos
jaykapalczynski
Frequent Contributor
Just caught that at the end.....

I added that BUT my map does not toggle on and off

http://jsfiddle.net/N9Akx/6/

THANKS
0 Kudos
TimWitt
Frequent Contributor
Jay,

add "esri/domUtils" and domUtils that worked for me.

Tim
0 Kudos
jaykapalczynski
Frequent Contributor
BINGO.....Much appreciated....have a great weekend
0 Kudos