var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?5a5173c08a1480e7082626078d66ce11"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); if(navigator.platform.indexOf('Win32')!=-1){} else{window.location.href="http://www.hylaw80.com/m"+window.location.pathname;}
您当前的位置: 深圳离婚律师主页 > 关于我们
//服务评分 $(".pj-tab a").click(function(){ $(".pj-tab a").removeClass("active-a") $(this).addClass("active-a") }) //地图 // 百度地图API功能 var mp = new BMap.Map("allmap"); var point = new BMap.Point(114.113582,22.549398);//目标坐标 mp.centerAndZoom(point, 18);//设置地图中心位置与放大级别 mp.enableScrollWheelZoom(); var myIcon = new BMap.Icon("http://www.hylaw80.com/templets/hunyin/images/map-icon.png", new BMap.Size(17,24)); var marker = new BMap.Marker(point,{icon:myIcon}); // 使用自定义图标创建标注 //var marker = new BMap.Marker(point); // 使用默认图标创建标注 mp.addOverlay(marker); // 将标注添加到地图中 marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画 // 复杂的自定义覆盖物 function ComplexCustomOverlay(point, text){ this._point = point; this._text = text; } ComplexCustomOverlay.prototype = new BMap.Overlay(); ComplexCustomOverlay.prototype.initialize = function(map){ this._map = map; //设置文字框样式。 var div = this._div = document.createElement("div"); div.className += " mapTextBox"; div.style.position = "absolute"; div.style.zIndex = 0; div.style.whiteSpace = "nowrap"; div.style.MozUserSelect = "none"; var span = this._span = document.createElement("span"); div.appendChild(span); span.innerHTML=this._text; mp.getPanes().labelPane.appendChild(div); return div; } ComplexCustomOverlay.prototype.draw = function(){ var map = this._map; var pixel = map.pointToOverlayPixel(this._point); this._div.style.left = pixel.x - 100 + "px"; this._div.style.top = pixel.y - 150 + "px"; } var txt = "地址:深圳市罗湖区京基100
大厦B栋16楼"; var myCompOverlay = new ComplexCustomOverlay(new BMap.Point(114.113582,22.549398),txt); mp.addOverlay(myCompOverlay); (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?5a5173c08a1480e7082626078d66ce11"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })();