Upgrading to v3.1 from FusionMaps v3.0.x |
This section is meant for users who have implemented v3.0.x of FusionMaps in their applications and are now upgrading to FusionMaps v3.1. All the features of FusionMaps v3.1 are backward compatible with FusionMaps v3.0.7, barring one - exporting maps as images/PDFs. So, if you're not using "Export as image" feature currently, you can just over-write your old chart SWF files with the new ones and the process is complete. However, if you do use the "Export as image" functionality and wish to use the new features of v3.1, please follow the steps below.
|
Making use of new "Export as Image/PDF" functionality |
Since FusionMaps now allows export of charts at both server and client side, there have been substantial changes in implementation. If you're currently using v3.0.x with server-side saving set as on, you'll need to:
If you intend to use the new client-side FusionMaps Exporter Component, please follow the instructions in the section "Exporting as Image/PDF" |
Making use of new JavaScript events/methods |
If you intend to make use of the new JavaScript events or methods exposed in v3.1, you'll have to make necessary modifications in your code. Please see the section "FusionCharts & JavaScript" to get more details on the new API. Existing JavaScript implementations using FC_Rendered or FC_Loaded events and setDataXML() and setDataURL() methods would continue to function without any problem. |
Making use of % sizing (initial) |
Starting FusionCharts v3.1, you can now specify your map's width and height in % (during initialization only). This sets the map size with respect to the parent container that contains it. |