18 lines
398 B
JavaScript
18 lines
398 B
JavaScript
import { Feature } from "../types/Feature";
|
|
export class Geo extends Feature {
|
|
cache;
|
|
constructor(cache) {
|
|
super();
|
|
this.cache = cache;
|
|
}
|
|
searchPoi(value, areaCode, typeCode, indexFrom, count) {
|
|
return this.cache.exec('searchPoi', {
|
|
value,
|
|
areaCode,
|
|
typeCode,
|
|
indexFrom,
|
|
count,
|
|
});
|
|
}
|
|
}
|