diff --git a/examples/drag-and-drop.html b/examples/drag-and-drop.html
index 7a87401793..21d8341818 100644
--- a/examples/drag-and-drop.html
+++ b/examples/drag-and-drop.html
@@ -31,11 +31,11 @@
Drag-and-Drop example
-
Example of using the drag-and-drop interaction. Drag and drop KML files on to the map.
+
Example of using the drag-and-drop interaction. Drag and drop GPX or KML files on to the map.
-
drag-and-drop, kml
+
drag-and-drop, gpx, kml
diff --git a/examples/drag-and-drop.js b/examples/drag-and-drop.js
index ee60be23bd..7044578401 100644
--- a/examples/drag-and-drop.js
+++ b/examples/drag-and-drop.js
@@ -1,6 +1,7 @@
goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
+goog.require('ol.format.GPX');
goog.require('ol.format.KML');
goog.require('ol.interaction');
goog.require('ol.interaction.DragAndDrop');
@@ -82,6 +83,7 @@ var map = new ol.Map({
interactions: ol.interaction.defaults().extend([
new ol.interaction.DragAndDrop({
formatConstructors: [
+ ol.format.GPX,
ol.format.KML
],
styleFunction: styleFunction