platform icon indicating copy to clipboard operation
platform copied to clipboard

Load URLs straight to marker location

Open futuresoup opened this issue 8 years ago • 5 comments

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 avatar Mar 04 '16 18:03 futuresoup

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

futuresoup avatar Oct 14 '16 05:10 futuresoup

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 avatar Oct 15 '16 18:10 goldpbear

I believe this is addressed by #593.

goldpbear avatar Mar 12 '17 00:03 goldpbear

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

futuresoup avatar Feb 19 '18 17:02 futuresoup

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.

goldpbear avatar Feb 19 '18 17:02 goldpbear