@spheraware/plugin-locationsearch v1.1.6
LocationSearch
Publishing
Ensure you've properly updated the version number in ./overlay/balloon/package.json
according to Semantic Versioning standards!
Take note of the new version number and run this command:
git tag vXXXXXX
where "XXXXXX" is the version number.
Then run git push origin --tags
.
Documentation
new LocationSearch( markerController: any, uiController: any, config: any, latLonHelper: any, logTags: any, fetch: any, log: any, resultFn?: Function );
markerController
The MarkerController from a PuzzleMap-related application.
uiController
The UIController from a PuzzleMap-related application.
config
The Config of a PuzzleMap-related application.
latLongHelper
The LatLonHelper class of a PuzzleMap-related application.
logTags
The LogTags enum from a PuzzleMap-related application.
fetch
The fetch provider.
log
The Log handler.
resultFn
Optional callback function that is invoked when a search result is clicked. The callback is invoked with the search result's coordinates (arg1) and the search result's name (arg2). If the function is not provided then the LocationSearch will automatically create a marker on the map at the search result's location.