DisambiguationCallback returns only 10 results

Hello,

I'm testing the new disambiguationcallback in v3.2. I get only the first 10 results.

For example:
When you enter "5th ave, new york" in the "Search city, address or landmark"-field on local.live.com, you get only 10 results.

Any solution to get the other results

I think it's possible to use the Find method and supply a pageindex. Then all pushpins are painted for me, what I don't want.

Kind regards,

Maarten Claes



Answer this question

DisambiguationCallback returns only 10 results

  • Greensombrero

    How you going with this Maarten

    I'm upto the same point where no matter what pageindex I specifiy i only get the first 10 results.

    John.



  • NozFx

    That's a brilliant idea! Can't wait to see an example.

    Are you using MapPoint for this I don't think it possible with only VE, because of the reverse geocoding.

    Maarten

  • JackBoughson

    It looks like the "index" parameter of find is related to "what" type searches but not to "where" searches. Has anyone figured out how to get the next page of where results, eg type in "london" you get the first ten, changing the index makes no difference

    John.



  • Kay2live

    Understood.

    And, hopefully your users won't enter "where" strings that are so ambiguous that the place they wanted isn't even in the top-10!


  • SpeedOfSPin

    Sorry for the slow response on this.

    "Where" queries only return the first 10 locations that are closest to the input string.

    I'll add it to my list of info to add to the next SDK release.


  • Zzermont

    of course what would be better would be to allow the pageindex to get the next set of records.

    I assume it is too much of a performance hit. Yeah some clarification in the sdk would be a good idea, you can see how we could think the index relates to both.

    Thanks

    John.



  • The MaiN MaN

    Mmh, it works with "what" type searches... also with the DisambiguationCallback

    I think this is a missing major feature of the search function. If it was possible, I would be implemented on the local.live.com page.

    Can anyone from Microsoft confirm this

    Maarten

  • Boris Mueller

    Actually i have been playing with autopopulating the known fields of the where based on the current map location. I'll post a public link when i have it up.

    The basic idea is when you want to do a search you click in the where box, a quick reverse geocode, and i populate your country and state (hopefully even suburb if your zoomed in far enough). You can overwrite it easy enough if your after something else.

    It works really well for Australia. If i crack it it would actually be something really useful for all sites.

    John.



  • rob_a89

    I'm getting there...

    I found this site: http://www.geonames.org/

    It has point of interest information for most countries for free.

    I'm just have a few issues as it uses a 2 letter country code, full state/provence names etc.

    Anyway i have a hand crafted version working really well for Australia. I'll see what i can do to get something up for the rest of the world in the next week.

    John.



  • DisambiguationCallback returns only 10 results