forked from MTSR/mapserver
digiline lcd & digiterm search
This commit is contained in:
parent
3adcec1df4
commit
922fbee059
@ -52,6 +52,18 @@ var SearchResult = {
|
|||||||
type = m("img", { src: "pics/mapserver_label.png" });
|
type = m("img", { src: "pics/mapserver_label.png" });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// digiterm
|
||||||
|
if (obj.type == "digiterm"){
|
||||||
|
description = m("span", obj.attributes.display_text);
|
||||||
|
type = m("img", { src: "pics/digiterms_beige_front.png" });
|
||||||
|
}
|
||||||
|
|
||||||
|
// digiline lcd
|
||||||
|
if (obj.type == "digilinelcd"){
|
||||||
|
description = m("span", obj.attributes.text);
|
||||||
|
type = m("img", { src: "pics/lcd_lcd.png" });
|
||||||
|
}
|
||||||
|
|
||||||
// locator
|
// locator
|
||||||
if (obj.type == "locator"){
|
if (obj.type == "locator"){
|
||||||
description = m("span", obj.attributes.name);
|
description = m("span", obj.attributes.name);
|
||||||
|
@ -36,7 +36,9 @@ var SearchService = {
|
|||||||
searchFor("travelnet", "station_name", SearchStore.query),
|
searchFor("travelnet", "station_name", SearchStore.query),
|
||||||
searchFor("bones", "owner", SearchStore.query),
|
searchFor("bones", "owner", SearchStore.query),
|
||||||
searchFor("locator", "name", SearchStore.query),
|
searchFor("locator", "name", SearchStore.query),
|
||||||
searchFor("label", "text", SearchStore.query)
|
searchFor("label", "text", SearchStore.query),
|
||||||
|
searchFor("digiterm", "display_text", SearchStore.query),
|
||||||
|
searchFor("digilinelcd", "text", SearchStore.query)
|
||||||
];
|
];
|
||||||
|
|
||||||
Promise.all(prom_list)
|
Promise.all(prom_list)
|
||||||
|
Loading…
Reference in New Issue
Block a user