donjuanica

Possible to output an image instead of Flash?

Recommended Posts

We recently switched from Corda OptiMap to FusionMaps. So far we have been happy with the product but one thing that was critical to our business was the ability to output "flat" maps (images) as well as flash movies. Is there any way to do this with FusionMaps or are there plans to implement this in the future?

 

 

 

An example:

 

 

 

 

<div id="mapdiv" align="center"></div>

 

<script type="text/javascript">

 

var map = new FusionMaps("/v4/charts/maps/FCMap_World.swf", "Map1Id", "750", "400", "0", "0" );

 

map.setDataXML("..." );

 

map.render("mapdiv" );

 

</script>

 

<noscript>

 

<img src="/v4/charts/maps/FCMap_World.swf?output=PNG" width="750" height="400">

 

</noscript>

 

 

 

 

Thanks,

 

 

 

Jon

Share this post


Link to post
Share on other sites

Hi Jon,

I'm afraid, as of now, we do not support image export. However, this is in our wishlist too and should be there in our next major version (but some time away).

Share this post


Link to post
Share on other sites
Pallav (9/10/2007)
Hi Jon,

 

 

 

I'm afraid, as of now, we do not support image export. However, this is in our wishlist too and should be there in our next major version (but some time away).

 

 

 

Thanks for your reply. Obviously your technical folks know how to implement a feature like this but here is some (perhaps) useful information:

 

 

 

http://www.quasimondo.com/archives/000645.php

 

 

 

Since your next major release is "some time away" would it be possible to quickly implement a BitmapData export from your flash maps? Maybe something like this:

 

 

 

<chart ... ExportBitmapData='true' BitmapDataPostURL='img.php' ... >

 

 

 

And then once the map is rendered you can use the Flash BitmapData interface to get the pixel data and then post it to the BitmapDataPostURL URL which we could implement to output a PNG or JPG image.

 

 

 

Thanks again for your reply. I'm glad to hear this is on your wishlist and will likely be implemented in the future.

 

 

 

Regards,

 

 

 

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now