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

Download Leaflet page #151

Closed
gubuntu opened this issue Mar 15, 2017 · 4 comments · Fixed by #344
Closed

Download Leaflet page #151

gubuntu opened this issue Mar 15, 2017 · 4 comments · Fixed by #344
Assignees
Milestone

Comments

@gubuntu
Copy link

gubuntu commented Mar 15, 2017

Download ready to use leaflet page which references a layer via tile service. The implementation here would make it trivial to add a map hosted by GeoNode in a different web site. JavaScript references will be done using CDN (Content Distribution Network) references so that there are no local hosting requirements and the html can be directly inserted into a content management system. Implemented for QGIS Backend only.

@gubuntu gubuntu added this to the Sprint 2 milestone Mar 15, 2017
@gubuntu gubuntu added the API label Jun 22, 2017
@gubuntu gubuntu added the ready label Jul 6, 2017
@lucernae
Copy link
Collaborator

lucernae commented Jul 6, 2017

From what I read, it seems you want to download some kind of leaflet html code with layers embedded?

Is this specification ok?

  • The html code will only provides standard leaflet plugins (not like what we see in Geonode's layer details, where there are many 3rd party plugins.)
  • Does this in the format of iframe, or just plain static html?

@gubuntu
Copy link
Author

gubuntu commented Jul 8, 2017

It must be a full static html page.

The div element is #153

The iframe download is #152

@gubuntu
Copy link
Author

gubuntu commented Sep 21, 2017

@boney-bun have you started on this? Should be a simple variation of the iframe and embed widget downloads

boney-bun added a commit to boney-bun/geonode that referenced this issue Sep 26, 2017
@gubuntu gubuntu changed the title Download Leaflet widget Download Leaflet page Sep 27, 2017
boney-bun added a commit to boney-bun/geonode that referenced this issue Oct 10, 2017
boney-bun added a commit to boney-bun/geonode that referenced this issue Oct 13, 2017
boney-bun added a commit to boney-bun/geonode that referenced this issue Oct 13, 2017
boney-bun added a commit that referenced this issue Oct 14, 2017
* embed full static HTML page as leaflet page
* removes unnecessary comments
* add test case for download leaflet page
* fix reverse for geoserver
* fix travis error on geoserver

fix #151
@boney-bun boney-bun reopened this Oct 14, 2017
@gubuntu
Copy link
Author

gubuntu commented Oct 20, 2017

passed test

although it is incomplete (#365), let's get this delivered

@gubuntu gubuntu closed this as completed Oct 20, 2017
@gubuntu gubuntu removed the testing label Oct 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants