PNG or SVG? How to export, print and share your travel map
A travel map exported as a small picture can look fine on a phone and soft on a printed page. The reason is simple. Some image formats store pixels, and pixels cannot be enlarged without losing sharpness. Others store shapes, which can be redrawn at any size. Choosing the right export before you print saves a second attempt.
This guide compares PNG and SVG, shows how to work out the pixel size a print needs, covers paper sizes, margins and background colors, and explains how to share a map as an image while keeping the editable data on your own device.
PNG or SVG: which export suits which job
PNG, short for Portable Network Graphics, is a W3C Recommendation that describes an extensible file format for the lossless, portable, well-compressed storage of raster images. A raster image is a grid of pixels, so its sharpness is fixed at the size it was saved. SVG, short for Scalable Vector Graphics, is a W3C language for describing two-dimensional graphics in XML. It stores vector shapes, images and text, and draws them at whatever size is needed. MDN, the web documentation project, recommends SVG for graphics that must be drawn accurately at different sizes and PNG over JPEG when precise reproduction is needed.
JPEG is built for photographs. Its lossy compression can smudge the hard edges and small text of a flat-color map, so it is a poor choice here. The travel map editor exports PNG and SVG and also supports printing, which covers the three jobs below.
| Option | What it stores | Best for | Limit |
|---|---|---|---|
| PNG | A fixed grid of pixels, without lossy compression | Screens, messages, documents, quick prints | Blurs if enlarged far beyond its original size |
| SVG | Shapes and text as vector data | Large prints, crisp scaling, editing in a vector program | Text depends on fonts on the viewing device; not every app opens it |
| Browser print | The page layout, sent to a printer or saved as a PDF | Paper copies and PDF files | Margins and background colors need checking |
Work out the pixels a print needs
Pixels needed equal the size in inches multiplied by the pixels per inch (ppi). A common planning figure for close-up prints is 300 ppi. It is a rule of thumb, not a formal standard, and a wall map seen from across a room can get by with less. Paper sizes differ by region: A4 measures 210 by 297 mm, while US Letter measures 8.5 by 11 inches (216 by 279 mm).
| Paper | Size | Pixels at 300 ppi |
|---|---|---|
| A4 | 210 × 297 mm (8.27 × 11.69 in) | 2480 × 3508 |
| US Letter | 8.5 × 11 in (216 × 279 mm) | 2550 × 3300 |
| A3 | 297 × 420 mm (11.69 × 16.54 in) | 3508 × 4961 |
If your map shows a scale, prefer a bar scale. A ratio such as 1:50,000,000 is true only at the original size, and enlarging or shrinking the print breaks it, while a bar scale resizes together with the map. The guide to map scale explains the difference.
Margins, orientation and print settings
A printed page has margins. MDN notes that the CSS @page rule controls the dimensions, orientation and margins of printed pages, and print dialogs expose the same ideas: paper size, orientation, margins and scale. Many printers also cannot print to the very edge of the sheet. Leave a margin around the map so that a title or legend does not get cut off.
Choose landscape for a world map, since it is wider than it is tall. Browsers often leave out background colors and images when printing, so the ocean and land fills may vanish. If that happens, look for an option named background graphics or print backgrounds in the print dialog. Then choose Save as PDF, if your browser offers it, to preview the result before using paper.
- The paper size matches the sheet in the printer, such as A4 or US Letter
- Orientation is landscape for a world map
- Margins leave the title, legend and labels fully inside the page
- Background colors and fills appear in the preview
- A test print on plain paper confirms that small text is legible
- The legend explains every color and symbol on the page
Legibility matters as much as sharpness. Colors that read well on a bright screen can turn muddy on paper, and thin outlines can disappear. The guide to choosing a travel map style explains how to pick fills, patterns and labels that survive a printer.
Share the picture and keep the data
Share an exported image, not the working map. In the travel map editor, the map data stays in your own browser, in a draft saved on your device. Nothing needs to be uploaded to share a picture, and a PNG contains only the finished image, so recipients cannot edit your map from it. An SVG contains shapes and text that other people can open and edit in a vector program, so choose PNG when you do not want changes.
A picture is not a backup, because it cannot be reopened as an editable map. MDN explains that browsers keep site data on a best-effort basis, which persists only as long as storage space allows and the user does not clear it. So save a backup file as well, and keep it in a second place. That backup file is also the way to move a map to another device. The guide to paper and digital travel maps covers the habit in more detail.
Finally, think about what the picture reveals. A map shows the places you visited and the pattern of your trips. If you post it publicly, consider leaving off labels for private places, such as a home area, and show countries or regions instead of exact points.
Common mistakes with exporting and printing
- Printing a small PNG at a large size
The pixels are stretched and the edges soften. Work out the pixels needed from the paper size, and export larger or use SVG when the number does not match.
- Using JPEG for a flat-color map
Lossy compression smudges hard edges and small text. PNG and SVG keep them sharp.
- Forgetting background graphics
Printed maps can come out white because the browser skips background colors. Check the preview and turn on the background option.
- Printing right to the paper edge
Printers often cannot reach the edge, and labels get cut. Keep a margin around the title and legend.
- Treating the exported image as a backup
A PNG or an SVG cannot be reopened as an editable map. Save the backup file as well, and keep two copies in different places.
Frequently asked questions
Should I export PNG or SVG for printing?
SVG is the safer choice for large prints because it has no fixed pixel size. A PNG works well if it has enough pixels for the paper, which the table above helps you check. For quick prints on A4 or Letter, a PNG of the right size is fine.
What resolution do I need to print a map?
A common planning value is 300 pixels per inch, which means 2480 by 3508 pixels for a full A4 page. It is a rule of thumb. A map seen from a distance on a wall can use fewer pixels per inch, and a small print held close may need the full figure.
Can I edit my map from an exported PNG?
No. A PNG holds only the picture, so there is no map data to reopen. Edit the map in the tool where you made it, or restore it from your backup file, and export again. An SVG can be edited as a drawing in a vector program, but not as map data.
How do I move my map to another device?
Save a backup file on the first device, copy it to the second and restore it there. The map data is stored only in the browser of the device where you made it, so a link or a picture will not carry it across.
Is it safe to share a travel map publicly?
A map reveals where you have been, and the pattern of your trips can say a lot. Share it at country or region level, leave off labels for private places, and check the exported image before posting.
Sources
- Image file type and format guide MDN Web Docs (Mozilla)
- Portable Network Graphics (PNG) Specification (Third Edition) W3C
- Scalable Vector Graphics (SVG) 1.1 (Second Edition): Introduction W3C
- @page CSS at-rule MDN Web Docs (Mozilla)
- Paper size Wikipedia
- Storage quotas and eviction criteria MDN Web Docs (Mozilla)