I took the code from example altered to use my map service, I am missing something because I can't get mouse move to fire.
var map, dialog;
"esri/map", "esri/layers/FeatureLayer",
"esri/symbols/SimpleFillSymbol", "esri/symbols/SimpleLineSymbol",
"esri/renderers/SimpleRenderer", "esri/graphic", "esri/lang",
"esri/Color", "dojo/number", "dojo/dom-style",
"dijit/TooltipDialog", "dijit/popup", "dojo/domReady!"
function (
new Map("mapDiv", {
"streets",
false
var southCarolinaCounties = new FeatureLayer("http://gisappserv3/ArcGIS/rest/services/Engineering/MaintenancePoints/MapServer", {
"District"]
// southCarolinaCounties.setDefinitionExpression("STATE_NAME = 'Washington'");
var symbol = new SimpleFillSymbol(
new SimpleLineSymbol(
new Color([255, 255, 255, 0.35]),
new Color([125, 125, 125, 0.35])
new SimpleRenderer(symbol));
new TooltipDialog({
"tooltipDialog",
"position: absolute; width: 250px; font: normal normal normal 10pt Helvetica;z-index:100"
var highlightSymbol = new SimpleFillSymbol(
new SimpleLineSymbol(
new Color([255, 0, 0]), 3
new Color([125, 125, 125, 0.35])
//close the dialog when the mouse leaves the highlight graphic
"load", function () {
"mouse-out", closeDialog);
//listen for when the onMouseOver event fires on the countiesGraphicsLayer
//when fired, create a new graphic with the geometry from the event.graphic and add it to the maps graphics layer
"mouse-over", function (evt) {
'here');
var t = "<b>${District}</b>";
var content = esriLang.substitute(evt.graphic.attributes, t);
var highlightGraphic = new Graphic(evt.graphic.geometry, highlightSymbol);
"opacity", 0.85);
function closeDialog() {