Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show more details in map host popup #26

Open
jstaffans opened this issue Mar 20, 2012 · 2 comments
Open

Show more details in map host popup #26

jstaffans opened this issue Mar 20, 2012 · 2 comments

Comments

@jstaffans
Copy link
Contributor

E.g. the first line of the description.

Randy can add some more information to the XML for this. I don't think we want to download the host JSON for the popup, though.

@rfay
Copy link
Contributor

rfay commented Oct 22, 2014

The json now has lots more info, so we do have this capability and should consider this. (It would now be possible to combine the Host and HostBriefInfo types, but one thing at a time...)

@rfay rfay added this to the 1.4.2 milestone Dec 11, 2014
@rfay
Copy link
Contributor

rfay commented Mar 16, 2015

The things are are currently available server-side in the initial response from a search are not as extensive as I thought:
SELECT u.uid, w.fullname name, street, city, province, postal_code, country, latitude, longitude, source, picture, notcurrentlyavailable, DEGREES(ACOS(SIN(RADIANS(%f)) * SIN(RADIANS(latitude))+COS(RADIANS(%f)) * COS(RADIANS(latitude)) * COS(RADIANS(%f-longitude)))) * 60 AS distance, CONCAT(latitude, ',', longitude) AS position

Basically, the only useful thing we're not using is the picture, and that's in #42

I'd say this should wait...

@rfay rfay removed this from the 1.4.2 milestone Mar 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants