Skip to content

Commit

Permalink
Fix function call
Browse files Browse the repository at this point in the history
  • Loading branch information
prushforth committed Nov 7, 2024
1 parent 5d4d9e8 commit ae8bfff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapml-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,7 @@ export class HTMLMapmlViewerElement extends HTMLElement {
let queryValue = featureNode.value.value;

if (feature === 'prefers-lang') {
return features['prefers-lang'].values.includes(queryValue).toString;
return features['prefers-lang'].values.includes(queryValue).toString();
} else if (feature === 'map-zoom') {
return evaluateMapZoomFeature(featureNode, this.zoom);
} else if (feature === 'map-projection') {
Expand Down

0 comments on commit ae8bfff

Please sign in to comment.