# AEMap v0.3.1

Create custom world maps in After Effects

This dockable script panel "AEMap.jsx" creates equirectangular projection maps composed out of 287 separate polygons (masks on solids or shapelayers) in 179 pre-comps. Alphabetically sorted.
It comes with the "AEMap Utilities.jsx". This is also a dockable panel. It contains tools for dealing with a bunch of layers and nested comps. Both scripts work under After Effects CS4 - CS6.

## Install

Drop the files "AEMap.jsx", "AEMap Utilities.jsx" and the foolder "world_geo_json" and all its contents into the "ScriptUI Panels" folder within your After Effects. See this guide for detailed infos.
It is important that you allow the scripts to read from and write to disk. Read this chapter in the AE Help about it. The script needs to load the geo data for the map from an external file named "countries.geo.json" in the folder "world_geo_json" that comes with the download. If this file and the folder do not exist the script can't create the map.

## DONT USE SCRIPTS FROM UNTRUSTED SOURCES.

If you obtained this script from any other source than aescripts.com - INSPECT IT (It has about 1300 lines of code and 286 json objects so you better just load the original ;)). This script uses a javascript function called eval( ) to load the geo data. Json files are valid JavaScript code so malicious code could be included to trigger an attack. Read more about it there

## Thanx

These scripts would not be possible without the fine JSON data from johan. Check out the original World.Geo.Json git repository here.
Thanx also to all those who share code.

## LICENSES

countries.geo.json and countries.zip and all its contents are UNLICENSED. See also http://unlicense.org

Copyright (c) 2012 Fabian "fabiantheblind" Morón Zirfas
Permission is hereby granted, free of charge*, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. see also
http://www.opensource.org/licenses/mit-license.php

*if you want to donate something so I can buy cookies and beer do it via aescripts.com or flattr

Version | Feature / Bug
--- | ---
0.3.1 | AEMap.jsx 0.3.1 and AEMap Utilities.jsx 0.3 -- 2012 / 06 / 17
| johan moved ISO 3166-1 Alpha-3 country code to front of GEOJson properties
| added Bermuda
0.3 | AEMap.jsx 0.3 and AEMap Utilities.jsx 0.3 -- 2012 / 06 / 17
| added CS6 Support
| added ShapeLayers Support
| added Reposition Anchor Option
| added Link Properties Option
| added Contour Settings Panel
| removed Custom HSL Field Bug. Nobody noticed :)
| rebuild help pages with jekyll and twitter-bootstrap
0.2 | AEMap.jsx 0.2 and AEMap Utilities.jsx 0.2 -- 2012 / 04 / 29
| added divided UI for comps, colors and all settings
| added new countries.geo.json with French Guiana
| added CS4 support for AEMap.jsx
| added CS4 support for AEMap Utilities.jsx.
| added dumbDumpComments2Text on Tinytools AEMap Utilities.jsx.
| added emptyButton on Tinytools AEMap Utilities.jsx.
| added Custom Colors
| added better json file reading for AEMap.jsx. supports pretty print.
0.1.2 | AEMap.jsx 0.1.2a and AEMap Utilities.jsx 0.1.2 -- 2012 / 04 / 07
| added single layer and precompose options. And some more debugging.
0.1.1 | AEMap.jsx 0.1.1b -- 2012 / 03 / 28
| added stroke start, end and spaces option to stroke controller
0.1.1 | Versions: AEMap.jsx 0.1b and AEMap Utilities.jsx 0.1b -- 2012 / 03 / 28
| inital release

This site is build using jekyll and twitter-bootstrap and needs javascript to use all that jquery goodness.
Also it tracks you with google analytics, but don't fear your data wont be used to sell you more stuff.
If you dont like being tracked have a look at this Do not track browserplugin.
Contact me via twitter, vimeo, flickr, github, tumblr or write a comment @ aescripts.