[Yanel-dev] [Bug 8450] Calculate distance between fixed location and geo location of browser

bugzilla at wyona.com bugzilla at wyona.com
Thu Sep 15 12:34:12 CEST 2011


http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=8450





------- Comment #3 from michael.wechner at wyona.org  2011-09-15 11:51 -------
The resource should also allow to generate json, e.g.

{
"locations":[
        {"location":"Zürich
Bahnhofstrasse","distance":"0.1km","link":"zuerich-bahnhofstrasse.html"},
        {"location":"Zürich Bellevue","distance":"2km","link":"todo.html"},
        {"location":"Glattzentrum","distance":"12km","link":"todo.html"}
]
}

when using the query string

....?yanel.resource.viewid=json

Which means the class/method

src/java/org/wayona/impl/resource/distanceCalculator/DistanceCalculatorResource.java#getContentXML(String)


-- 
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the Yanel-development mailing list