Okay, I have created a map component from scratch in Flex.

Here is the basic code
https://github.com/bigosmallm/flexmapcomponent/tree/master/MapComponent

For now, this supports only a WorldMap.  You can follow the code and create
a UK map, it should be straightforward.

You can get your maps from wikipedia as svg files and load them as plain
xml files (like in WorldMap.as)

Hope this is a good starting point for you.

Thanks,
Om

On Tue, Jan 12, 2016 at 12:34 AM, Deepak MS <megharajdee...@gmail.com>
wrote:

> Hi Om,
> I need it ASAP, as I need to wrap it up by this month end. That's great to
> hear from you. Surely, I'll pitch in.
>
> For now, I wanted UK's map with its states\bricks highlighting based on
> data(For Ex: red\yellow\green). If it's for SDK, then I guess it needs to
> be generalised(for both web and mobile). Any ideas what can be the best
> approach for this?
>
> While searching some more, I came across this great place where there are
> so many flex libraries(at least I was not aware of many of them). May be
> this will be of some help to others too:
> https://github.com/uhub/awesome-actionscript
>
> In that list, I got this library which fits by needs.
>
> https://github.com/Srirangan/flex-choropleth-map-component/blob/master/ChoroplethMapExample.mxml
>
> However, it's purely in Flex 3. Need to check if converting it to 4 works
> as intended or if there shall be many changes to it. I'll be doing that
> now.
>
> I'm not quite sure how to get those lat\long points for the boundaries. I
> tried http://geojson.io/ , but that's for custom coordinates.
>
> On Tue, Jan 12, 2016 at 1:20 PM, OmPrakash Muppirala <bigosma...@gmail.com
> >
> wrote:
>
> > Deepak,
> >
> > I have been thinking of adding a similar Map component to the Flex SDK.
> > How urgently do you need this component?
> > Can you help out with adding this to the Flex SDK?  If I have some help,
> I
> > can build it faster.
> >
> > It should not be very hard and I can help you all the way, as needed.
> >
> > Thanks,
> > Om
> >
> > On Mon, Jan 11, 2016 at 8:55 PM, Deepak MS <megharajdee...@gmail.com>
> > wrote:
> >
> > > Hi there,
> > > We have a requirement to have a heat map for one of the application.
> It's
> > > required for both web and iPad(app). I have a common library for both
> and
> > > one of the views needs this heat map(of UK).
> > >
> > > Om,
> > > AS Code: https://gist.github.com/anonymous/d1d8d6d8c544f985e387
> > > That code seems to be FlexJS specific. Is there something similar which
> > is
> > > purely using Flex\AIR? I tried to search, but all of them seem to be
> > actual
> > > maps(like google, modestmap, ArcGIS etc) which needs network
> > connectivity.
> > > App would be offline, hence I just need to draw that country and
> > highlight
> > > specific parts of the country based on data.
> > >
> > > Kindly let me know how can I go about it.
> > >
> > > Cheers!
> > > Deepak
> > >
> > > On Sat, Jun 20, 2015 at 2:34 AM, OmPrakash Muppirala <
> > bigosma...@gmail.com
> > > >
> > > wrote:
> > >
> > > > Here is an updated version of the US states map example with
> animation
> > > > added:
> > > >
> > > > Demo: http://bigosmallm.github.io/flexjs/mapexample/
> > > > AS Code: https://gist.github.com/anonymous/d1d8d6d8c544f985e387
> > > > JS Code: https://gist.github.com/anonymous/08b471bae33a8ffba4d1
> > > >
> > > > The entire app was written in ActionScript3.  The compiler took care
> of
> > > > creating all the HTML, Javascript and CSS files.  The resulting app
> > runs
> > > on
> > > > all browsers (including iOS devices ;-) )
> > > >
> > > > Needless to say, this is a huge milestone.  Look forward to more cool
> > > > stuff!
> > > >
> > > > Thanks,
> > > > Om
> > > >
> > >
> >
>

Reply via email to