07 2015 档案
摘要:一.中心点在左上角由于是隐藏状态下创建的地图,这样会导致地图容器宽高为0,在宽高为0的容器上,中心点自然也是0了,即容器的左上角。两种解决方法:setTimeout(function(){ map1.centerAndZoom(pt,13);},100);map1.addEventListen...
阅读全文
摘要:最大宽度为640 1rem = 32px:(function() { var b = document.documentElement, a = function() { var a = b.getBoundingClientRect().w...
阅读全文
摘要:https://github.com/ruiz107/quicksearch/
阅读全文