By using the visualization API, i've been able to get a local map of Peru
(by province) and got it working correctly while developing our application
locally.
The code used to display the map is the following:
function cargarMapa(departamento)
{
var data = google.visualization.arrayToDataTable([
['City'],
[departamento]
]);
var options = {
region: 'PE',
displayMode: 'regions',
resolution: 'provinces',
colorAxis: { colors: ['green'] },
width: 465,
height: 225
};
var geochart = new google.visualization.GeoChart(
document.getElementById('geochart_div'));
geochart.draw(data, options);
}
And it works like a charm when working in my PC:
EXAMPLE: [image: Geochart working in local environment]
It works whenever i run the application (im using Visual Studio 2012 and
IIS 8) and also when i deploy it on my laptop (FYI, im doing so while being
in my University network). BUT, when i deploy this in my University's local
server (IIS 7.5), i get the following error:
FYI, i use other charts from the visualization API and they load perfectly
The code is exactly the same so, what could the issue be?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.