Show routes, trails, boundaries and placemarks from KML and GPX files on your WordPress maps. MapPress reads the file and draws it with its own colors and styles, on Google Maps or free OpenStreetMap maps.
This map shows a sample KML file (a walking route and a shaded delivery zone, with the colors set in the file) and a sample GPX track.
How it works
- KML and GPX. Add any KML or GPX file by URL, including a KML export from Google My Maps.
- Keeps its styling. Line colors, widths and fill colors from the file are applied.
- Both map engines. Files display on Google Maps and on free OpenStreetMap maps.
- Works on any site. MapPress draws the file itself, so KML works on development and staging sites too, not only on public ones.
- In lists and mashups. Optionally include KML items in the location list and in mashups.
Google is ending its KML layer
Google is dropping support for KML files in Google Maps in May 2027. MapPress no longer relies on Google’s KML layer: it reads KML and GPX files itself, so your maps keep working.
Add it to your site
- Upload your KML or GPX file to the WordPress Media Library and copy its URL, or use the URL of a file hosted elsewhere.
- In the map editor, paste the URL into the search box (“Add address, lat/lng or KML/GPX URL”) and add it.
- Save the map.
FAQ
How do I add a KML file to a WordPress map?
Upload the KML file to your Media Library, then paste its URL into the MapPress map editor’s search box.
Can I show a GPX track on a WordPress map?
Yes. Upload the GPX file to your Media Library (MapPress allows .gpx uploads), then paste its URL into the map editor’s search box.
What happens when Google drops KML support?
MapPress maps aren’t affected. MapPress reads KML and GPX files itself rather than using Google’s KML layer.
Does it work with OpenStreetMap?
Yes. KML and GPX files display on free OpenStreetMap maps as well as Google Maps.
Are KMZ files supported?
Use .kml files. A KMZ file is a zipped KML, so unzip it first and upload the .kml file inside.
Why doesn’t my KML file load?
The file’s URL must be reachable from your visitors’ browsers. Files on your own site always work. Files on another site must allow cross-site access, and https sites need an https file URL.
Free vs Pro
| Free | Pro | |
|---|---|---|
| KML and GPX files on any map | ✓ | ✓ |
| Styles from the file | ✓ | ✓ |
| Google Maps and OpenStreetMap | ✓ | ✓ |
| KML items in mashups | ✓ |
