Add IGC files to drag-and-drop example

This commit is contained in:
Tom Payne
2014-01-16 19:22:06 +01:00
parent ee91a99056
commit 27fed257ff
2 changed files with 4 additions and 2 deletions

View File

@@ -2,6 +2,7 @@ goog.require('ol.Map');
goog.require('ol.RendererHint');
goog.require('ol.View2D');
goog.require('ol.format.GPX');
goog.require('ol.format.IGC');
goog.require('ol.format.KML');
goog.require('ol.interaction');
goog.require('ol.interaction.DragAndDrop');
@@ -84,6 +85,7 @@ var map = new ol.Map({
new ol.interaction.DragAndDrop({
formatConstructors: [
ol.format.GPX,
ol.format.IGC,
ol.format.KML
],
styleFunction: styleFunction