tag:blogger.com,1999:blog-4442573390356643522.post2193908006782389019..comments2023-08-24T05:14:56.831-04:00Comments on Thunderhead Explorer: Faster JSON Decoder - NOT :-(thunderheadhttp://www.blogger.com/profile/09200852299600047243noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4442573390356643522.post-81378193745148657462011-12-23T05:35:21.809-05:002011-12-23T05:35:21.809-05:00I am drawing some shapes on map. And i need to sho...I am drawing some shapes on map. And i need to show shapes in the visible area of Map. I have tried different methods, from some maps the shapes are not completely coming to visible area of map. I have tried following:<br /><br />var extent:Extent = GraphicUtil.getGraphicsExtent(this.graphics);<br /> <br /> var yDiff:Number = 0;<br /> if(this.shapeType == 1 || this.shapeType == 2){<br /> yDiff = (extent.ymax - extent.ymin)/8; <br /> }else {<br /> yDiff = (extent.ymax - extent.ymin)/4;<br /> }<br /> this.map.extent.update(extent.xmin-yDiff,extent.ymin-yDiff, extent.xmax+yDiff, extent.ymax+yDiff);<br /> this.map.zoomOut();<br /><br />But still the shape doesn't come to viewable area. Any ideas u can suggest plz?<b> Ashish Kumar Mishra</b> Location: <b>Pune, India</b>https://www.blogger.com/profile/16058676350203361112noreply@blogger.comtag:blogger.com,1999:blog-4442573390356643522.post-69288069666537288962008-10-15T17:08:00.000-04:002008-10-15T17:08:00.000-04:00Actually - you must had read my mind - that is my ...Actually - you must had read my mind - that is my next post :-) Yes, using external interface eval is fast - BUT...it is browser dependent :-( Safari was very good, IE sucked. In addition, I have tried other solutions that I will be talking about in my upcoming post. Stay tuned.thunderheadhttps://www.blogger.com/profile/09200852299600047243noreply@blogger.comtag:blogger.com,1999:blog-4442573390356643522.post-10057305572217194812008-10-15T17:03:00.000-04:002008-10-15T17:03:00.000-04:00How does your 1 megabyte JSON string fare if you e...How does your 1 megabyte JSON string fare if you eval it using ExternalInterface? I know there's a fairly hefty communication overhead, but is it fast enough to move a 1Mb object from Flash to javascript and back again in less than 4 seconds?Tom Cardenhttps://www.blogger.com/profile/11644583190552146847noreply@blogger.com