[gnome-maps] geoJSON: Add application/geo+json mime type



commit a7f3d49ebda3a2956aa85c3707525ad353aab40c
Author: Marcus Lundblad <ml update uu se>
Date:   Wed Mar 8 20:58:46 2017 +0100

    geoJSON: Add application/geo+json mime type
    
    It seems GeoJSON files are identified by later versions of the mime type
    database as application/geo+json. So add this type to the supported ones
    for the shape layer implementation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778794

 src/geoJSONShapeLayer.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/geoJSONShapeLayer.js b/src/geoJSONShapeLayer.js
index 2ab926a..c390e31 100644
--- a/src/geoJSONShapeLayer.js
+++ b/src/geoJSONShapeLayer.js
@@ -50,5 +50,6 @@ const GeoJSONShapeLayer = new Lang.Class({
 });
 
 GeoJSONShapeLayer.mimeTypes = ['application/vnd.geo+json',
+                               'application/geo+json',
                                'application/json'];
 GeoJSONShapeLayer.displayName = 'GeoJSON';


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]