本月博客排行
-
第1名
宏天软件 -
第2名
kaizi1992 -
第3名
vipbooks - wallimn
- ganxueyun
- arpenker
- daizj
- xpenxpen
- yeluowuhen
- zhangjijun
- sunnylocus
年度博客排行
-
第1名
青否云后端云 -
第2名
宏天软件 -
第3名
wy_19921005 - gashero
- gengyun12
- robotmen
- vipbooks
- 大家都说我很棒
- fantaxy025025
- wallimn
- hbxflihua
- qepwqnp
- e_e
- 解宜然
- ranbuijj
- javashop
- zw7534313
- ssydxa219
- jickcai
- sam123456gz
- gdpglc
- zysnba
- sichunli_030
- tanling8334
- appalese
- benladeng5225
- gaojingsong
- wiseboyloves
- zhangyi0618
- xpenxpen
- jh108020
- luxurioust
- xyuma
- 龙哥IT
- nychen2000
- arpenker
- wjianwei666
- wangchen.ily
- jbosscn
- lzyfn123
- 狂盗一枝梅
- Jameslyy
- hanbaohong
- java-007
- xiangjie88
- kaizi1992
- mengjichen
- silverend
- ajinn
- zxq_2017
最新文章列表
openlayer4 弹出框封装
很多场景需要在地图上弹出一个tooltip或者popup之类的小窗口显示一些信息,最近简单做了一下封装,方便后续调用,代码如下:
/*
刘玉峰 jjxliu306@163.com
2018-05-05
*/
//点击后高亮下方的feature 并且弹出popup信息做展示
Popup = function(map ){
this.map = map ;
...
emacs auto-complete 无效
emacs使用ac插件很平常,有时发现ac不可用,可能原因为emacs的窗口最大化了。
使用如下语句可以使emacs启动时最大化:
;; set emacs fullscreen
;; (if (eq system-type 'windows-nt)
;; (w32-send-sys-command 61488))
此时,使用ac会看到popup-el报错,找不到max-w ...
OpenLayers 选中元素弹框
写道
http://www.openlayers.org/dev/examples/select-feature-openpopup.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/htm ...
调用Popup时发生is your activity running
应策划要求,做一个左下角悬浮框的效果,于是快马加鞭,写了个Popup,接关就遇到了下面这个诡异的异常。
在调用Popup时,出现"is your activity running"异常,针对该异常信息的提示,认为是该Activity未启动,加上this.isFinishing方法,无用,判断可能出现Context被锁住,改写代码,无用,this、this.g ...