开发者

Custom Map Tiles in Google Maps Flash API

Is it possible to substitute your own tiles for google's map tiles in the flash version of the api?

I don't mean overlaying 开发者_StackOverflow中文版tiles on top of google's tiles but actually replacing them. We already do this using the V3 Javascript API, and would like to do the same for flash.


i don't believe so, but you should download the API and skim thru the documentation to be sure. if you're already knowledgable of the javascript API, you'll know exactly what to look for. from what you describe, i'm not even sure i understand the difference between overlaying tiles and replacing tiles.

the most recent addition to the Google Maps for Flash API is Styled Maps and Elevation Services.


Update

if you are trying to avoid is seeing google's tiles quickly appear on the screen before your own, you could listen for the TILES_LOADED type of mapEvent, which will fully load your map tiles before showing them:

map.addEventListener(MapEvent.TILES_LOADED, tilesLoadedEventHandler);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜