var options = { controls : [ new OpenLayers.Control.Navigation(), new OpenLayers.Control.KeyboardDefaults(), new OpenLayers.Control.Scale(), new OpenLayers.Control.MousePosition({ formatOutput:_this.MousePositionFormatOutput }), new OpenLayers.Control.LayerSwitcher(), new OpenLayers.Control.PanZoomBar()], projection: new OpenLayers.Projection("EPSG:900913"), displayProjection : new OpenLayers.Projection("EPSG:4326"), units: "m", numZoomLevels:19, maxResolution: 156543.0339, maxExtent: new OpenLayers.Bounds(-20037508.34, -20037508.34, 20037508.34, 20037508.34) };
map = new OpenLayers.Map('map', options); var qqmap = new OpenLayers.Layer.QQMap('qqmap', ["http://p0.map.soso.com/maptilesv2/", "http://p1.map.soso.com/maptilesv2/", "http://p2.map.soso.com/maptilesv2/", "http://p ...
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】凌霞软件回馈社区,博客园 & 1Panel & Halo 联合会员上线
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步