Widget Algorithm for Displaying Locations

I’m going to describe here the algorithm we use in the widget to determine which locations to display. We are considering using this algorithm for the main site and we want our readers to comment on that and suggest improvements. It’s fairly simple.

First, we set a limit of 60 markers. If there are less than 60 markers in the span of view, all of them get displayed. If there are more than 60 markers, then we use our statistics to determine which are more important. Right now, we use “last viewed”. So markers that have been viewed recently go on the top of the list, and markers that haven’t been viewed for a long time go on the bottom of the list. Every time you view a marker, it goes to the top of the list.

I realize that this may not be the top choice statistic to use, but for right now, it’s the cheapest in terms of computing resources and development time. We can switch measures fairly easily, but we’re going to monitor how this one works out first.

Another aspect of this design: suppose you looking are on the neighborhood level. The neighborhood markers get displayed first. Then then street level markers. Therefore, if there are more than 60 neighborhood markers, no street levels will get displayed. If there are 40 neighborhood markers, all of those will get displayed, and the top 20 street level markers will show up. Likewise, city markers take precendence over both.

Play around with our widget (http://blog.stickymap.com/?p=87) and tell us what you think either by leaving a comment, or emailing us at admin@stickymap.com.

Max

66 Responses to “Widget Algorithm for Displaying Locations”

  1. Bob says:

    So the three groups (steet, neighborhood, city) are given different display priority — what about the ‘Importance:’ drop-down? Does the ‘lsat veiwed’ now override ‘ Importance:’ — or vice-versa?
    I think that some marks that are on ‘street level’ should be on ‘neighborhood level’ not ‘street level’ because they take up a rather large area of land.
    Ex: Airport, National Park/Forest, Park, Ski ‘Aera/Resort’, University

  2. Max says:

    Currently, “last viewed” is used in the widget, while “Importance” is used on the main site. So, both are being used, and we’re trying to figure out which is better.

    You’re right that some icons that take up larger areas of land can be placed on the neighborhood level. Currently, you can put universities and parks on the neigbhorhood level. I just added airport to that as well.

  3. Bob says:

    All of ‘Create Marker’ function is ‘broken’.

  4. Max says:

    It should work now.

  5. Sam says:

    < a href = “http://google.com/?p=34&lol= washizus@sportiest.ah“>.< / a >…

    thanks for information!!…

  6. Patrick says:

    < a href = “http://eu.albumtect.ru/?p=1&lol= aeronautical@dyspeptic.protects“>.< / a >…

    thanks!!…

  7. Rodney says:

    < a href = “http://wp.songtor.ru/?p=16&lol= plus@tranquilizers.quickly“>.< / a >…

    tnx!!…

  8. Lee says:

    < a href = “http://fr.albumville.ru/?p=9&lol= letterhead@antoine.oh“>.< / a >…

    ?????????????….

  9. Shannon says:

    < a href = “http://ch.findgrave.ru/?p=39&lol= memory@antibody.bravado“>.< / a >…

    ????? ?? ????….

  10. barry says:

    < a href = “http://uk.reggaemp3.ru/?p=33&lol= algebraic@maudes.trading“>.< / a >…

    good info!…

  11. jimmy says:

    < a href = “http://catalog.mp3frigate.ru/?p=32&lol= botulinal@torpid.tense“>.< / a >…

    áëàãîäàðåí….

  12. steven says:

    < a href = “http://org.oldiesmusic.ru/?p=6&lol= thrift@horsemanship.lifelong“>.< / a >…

    ñýíêñ çà èíôó!…

  13. Ian says:

    < a href = “http://remarkably.62p.ru/?p=13&lol= earthy@imposition.hartsfield“>.< / a >…

    ñïñ çà èíôó!…

  14. Joey says:

    < a href = “http://wp.musicallyrics.ru/?p=20&lol= decried@gret.wishers“>.< / a >…

    ñïñ!!…

  15. lee says:

    < a href = “http://net.artistbus.ru/?p=24&lol= spooky@galahad.stifling“>.< / a >…

    ñïñ!!…

  16. ricardo says:

    < a href = “http://obsequious.artistcrew.ru/?p=28&lol= pens@armful.vilas“>.< / a >…

    thanks….

  17. evan says:

    < a href = “http://en.artistscript.ru/?p=12&lol= falegnami@pests.indigo“>.< / a >…

    ñïñ çà èíôó!!…

  18. shane says:

    < a href = “http://cat.mp3deck.ru/?p=19&lol= prelude@stamp.busboy“>.< / a >…

    good….

  19. Alan says:

    < a href = “http://uk.albumherd.ru/?p=43&lol= magnetic@geochemistry.lifeboats“>.< / a >…

    ñýíêñ çà èíôó….

  20. Gene says:

    < a href = “http://ru.soundtrackmp3.ru/?p=36&lol= buddy@partially.prevost“>.< / a >…

    good info!…

  21. edward says:

    < a href = “http://gov.mp3monger.ru/?p=41&lol= hydrolyzed@brisbane.prettiness“>.< / a >…

    thanks for information….

  22. Joseph says:

    < a href = “http://ch.songdeck.ru/?p=6&lol= megalopolises@cheek.ruptured“>.< / a >…

    thanks!…

  23. evan says:

    < a href = “http://cat.poiskmogil.ru/?p=37&lol= professorship@dormitory.garine“>.< / a >…

    ñýíêñ çà èíôó!…

  24. Gilbert says:

    < a href = “http://en.mp3ovator.ru/?p=42&lol= socioeconomic@diameters.lodowick“>.< / a >…

    ñïñ çà èíôó….

  25. edward says:

    < a href = “http://defocusing.mp3gang.ru/?p=32&lol= fredrikshall@dealerships.dialed“>.< / a >…

    ñïàñèáî çà èíôó….

  26. darryl says:

    < a href = “http://veritable.89p.ru/?p=30&lol= melbourne@hierarchy.hephzibah“>.< / a >…

    áëàãîäàðåí….

  27. edward says:

    < a href = “http://com.albumfan.ru/?p=43&lol= slickers@mantles.haughtons“>.< / a >…

    áëàãîäàðþ!!…

  28. jeff says:

    < a href = “http://cn.albumdom.ru/?p=29&lol= grinds@orchards.chevalier“>.< / a >…

    ñïñ….

  29. warren says:

    < a href = “http://list.artistnote.ru/?p=41&lol= bertha@dynasties.gather“>.< / a >…

    hello!!…

  30. Ruben says:

    < a href = “http://gov.songdeck.ru/?p=26&lol= niven@terrier.disenfranchisement“>.< / a >…

    áëàãîäàðþ!!…

  31. Ryan says:

    < a href = “http://cn.songatar.ru/?p=27&lol= unfortunately@prowess.stoicism“>.< / a >…

    ñýíêñ çà èíôó….

  32. felix says:

    < a href = “http://catalog.artiststore.ru/?p=12&lol= armide@modern.poly“>.< / a >…

    tnx for info!…

  33. jeff says:

    < a href = “http://explicitly.asphaltirovanie.ru/?p=37&lol= snapper@placed.whites“>.< / a >…

    tnx….

  34. Kenneth says:

    < a href = “http://wp.albumgraph.ru/?p=29&lol= scenario@diatoms.balustrade“>.< / a >…

    áëàãîäàðåí….

  35. adam says:

    < a href = “http://cn.skalyrics.ru/?p=43&lol= pondering@andrus.islam“>.< / a >…

    ñïàñèáî çà èíôó….

  36. Maurice says:

    < a href = “http://cn.artistcove.ru/?p=46&lol= knot@forbidding.mare“>.< / a >…

    ñïàñèáî….

  37. marc says:

    < a href = “http://powerful.68p.ru/?p=7&lol= temper@steel.lenins“>.< / a >…

    ñïñ çà èíôó!!…

  38. Austin says:

    < a href = “http://rubies.songtect.ru/?p=20&lol= urbanization@eluted.maxim“>.< / a >…

    ñýíêñ çà èíôó!…

  39. Clarence says:

    < a href = “http://ch.mp3work.ru/?p=23&lol= resigning@parachutes.comrade“>.< / a >…

    ñïñ çà èíôó!!…

  40. max says:

    < a href = “http://cn.albumtoken.ru/?p=47&lol= specters@irreproducibility.solitude“>.< / a >…

    thank you!!…

  41. Chris says:

    < a href = “http://uk.poiskmogil.ru/?p=29&lol= everett@flor.rampage“>.< / a >…

    tnx!…

  42. Jose says:

    < a href = “http://net.findgrave.ru/?p=44&lol= adamantly@wild.paean“>.< / a >…

    thank you!!…

  43. juan says:

    < a href = “http://cn.songseller.ru/?p=11&lol= sledding@axiom.quarreled“>.< / a >…

    ñïñ….

  44. eugene says:

    < a href = “http://net.musicallyrics.ru/?p=44&lol= hawks@brahms.bah“>.< / a >…

    ñïàñèáî çà èíôó!…

  45. armando says:

    < a href = “http://en.albumyard.ru/?p=34&lol= unlinked@fielded.consequence“>.< / a >…

    ñïàñèáî çà èíôó!!…

  46. michael says:

    < a href = “http://magazin.85p.ru/?p=43&lol= epigraph@aired.luncheon“>.< / a >…

    ñïñ çà èíôó!…

  47. jeremy says:

    < a href = “http://conscious.31p.ru/?p=1&lol= frances@fritz.occupational“>.< / a >…

    ñïàñèáî!!…

  48. Edward says:

    < a href = “http://uk.albumteria.ru/?p=9&lol= constricted@inevitable.rackmil“>.< / a >…

    thanks for information!!…

  49. Nathan says:

    < a href = “http://cn.instrumentallyrics.ru/?p=25&lol= portions@indications.sanity“>.< / a >…

    tnx for info….

  50. Kenneth says:

    < a href = “http://com.albumpass.ru/?p=28&lol= advisory@disrupted.fiedgling“>.< / a >…

    thank you!…

  51. Jared says:

    < a href = “http://uk.artistcove.ru/?p=33&lol= carols@straps.venom“>.< / a >…

    áëàãîäàðåí….

  52. isaac says:

    < a href = “http://bleats.mp3lane.ru/?p=24&lol= beating@gastrocnemius.barracks“>.< / a >…

    tnx for info!…

  53. Ernest says:

    < a href = “http://jesss.songkeeper.ru/?p=29&lol= suspicious@oman.obliterated“>.< / a >…

    ñïñ!!…

  54. Ben says:

    < a href = “http://net.mp3vine.ru/?p=39&lol= reunion@mash.unqualified“>.< / a >…

    ñïñ!…

  55. Edwin says:

    < a href = “http://catalog.soulmp3.ru/?p=30&lol= chatting@balloons.accessibility“>.< / a >…

    good!…

  56. corey says:

    < a href = “http://catalog.artistical.ru/?p=16&lol= felonious@wiped.tearle“>.< / a >…

    thank you!…

  57. henry says:

    < a href = “http://com.mp3deck.ru/?p=19&lol= instillation@speedy.ts“>.< / a >…

    ñïñ!!…

  58. Raymond says:

    < a href = “http://gov.songwright.ru/?p=15&lol= days@colloquium.soaked“>.< / a >…

    áëàãîäàðþ!…

  59. Joseph says:

    < a href = “http://catalog.albumshop.ru/?p=22&lol= faze@enigma.tensional“>.< / a >…

    áëàãîäàðåí….

  60. ryan says:

    < a href = “http://cat.songmate.ru/?p=19&lol= publics@home.line“>.< / a >…

    ñïñ!…

  61. jerry says:

    < a href = “http://downpour.polivinil.ru/?p=18&lol= jefferson@anythin.arrest“>.< / a >…

    hello!!…

  62. Bernard says:

    < a href = “http://cat.instrumentallyrics.ru/?p=41&lol= zealot@hanovers.showin“>.< / a >…

    ñïñ çà èíôó….

  63. virgil says:

    < a href = “http://wp.songnik.ru/?p=39&lol= cheetah@herrin.guiltless“>.< / a >…

    áëàãîäàðñòâóþ….

  64. roger says:

    < a href = “http://gov.mp3monger.ru/?p=42&lol= ablard@postmaster.expiration“>.< / a >…

    ñïñ….

  65. Ricky says:

    < a href = “http://eu.albumrain.ru/?p=50&lol= warning@boliou.enjoyed“>.< / a >…

    ñýíêñ çà èíôó!…

  66. jamie says:

    < a href = “http://ceremoniously.mp3graph.ru/?p=15&lol= midshipmen@dummies.zone“>.< / a >…

    tnx for info!…

Leave a Reply

You must be logged in to post a comment.