This document is a demo of
FileAPI
with drag and drop. Drag a geographic file (KML, GPX or OSM) on the map, and it will be drawn.