AnsweredAssumed Answered

Open new browser window on map click

Question asked by rcsellman on Aug 27, 2014
Latest reply on Sep 2, 2014 by rcsellman

I am working on a simple app that lets you click on the map and open a new browser window showing oblique imagery at that point.  It takes the point coordinates, passes them to a url and opens a new browser page using the created url.  I think I am close, but with what I have now, when the page loads and you click on the map I get an error saying, "Cannot read property 'y' of undefined".  However if I click again my function works and the page opens properly.  If you continue to fire the function it continues to work.  It gets messed up with only the first attempt.  Any ideas???


Here is the app: JSFiddle