andrewb

API 3.3 vs 3.4  moving an InfoWindow

Discussion created by andrewb on Mar 28, 2013
Latest reply on Apr 3, 2013 by khutchins-esristaff
I'm trying to reposition an infoWindow based on the center of a polygon.  When using 3.3 API my code works just fine.  When I upgraded to 3.4 I get:
"Object doesn't support property or method 'move'".

Possible bug?

Here's my code:
var newPt = map.toScreen(tileResults.features[0].geometry.getExtent().getCenter());
map.infoWindow.move(newPt);

Outcomes