You are not logged in.
Hi
Im trying to use Ammap for a Facebook application without Javascript - i read another post in this forum that suggests appending the url of the data file and the settings file so i end up with something like this:
<fb:swf swfsrc="http://myurl/ammap/ammap/ammap.swf?data_file=http://myurl/ammap/ammap/ammap_data.xml&settings_file=http://myurl/ammap/ammap/ammap_settings.xml" width="590" height="400"></fb:swf>
I also set the map_file setting in the datafile to: map_file="http://myurl/ammap/ammap/maps/world.swf"
I get the map to show in my application but it seems to ignore the settings file as the colours are not right for the map!
anyone got any ideas???
regards
Tom
Offline
You could try changing the & for &s; just a guess.
So;
<fb:swf swfsrc="http://myurl/ammap/ammap/ammap.swf?data_file=http://myurl/ammap/ammap/ammap_data.xml&s;settings_file=http://myurl/ammap/ammap/ammap_settings.xml" width="590" height="400"></fb:swf>
Offline
Hi
Ok I figured that out - I was missing the 'www' part (stupid mistake).
however this now brings me to another problem. the background colour setting for the main map is being ignored - is it possible to pass this setting along with the location for the settings and data file??? The small map background colour setting is fine!
regards
Tom
Offline
check whether your background alpha is set to 100, as the default is 0
Offline
Hi
Cheers for the reply.
I changed the background colour settings->background->color in the settings file but it changes the background of the small map??? Am i doing something stupid - where the setting for the main part of the map?
Regards
Tom
Offline
Yes, this is right place for changing color.
However, check whether alpha (opacity) is set to 100:
<background>
<alpha>100</alpha>
as by default the background opacity is 0. That's why you can't see the changes.
Offline
Hi
Thanks for that - it seems to have worked. When i get set up I will be purchasing the license.
regards
Tom
Offline
© amMap & amCharts | Forum engine: PunBB