BryantFu


Why the result is not same in each find with VE V6.

Here is the script for finding:

map.Find('Campus', 'New york,New york,United States', null, null, 0, 10, null, null, false, null, MoreResults)

If you reopen the page to find the result for many time, the results is not the same for each time.

How can I make the find result identical for each time.




Re: Different result in each find

BryantFu


Any body can help me





Re: Different result in each find

Derek Chan

Interesting, a different set gets brought back by VE on each yellowpage search. Perhaps this is being caused because there are too many results being brought back by searching on "campus"

Sample code to duplicate:


Code Block
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
'>http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
; <head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx v=6"></script>
<script type="text/javascript">
var map = null;

function GetMap()
{
map = new VEMap('myMap');
map.LoadMap();
map.Find('Campus', 'New york,New york,United States', null, null, 0, 10, null, null, false, null, MoreResults)
}
function MoreResults(e)
{

}
</script>
</head>
<body onload="GetMap();">
<div id='myMap' style="position:relative; width:400px; height:400px;"></div>
</body>
</html>

Refresh the page several time and a different set of results get loaded

Anyone else have any ideas







Re: Different result in each find

SoulSolutions

This could actually be a feature of the API - I often get asked not to return the same list of companies every time I page data into blocks of 10, or else the poeple on the last page get unhappy

The question is whether this causes a real problem You user really need to zoom in to reduce the numbers or you need to callback and keep getting more.

John.