Method |
Returns |
Description |
---|---|---|
getFloorNona( <Number> floor ) |
String |
根据楼层获取楼层别名. |
routePath(<Object> startOption, <Object> stopOption, <Function> sucessback, <Function> errback,<object> option ) |
object |
路径规划. |
cancelRoutePath() |
this |
取消路径规划. |
cancelClick() |
this |
取消商铺或设施点击. |
hightLightFacility( <String> ft_sourceid ) |
this |
根据ft_sourceid高亮设施. |
cancelHightLightFacility( <String> ft_sourceid ) |
this |
根据ft_sourceid取消高亮的设施. |
hightLightShop( <String> ft_sourceid ) |
this |
根据ft_sourceid高亮商铺. |
cancelHightLightShop( ) |
this |
取消高亮商铺. |
cancelHightLightAll( ) |
this |
取消所有高亮. |
addLocateMarker( <LatLng> latlng, <object> options? ) 注:options为{angle:角度},参考Icon options 例子:map.addLocateMarker(map.getCenter(),{angle:90}) 返回的Marker对象中会有setAngle(<Number> angle)的方法,可以改变角度; |
Marker |
增加一个可以设置角度的定位标记. |
closePopup( <Popup> popup ) |
this |
关闭指定popup,如果参数为空,则关闭前一个popup. |
computeAngle( <LatLng> A,计算y轴旋转到B点的角度. |
||
setShopStyle( <String> ft_sourceid,<path> style ) 注:style 参考path options 同时增加fontColor设置字体颜色 |
this |
根据ft_sourceid自定义商铺显示样式. |
resetShopStyle( <String> ft_sourceid ) |
this |
根据ft_sourceid恢复商铺默认样式. |
hideShopFont( <String> ft_sourceid ) |
this |
根据ft_sourceid隐藏商铺文字. |
showShopFont( <String> ft_sourceid ) |
this |
根据ft_sourceid显示商铺文字 |