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

MapLoom: Login triggers return to homepage #51

Open
slibby opened this issue Dec 17, 2014 · 1 comment
Open

MapLoom: Login triggers return to homepage #51

slibby opened this issue Dec 17, 2014 · 1 comment

Comments

@slibby
Copy link

slibby commented Dec 17, 2014

If you are in the map viewer, and you want to login to start editing one of the layers, the login process takes you away from the map with no way to return to your prior layer list or extent.

@slibby slibby changed the title Map: Login triggers return to homepage MapLoom: Login triggers return to homepage Dec 17, 2014
@state-hiu
Copy link
Contributor

If you are logged in and viewing someone else's map you can save a copy to keep your extent and layers. If you click the save button, it should prompt you. If you are not logged in, then there's nothing we can do without changes upstream. If you are viewing a new map, after you login it should return you to http://ebolageonode.org/maps/new. Is that the page you are referencing? In my testing it does not return you to http://ebolageonode.org.

Currently, MapLoom does not use the History API (https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history) since it is embedded in an iframe. Dropping the iframe and adding directly to the page adds significant complexity since then the GeoNode and MapLoom javascript/css/resources can conflict.

One potential solution might be use of the Shadow DOM (http://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/). However, any solution will require significant work and will likely not be complete within the next few months.

Filed issue upstream at GeoNode/geonode#1940

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

1 participant