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

Printable Maps #240

Open
PriyaDoIT opened this issue Aug 15, 2016 · 11 comments
Open

Printable Maps #240

PriyaDoIT opened this issue Aug 15, 2016 · 11 comments

Comments

@PriyaDoIT
Copy link

PriyaDoIT commented Aug 15, 2016

As a user, I would like to be able to easily print my map results displayed in OG. Currently there is no other way to do so without taking screenshots.

@ajphukan
Copy link

ajphukan commented Oct 16, 2016

After checking the demo website of opengrid .
I think .We need a method to render svg file generated by mapbox to canvas
And then we can get the jpeg or png ..

svg to jpg or png

@PriyaDoIT
Copy link
Author

hi @ajphukan is this something you would be able to help us implement?

@ajphukan
Copy link

@PriyaDoIT I am not sure . For print purposes, we need a separate button on the display screen of the map , and I only know little about the project , if a core member can point out the location for implementing the button .

@PriyaDoIT
Copy link
Author

Suggestions for Print Button options to be reviewed and decided upon by team:
image

Other considerations:

  • When Print is selected, the current map extent displayed on the UI is printed
  • Legend should be printed
  • if a popup is opened on the UI, we should not print it (this may be revisited in the future)
  • do not print the advanced search panel (in the future we may want to include query details in the print view)
  • crimearound.us print feature changes to a B&W base map with colored dots. Is this something we want to consider?

@ajphukan
Copy link

There are too many things you want . Like the client only want some portion of the map to be print . Or the full view . And about the legends, i am not familiar with map library you are using . I just put up the solution because of the library that this website is using printing the map in canvas web element .

@PriyaDoIT
Copy link
Author

Hi @ajphukan, we have a team here and we will decide on where to add this button and the requirements. What I listed in my most recent comment are simply options and suggestions for us to talk through. Will update this on what we decide. Thanks!

@reve0716
Copy link
Contributor

The print location should be placed under the measurement and layers icon. If a print icon is placed on the grid it should be self-explanatory to an inexperienced user; that selecting the print icon will begin the process of printing the grid.

@PriyaDoIT
Copy link
Author

Per our 10/28 meeting the print icon will appear above the layers icon. Below is an example:
image

Hi @rladines could you provide us with a print icon?

@PriyaDoIT
Copy link
Author

Hi @ajphukan would you still be interested in helping us? We would like to add the print button as shown in the screenshot above. We would want the entire map extent of the query results (and right corner legend) to print neatly as a single page on various sizes of paper (in the US it is typically 8.5" x 11").

@ajphukan
Copy link

ajphukan commented Nov 3, 2016

sorry @PriyaDoIT i am facing problem while setting up the project locally in my system .I will not be able to do it

This some reference and possible problem you can face while implementing the print function

plugin required for printing process :leaflet-image

possible problem you will face it doesn't include the legend , for that you can try this .

drawing dom
to draw the legend into the image

@PriyaDoIT
Copy link
Author

@tomschenkjr @rladines could either of you chime in?

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

5 participants