We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f77032 commit 2aa8ad6Copy full SHA for 2aa8ad6
src/leaflet/widgets/poisearch/POISearchViewModel.js
@@ -61,7 +61,7 @@ export var POISearchViewModel = L.Evented.extend({
61
* @function L.supermap.widgets.poiSearchViewModel.prototype.search
62
* @description 查询
63
* @param {string} keyWord - 查询的关键字
64
- * @param {string||null} searchLayerName - 执行的查询类型,默认为null,支执行矢量图层属性查询,当为 "geocode" 则执行地址匹配
+ * @param {string} [searchLayerName=null] - 执行的查询类型,默认为null,支执行矢量图层属性查询,当为 "geocode" 则执行地址匹配
65
*/
66
search(keyWord, searchLayerName = null) {
67
if (!searchLayerName) {
0 commit comments