Visited States

<script src=“http://www.ammap.com/lib/3/ammap.js“ type=“text/javascript“></script>
<script src=“http://www.ammap.com/lib/3/maps/js/usaHigh.js“ type=“text/javascript“></script>
<div id=“mapdiv“ style=“width: 1000px; height: 450px;“></div>​
<div style=“font-size: 70%; padding: 5px; text-align: center; background-color: #666666; margin-top: 1px; color: #CDCDCD;“><a href=“http://www.ammap.com/visited_states/“ style=“color: #CDCDCD;“>​Create your own visited states map</a>​ or check out the <a href=“http://www.ammap.com/“ style=“color: #CDCDCD;“>​JavaScript Maps</a>​.</div>​
<script type=“text/javascript“>
var map;
AmCharts.ready(function() {
map = new AmCharts.AmMap();
map.pathToImages = „http://www.ammap.com/lib/images/„;
map.panEventsEnabled = true;
map.backgroundColor = „#666666“;
map.backgroundAlpha = 1;

map.zoomControl.panControlEnabled = true;
map.zoomControl.zoomControlEnabled = true;

var dataProvider = {
mapVar: AmCharts.maps.usaHigh,
getAreasFromMap: true,
areas: [
{ id: ‚US-CT‘, showAsSelected: true },
{ id: ‚US-NJ‘, showAsSelected: true },
{ id: ‚US-NY‘, showAsSelected: true }
]
};

map.dataProvider = dataProvider;

map.areasSettings = {
autoZoom: true,
color: „#CDCDCD“,
colorSolid: „#5EB7DE“,
selectedColor: „#5EB7DE“,
outlineColor: „#666666“,
rollOverColor: „#88CAE7“,
rollOverOutlineColor: „#FFFFFF“
};

map.write(„mapdiv“);
});
</script>

Hier schonmal eine Seite mit allen Staaten die ich besucht habe! Okay, bis jetzt war ich nur einem in NYC, letztes Jahr im Urlaub! Ich hoffe das heute in einem Jahr shon riiiichtig viel rot ist 🙂

Hinterlasse einen Kommentar