We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f8e78 commit eff317fCopy full SHA for eff317f
src/mapboxgl/mapping/WebMap.js
@@ -1999,7 +1999,7 @@ export class WebMap extends mapboxgl.Evented {
1999
allFeatures[i].properties.lat = coordinate[1];
2000
}
2001
2002
- features.properties['index'] = i + '';
+ feature.properties['index'] = i + '';
2003
features.push(feature);
2004
2005
return features;
test/mapboxgl/mapping/WebMapSpec.js
@@ -516,7 +516,7 @@ describe('mapboxgl_WebMap', () => {
516
return Promise.resolve();
517
});
518
spyOn(FetchRequest, 'post').and.callFake((url) => {
519
- if (url.indexOf('queryResults.json') > -1) {
+ if (url.indexOf('queryResults') > -1) {
520
return Promise.resolve(new Response(supermapRestData));
521
522
0 commit comments