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

Load URLs straight to marker location #303

Open
futuresoup opened this issue Mar 4, 2016 · 5 comments
Open

Load URLs straight to marker location #303

futuresoup opened this issue Mar 4, 2016 · 5 comments

Comments

@futuresoup
Copy link
Contributor

URLs such as http://heyduwamish.org/12th-and-elmgrove always load the default coordinates of heyduwamish.org first, then after a while it jumps over to the actual location.

Is there any way we can bypass this?

It would give us a big bump in usability.

@futuresoup
Copy link
Contributor Author

Might be a tough fix. Better approach is to make site load faster so user doesn't notice this redirect.

@goldpbear
Copy link
Contributor

Agreed this is a complex fix. Because of the order in which things happen when the page first load, I think jumping immediately to a marker location would be a significant refactor.

@goldpbear
Copy link
Contributor

I believe this is addressed by #593.

@futuresoup
Copy link
Contributor Author

Nah, still appears to go to the default homepage location then jumps over to the landmark location.

See here - https://heyduwamish.org/concord - should go straight to the elementary school, but actually goes to the river first then jump to the school

@goldpbear
Copy link
Contributor

goldpbear commented Feb 19, 2018

I think #593 improved the delay slightly, but didn't completely remove it. When we refactor landmark urls to have an id that can be directly referenced on the server, we can expect loading to be comparable to that of current place urls (e.g. /trees/243). The delay occurs because without an id to reference, we have to completely load all datasets, then search them one by one for the landmark-style url until we find it.

Referencing #879 here.

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

3 participants