Use LineUtil.simplify, rearange some code

This commit is contained in:
Kevin
2013-03-03 19:17:17 -08:00
parent 898f0c37ce
commit 01f7b7099d
2 changed files with 39 additions and 33 deletions

View File

@ -151,6 +151,8 @@ window.MAX_DRAWN_FIELDS = 200;
window.RESONATOR_DISPLAY_ZOOM_LEVEL = 17;
// Minimum area to zoom ratio that field MU's will display
window.FIELD_MU_DISPLAY_AREA_ZOOM_RATIO = 0.001;
// Point tolerance for displaying MU's
window.FIELD_MU_DISPLAY_POINT_TOLERANCE = 60
window.COLOR_SELECTED_PORTAL = '#f00';
window.COLORS = ['#FFCE00', '#0088FF', '#03DC03']; // none, res, enl