Re: [FlexJS] US States Map example - pure AS3
Wow! that was quick. Thank you so much Om. That really helps : ) I'll let you know how it goes. On 12 Jan 2016 3:20 pm, "OmPrakash Muppirala" wrote: > 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 > 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 > > > 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 > > > > > > > > > > > > > > >
RE: [FlexJS] US States Map example - pure AS3
Hi Deepak, >> https://github.com/uhub/awesome-actionscript Wow, thanks for sharing, extensive set of libraries! Rgs Sugan -Original Message- From: Deepak MS [mailto:megharajdee...@gmail.com] Sent: Tuesday, January 12, 2016 10:34 AM To: dev@flex.apache.org Subject: Re: [FlexJS] US States Map example - pure AS3 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 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 > 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 > > > > > >
Re: [FlexJS] US States Map example - pure AS3
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 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 > > 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 > > 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 > > > > > > > > > >
Re: [FlexJS] US States Map example - pure AS3
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 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 > 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 > > > > > >
Re: [FlexJS] US States Map example - pure AS3
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 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 > > 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 > > >
Re: [FlexJS] US States Map example - pure AS3
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 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 >
Re: [FlexJS] US States Map example - pure AS3
In the JS what the heck is this! // generated by FalconJS HAHA get that out of there, must be a mistake by Alex?. :) Nice work Om, it's kewl to see how tight AS3 looks to create something like that for js. I think the compelling thing about this project right now is not that it transpiles AS but how AS so easily lends itself to components and shared code with tight and documented type safe API. Mike On Fri, Jun 19, 2015 at 5:04 PM, OmPrakash Muppirala 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 >
[FlexJS] US States Map example - pure AS3
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