Class: logo

logo

Logo控件。

leaflet/control/Logo.js, line 5

map初始化的配置项为logoControl,如果为true,则显示控件;否则不显示该控件。目前默认显示。

Name Type Description
options Object

logo控件配置项
imageUrl - {string} logo图片地址
width - {string} logo图片宽
height - {string} logo图片高
link - {string} 跳转链接
alt - {string} logo图片失效时显示文本

Example
L.supermap.control.Logo({
     imageUrl: xxx,//非必填项
 }).addTo(map);

Extends