pitommasi

Members
  • Content count

    166
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by pitommasi


  1. I have downloaded the SR1 of FusionMaps XT to evaluate the chance to upgrade my application.

     

    The problem is that FC_Rendered is not working anymore.

     

    this is the code that I am using:

     

    <html>
     <head> 
    <title>My First map using FusionCharts JavaScript Class</title> 
    <script type="text/javascript" src="Maps/FusionCharts.js"></script>
     </head> 
     <body> 
    <div id="mapContainer">FusionMaps XT will load here!</div> 
    <script type="text/javascript">
     	FusionCharts.debugMode.enabled( function() { console.log(arguments); }, 'verbose');
     	var myMap = new FusionCharts ("Maps/FCMap_World.swf", "MyMapId", "750", "400", "1");
     	myMap.setXMLUrl ("Data.xml");
     	myMap.render("mapContainer"); 
    	function FC_Rendered(DOMId)
    	{
    			alert ( DOMId + " map has been rendered." );                        	
    	}
    </script>
     </body> 
    </html>
    

     

    and the XML used (both from the example contained in the documentation):

     

    <map borderColor='005879' fillColor='D7F4FF' numberSuffix='M' includeValueInLabels='1' labelSepChar=':' baseFontSize='9'>
    	<data>
       	<entity id='NA' value='515' />
       	<entity id='SA' value='373'/>
       	<entity id='AS' value='3875' />
       	<entity id='EU' value='727' />
       	<entity id='AF' value='885' />
       	<entity id='AU' value='32' />
    	</data>
    </map>
    

     

    the function FC_Rendered is never fired.

     

    I have also tried the advanced model version: no luck!

     

    The only events that appear in the console are:

    beforeinitialize, initialized, dataloadrequestcancelled, dataloadrequested, beforerender, internal.domelementcreated

     

    Thank you in advance.


  2. Is there any update on this issue?

     

    What I would like to achieve is to remove the FCTime thing, and to use cache, since our XMLs change only every month or so...

     

    As there have been updates since this post, have you guys done any modification or do I still need to buy the source code to modify this option?

     

    Thanks in advance


  3. Think about the colorRange functionality of the maps.

     

    For example, the following piece of XML:

     

    <colorRange>
    <color minValue="0" maxValue="5"  color="e7fcae" displayValue="Up to 5"/>
    <color  minValue="5" maxValue="`15" color="45779e"  displayValue="5 to 15"/>
    <color  minValue="15" maxValue="50" color="332580"  displayValue="Over 15"/>
    <color minValue="-1" maxValue="0"  color="ffffff" displayValue="No data"/>
    </colorRange>

     

    would produce a chart like the one in the picture.

    post-14963-0-77389000-1343295620_thumb.png


  4. Hi!

     

    Would it be possible to create colouring ranges for bar charts?

     

    Something like the MAP:

     

    <colorRange><color minValue="0" maxValue="500000.000000001" color="e7fcae" displayValue="Up to 500,000"/><color minValue="500000.000000002" maxValue="50000000.000000001" color="45779e" displayValue="500,000 to 50,000,000"/><color minValue="50000000.000000002" maxValue="500000000000" color="332580" displayValue="Over 50,000,000"/><color minValue="-1" maxValue="0" color="ffffff" displayValue="No data"/></colorRange>

    If not, can you please consider it a feature request?

     

    Best regards.


  5. I need to "zoom" into a map and I know that it is possible by applying the "negative margins" trick.

     

    what I need to know is if there is a mosre straightforward way to know which values I need instead of going by a series of guessing and trials.

     

    See the screenshot for reference: the map on the left becomes the map on the right by setting:

     

    mapLeftMargin="-320" mapTopMargin="-520"

     

    But, as I need to do the same thing for several maps, I am wonedring if there is a precise method to know the right values.

     

    thank you in advance.

    post-14963-0-14031400-1339586933_thumb.jpg


  6. I have an application that uses FusionMaps 3.1.

     

    Depending on a user interaction, javascript onclick event, the application switches to a different map:

     

    
    this is the onlick event of the links that change the map:
    
    onclick = changeMap ("Europe");
    onclick = changeMap ("Asia");
    onclick = changeMap ("Africa");
    
    and so on
    
    function changeMap (map) {
    var mapswf = "/mapFiles/FCMap_"+ map +".swf";
    var bkcol = "#ff0000";
    var map = new FusionMaps(mapswf , "MapID", "990", "610", "0", "1",bkcol);
    var dataURL = "text.xml";
    map.setDataURL(dataURL);
    map.setTransparent(true);
    map.render("TheMap");
    }
    
    

     

    TheMap is the ID of the DIV that contains the map

     

    The problem is thatif you click several times on the different links to change the map, at some point no map is show for a while (a minuto or two) and then it shows up..

    Any idea?


  7. Hi,

     

    The new release will have most positive impact on Internet Explorer 6, 7 and 8 (that originally exhibited the worst case) with just 5 to 10% of the original leak amount. FireFox, Chrome and Internet Explorer 9 has been tested to retain only 30% of original leak value but that is consistent with the fact that it originally had nearly half the loss amount when compared to Internet Explorer.

     

     

    Which release are you talking about? When will be this released?