开发者

Google maps API - JavaScript vs Flash - what's faster?

I draw on the map about a thousand of si开发者_如何学Pythonmple polygons using JavaScript API V3

I'm not so happy about performance, especially on IE - it takes about 90 seconds to draw all polygons and the map became hardly responsive

There is any chance Flash API deals with a large amount of polygons better then JavaScript?


Yes. The Maps API for Flash will generally handle a large amount of polygons better than JS.

You can also get some strategies for improving performance from this talk, given at Google I/O 2009:

  • Video: http://www.youtube.com/watch?v=zI8at1EmJjA
  • Slides: http://docs.google.com/Present?skipauth=true&docid=dggjrx3s_325gr9vthfq
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜