No, No matter I Zoom in or out, the map is empty.. can you please help?
See this function below, I am trying to debug.
private function clickSearchResult(event:Event):void
{
if (resultFeatureLayer.visible)
{
var searchResult:ResultItem = ItemRenderer(event.target).data as ResultItem;
if (searchResult.geometry)
{
if (searchResult.geometry.type == Geometry.MAPPOINT)
{
if (map.scale > zoomScale)
{
map.scale = zoomScale;
}
}
map.zoomTo(searchResult.geometry);
}
clearTimeout(hitimer);
hitimer = setTimeout(showHighlight, 300, [ searchResult ]);
}
}