简体   繁体   中英

How can create right menu sidebar on google map

I want create menu sidebar on google map and onclick show menu description

right menu sidebar 右侧菜单侧栏

show menu description if onclick 显示菜单说明

I do this but menu fix on right window on browser. I want show menu on google map 我做这个

How can I learn how to do.
Thank you

This is not connected the maps it's just a positioned html element.

something like this:

#rpanel {
  width: 200px;
  height: 200px;
  background: #fff;
  position: absolute;
  right: -180px;
  top: 200px;
}

#rpanel:hover {
  right: 0;
}

<div id="rpanel">im in the right</div>

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM