Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SingleLineSearch] Search result display issues #9

Closed
rscheitlin opened this issue Jan 3, 2013 · 4 comments
Closed

[SingleLineSearch] Search result display issues #9

rscheitlin opened this issue Jan 3, 2013 · 4 comments
Assignees
Milestone

Comments

@rscheitlin
Copy link

When using a geocode service other than the one configured by default (i.e. on in a different WKID) the results appear to be reprojected inaccurately and appear on the map at 0,0

@ghost ghost assigned MehulChoksey Jan 3, 2013
@rscheitlin
Copy link
Author

Here is a link to a forum report of the issue http://forums.arcgis.com/threads/73768-Searchbox-in-3.1

@rscheitlin
Copy link
Author

JC, I get a null value error with your fix using the find on a polygon layer. It has to do with this line
if (hasValidGeometry(searchResult.geometry)
&& hasValidGeometry(searchResult.extent))

As you hard code the searchResult.extent to be null the hasValidGeometry function is attempting to validate a null object.

@ghost ghost assigned jcfranco Jan 22, 2013
@jcfranco
Copy link
Member

Thanks for catching this. The problem is that this line (as you mentioned) is expecting the result extent to exist.

@jcfranco
Copy link
Member

Merge branch '#9_fix-geometry-type-validation' into develop 9c4e062

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants