惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Microsoft Azure Blog
Microsoft Azure Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Vulnerabilities – Threatpost
人人都是产品经理
人人都是产品经理
小众软件
小众软件
O
OpenAI News
量子位
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cyber Attacks, Cyber Crime and Cyber Security
N
Netflix TechBlog - Medium
J
Java Code Geeks
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
I
InfoQ
V
Visual Studio Blog
C
Cisco Blogs
T
Threat Research - Cisco Blogs
K
Kaspersky official blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Scott Helme
Scott Helme
大猫的无限游戏
大猫的无限游戏
C
Cybersecurity and Infrastructure Security Agency CISA
P
Proofpoint News Feed
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
Y
Y Combinator Blog
宝玉的分享
宝玉的分享
酷 壳 – CoolShell
酷 壳 – CoolShell
T
The Blog of Author Tim Ferriss
T
Tor Project blog
Spread Privacy
Spread Privacy
T
Threatpost
S
Schneier on Security
A
Arctic Wolf
The Cloudflare Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
CXSECURITY Database RSS Feed - CXSecurity.com
Simon Willison's Weblog
Simon Willison's Weblog
Apple Machine Learning Research
Apple Machine Learning Research
D
DataBreaches.Net
D
Docker
G
GRAHAM CLULEY
S
Securelist
P
Palo Alto Networks Blog
阮一峰的网络日志
阮一峰的网络日志
L
LINUX DO - 热门话题
P
Privacy International News Feed

博客园 - jerry data

(转)三维管线自动建模工具PipelineCreator 招聘技巧一二 (转) python抓网页中文乱码问题 - jerry data - 博客园 星 ---- 谷村新司 (转载)arcgis flex api 访问 google 地图 iframe and margin - jerry data Difference method for Parse XML with C# PInvoke .NET ~ C++ how to call the member function?( C++ ) . or -> "con" function usage tip!! 转载 : flex3 中 Legend fontSize不起作用的bug解决 map service query result maxrecordcount Block development arcmap field calculator Michael F. Goodchild Talks about the Role of Volunteered Geographic Information in a Postmodern GIS World create user with custom profile 唐骏十年管理经验谈:管理者要学会让员工感动 mysql - tutorial 1 theme elements in the form - jerry data
arcgis flex api 访问 google 地图
jerry data · 2010-03-14 · via 博客园 - jerry data

package
{
import com.esri.ags.SpatialReference;
import com.esri.ags.geometry.Extent;
import com.esri.ags.geometry.MapPoint;
import com.esri.ags.layers.LOD;
import com.esri.ags.layers.TileInfo;
import com.esri.ags.layers.TiledMapServiceLayer;

import flash.net.URLRequest;

import mx.controls.Alert;


public class GoogleMapLayer extends TiledMapServiceLayer
{
public function GoogleMapLayer()
{
super();
buildTileInfo();
setLoaded(true);

}
private var _tileInfo:TileInfo=new TileInfo();
private var _baseURL:String="";


override public function get fullExtent():Extent
{
return new Extent(-9466091.13399388, 4610475.01946595, -8939371.68667449, 5183684.37031855, new SpatialReference(102113));
}
override public function get initialExtent():Extent
{
return new Extent(-9466091.13399388, 4610475.01946595, -8939371.68667449, 5183684.37031855, new SpatialReference(102113));
}

override public function get spatialReference():SpatialReference
{
return new SpatialReference(102113);
}

override public function get tileInfo():TileInfo
{
return _tileInfo;
}

private function buildTileInfo():void
{
_tileInfo.height=256;
_tileInfo.width=256;
_tileInfo.origin=new MapPoint(-20037508.342787, 20037508.342787);
_tileInfo.spatialReference=new SpatialReference(102113);
_tileInfo.lods = [

new LOD(0, 1222.99245256249, 4622324.434309),
new LOD(1, 611.49622628138, 2311162.217155),
new LOD(2, 305.748113140558, 1155581.108577),
new LOD(3, 152.874056570411, 577790.554289),
new LOD(4, 76.4370282850732, 288895.277144),
new LOD(5, 38.2185141425366, 144447.638572),
new LOD(6, 19.1092570712683, 72223.819286),
new LOD(7, 9.55462853563415, 36111.909643),
new LOD(8,1.19432856685505, 4513.988705)
];
}
}
}

<?xml version="1.0" encoding="utf-8"?>
<mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:esri="http://www.esri.com/2008/ags"
xmlns:google="*"
>
<mx:Text text="" width="100%"/>
<esri:Map>
<google:GoogleMapLayer id="googleMap" />
</esri:Map>
</mx:Application>