``` npm i freeqqmapplus ```
npm install freeqqmapplus
npm i freeqqmapplus
`
$3
`
import MapPlus from "freeqqmapplus"
this.map = new MapPlus({
AK: AK,
htmlId: 'id_for_map',
searchFun: services.getPlaceInfo,
getCurrentLocationFun: services.getDistrictInfo,
getLocationPoiFun: services.getlocationPoi,
complete: () => {
this.listenMapClickHandler = this.map.onClickMap(({ lat, lng }) => {
this.onClickMap(lat, lng);
});
},
});
`
$3
`
this.map.searchService()
``