Skip to content
Permalink
Browse files

Add JSON format in WMS parameters

  • Loading branch information
pblottiere committed Jan 18, 2019
1 parent 42413ce commit f6bfc9858c932b25b652e82ae0614dc601d315f2
Showing with 4 additions and 1 deletion.
  1. +2 −0 src/server/services/wms/qgswmsparameters.cpp
  2. +2 −1 src/server/services/wms/qgswmsparameters.h
@@ -758,6 +758,8 @@ namespace QgsWms
f = Format::TEXT;
else if ( fStr.startsWith( QLatin1String( "application/vnd.ogc.gml" ), Qt::CaseInsensitive ) )
f = Format::GML;
else if ( fStr.startsWith( QLatin1String( "application/json" ), Qt::CaseInsensitive ) )
f = Format::JSON;
else
f = Format::NONE;

@@ -309,7 +309,8 @@ namespace QgsWms
TEXT,
XML,
HTML,
GML
GML,
JSON
};

/**

0 comments on commit f6bfc98

Please sign in to comment.
You can’t perform that action at this time.