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

Starting a Service at startup breaks refresh #455

Closed
chughes-lincoln opened this issue Jan 23, 2020 · 3 comments
Closed

Starting a Service at startup breaks refresh #455

chughes-lincoln opened this issue Jan 23, 2020 · 3 comments
Assignees

Comments

@chughes-lincoln
Copy link
Contributor

If you modify the demo to start the identify tool upon startup, refreshing your screen no longer retains the proper extent of your map (Using the refresh button in the browser, not using the 'Start Over' button). Copying and pasting a url into a different browser window also no longer works.

To replicate, modify the end of the app.js file to include starting a service:

    tracker.startTracking();
    hash_tracker.startTracking();

    showTab('catalog');
    app.startService('identify');
});
@chughes-lincoln
Copy link
Contributor Author

It appears this no longer correctly starts your specified service on startup.

@theduckylittle
Copy link
Member

Found some deeper bugs with this one but I think this should handle it:

@chughes-lincoln
Copy link
Contributor Author

This fixes it for me (both the desired service not starting on startup and the refresh extent issues). Thanks!

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