I am attempting to place Info windows at the [xmax,ymax] of a feature extent. I have attempted using the following code.
var extent = new esri.geometry.Extent(feature.geometry.getExtent());
var xmax = extent.xmax;
var ymax = extent.ymax;
var location = new Point([xmax,ymax]);
The labels do not appear.
I extracted the xmax and ymax values as discussed in This thread.
When I replace:map.infoWindow.show(location);
The labels appear in the center of the feature as they should. So is something incorrect about the way I create the point? I have attempted most formats in The Point Documentation, with no luck. Any ideas where I should go from here?