Removing KML descriptor from list of supported formats
This commit is contained in:
parent
d1436cce38
commit
8f3de7d022
@ -60,9 +60,8 @@ public:
|
|||||||
searchEngine = new SearchEngine<EdgeData, StaticGraph<EdgeData> >(graph, nodeHelpDesk, names);
|
searchEngine = new SearchEngine<EdgeData, StaticGraph<EdgeData> >(graph, nodeHelpDesk, names);
|
||||||
|
|
||||||
descriptorTable.Set("", 0); //default descriptor
|
descriptorTable.Set("", 0); //default descriptor
|
||||||
descriptorTable.Set("kml", 0);
|
descriptorTable.Set("json", 0);
|
||||||
descriptorTable.Set("json", 1);
|
descriptorTable.Set("gpx", 1);
|
||||||
descriptorTable.Set("gpx", 2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual ~ViaRoutePlugin() {
|
virtual ~ViaRoutePlugin() {
|
||||||
@ -184,7 +183,6 @@ public:
|
|||||||
if("cmp" == routeParameters.options.Find("geomformat") || "cmp6" == routeParameters.options.Find("geomformat") ) {
|
if("cmp" == routeParameters.options.Find("geomformat") || "cmp6" == routeParameters.options.Find("geomformat") ) {
|
||||||
descriptorConfig.encodeGeometry = true;
|
descriptorConfig.encodeGeometry = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch(descriptorType){
|
switch(descriptorType){
|
||||||
case 0:
|
case 0:
|
||||||
desc = new JSONDescriptor<SearchEngine<EdgeData, StaticGraph<EdgeData> > >();
|
desc = new JSONDescriptor<SearchEngine<EdgeData, StaticGraph<EdgeData> > >();
|
||||||
|
Loading…
Reference in New Issue
Block a user