Skip to content

Commit

Permalink
Correctif sur le format des GFI
Browse files Browse the repository at this point in the history
cf. issue n°20 sur le projet geoportal-sdk
(IGNF/geoportal-sdk#20)
  • Loading branch information
lowzonenose committed Sep 21, 2017
1 parent 5d1e66b commit dc96bc6
Show file tree
Hide file tree
Showing 12 changed files with 2 additions and 625 deletions.
1 change: 1 addition & 0 deletions samples/ol3/GetFeatureInfo/amd.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ <h3>
},
{
obj : gpRoad,
infoFormat : "text/plain"
},
// {
// obj : gpMaps //pour test : non interrogeable
Expand Down
2 changes: 1 addition & 1 deletion src/Ol3/GfiUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ define([
var p = positions[k];
for ( var h = 0 ; h < layersOrdered[p].length ; ++h ) {
var l = layersOrdered[p][h].obj;
var infoFormat = layersOrdered[p].infoFormat || "text/html";
var infoFormat = layersOrdered[p][h].infoFormat || "text/html";
var minMaxResolutionOk = true ;
if ( l.minResolution &&
l.minResolution > map.getResolution()) {
Expand Down
10 changes: 0 additions & 10 deletions test/spec_rendering/README

This file was deleted.

79 changes: 0 additions & 79 deletions test/spec_rendering/leaflet/IsoChrone-options.html

This file was deleted.

77 changes: 0 additions & 77 deletions test/spec_rendering/leaflet/IsoChrone.html

This file was deleted.

78 changes: 0 additions & 78 deletions test/spec_rendering/leaflet/LayerSwitcher.html

This file was deleted.

78 changes: 0 additions & 78 deletions test/spec_rendering/leaflet/MousePosition-options.html

This file was deleted.

Loading

0 comments on commit dc96bc6

Please sign in to comment.