Also, if you have not already seen it, ModestMaps has a pretty cool AS3 implementation.
https://github.com/migurski/modestmaps-as3 I have used it for desktop, web and iOS apps. You can draw markers, polygons etc. just like you would on google maps. If you dont have a lot of success figuring out the earlier approach, see if this works. There is a Flex wrapper for this as well: https://github.com/igorcosta/flex-maps Thanks, Om On Thu, Jan 14, 2016 at 11:55 AM, OmPrakash Muppirala <bigosma...@gmail.com> wrote: > Cool. I see the UK map rendering fine. > > The next step is to figure out why the co-ordinates are not rendering. > The key is to get the correct projection. I am pretty sure GeoJSON > co-ordinates are in Mercator projection. > > Here is a nice article that seems to be solving a similar problem. See if > this helps: > http://mikefowler.me/2014/06/10/drawing-geojson-in-a-canvas/ > > Thanks, > Om > > On Wed, Jan 13, 2016 at 9:59 PM, Deepak MS <megharajdee...@gmail.com> > wrote: > >> Oh I really didn't knew that those values are swapped. Generally it would >> be lat\lng. Sorry for that. That was a sample data I got from the team and >> yes that is Oz data(NSW boundary). >> >> Anyway, to make it simple. I have created a project including the library: >> http://apache-flex-users.2333346.n4.nabble.com/file/n11744/StaticMap.zip >> >> It has data which is a rectangular region surrounding London. >> >> We can get lat\lng points of custom regions here(by drawing >> circles\rectangles\lines on the map): >> http://geojson.io/ >> >> In attached code, UK map gets plotted, only thing now is to draw\highlight >> region on top of the map based on the lat\long data. >> > >