forked from abaevdict/abaev-basex
fixed map
This commit is contained in:
parent
9109c93e6a
commit
abf143eeab
1 changed files with 11 additions and 1 deletions
|
@ -58,4 +58,14 @@ declare %rest:path("{$lang}/map")
|
||||||
Plotly.newPlot(map, [mapdata], layout);
|
Plotly.newPlot(map, [mapdata], layout);
|
||||||
")}
|
")}
|
||||||
</script>)
|
</script>)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
declare %rest:path("map")
|
||||||
|
%rest:query-param("entry", "{$entry}")
|
||||||
|
%rest:GET
|
||||||
|
%rest:produces("text/html")
|
||||||
|
%output:method("html")
|
||||||
|
%output:html-version('5')
|
||||||
|
function map:map($entry as xs:string) {
|
||||||
|
map:map('en', $entry)
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue