// set the debug mask for the renderer
#IlvMapCSSRenderer {
        styleSheetDebugMask : 0;
}

Subobject#airportsPointStyle {
        class : 'ilog.views.maps.rendering.IlvMapPointRenderingStyle';
        markerSize : 8;
        markerType : 'FilledDiamond|Square';
        markerColor : #99ffee04;
}

Subobject#airPortsTextStyle {
        class : 'ilog.views.maps.rendering.IlvMapTextRenderingStyle';
        backgroundPaint : yellow;
        framePaint : green;
        innerMargin : 2;
        maximumHeight :20;
        minimumHeight : 15;
        scale : 0.0000025;
        antialiasing : true;
}

airports {
        class : "ilog.views.maps.labelling.IlvLabeledPointRenderer";
        attributeNames : nam;
        pointRenderingStyle : @=airportsPointStyle;
        textRenderingStyle : @=airPortsTextStyle;
}

Subobject#coastlinesStyle {     
        class : 'ilog.views.maps.rendering.IlvMapLineRenderingStyle';
        foreground : black;
        lineWidthZoomed : true;
        lineWidth : 2;
        lineStyle : 4.2,4.3;
        lineJoin : JOIN_BEVEL;
        endCap : Cap_Round;
}

coastlines {
        class : 'ilog.views.maps.rendering.IlvDefaultCurveRenderer';
        lineRenderingStyle : @=coastlinesStyle;
}

Subobject#citiesPointStyle {
        class : ilog.views.maps.rendering.IlvMapPointRenderingStyle ;
        markerSize : 3;
        markerType : FilledCircle;
        markerColor : blue
}

Subobject#col1 {
        class : 'java.awt.Color(red, green, blue)' ;
        red : 0;
        green : 0;
        blue : 200;
}

Subobject#col2 {
        class : 'java.awt.Color(red, green, blue, transparency)' ;
        red : 150;
        green : 200;
        blue : 255;
        transparency : 180;
}

Subobject#citiesLabel {
        class : ilog.views.maps.rendering.IlvMapTextRenderingStyle ;
        backgroundPaint : @=col2;
        labelFillColor : black;
        framePaint : @=col1;
        innerMargin : 2;
        maximumHeight :15;
        minimumHeight : 10;
        antialiasing : true;
        scale : 0.0000025;
}

cities {
        class : ilog.views.maps.labelling.IlvLabeledPointRenderer;
        attributeNames : NAME,txt;
        rejectedValues : UNK;   
        pointRenderingStyle : @=citiesPointStyle;
        textRenderingStyle : @=citiesLabel;
}

Subobject#col3 {
        class : 'java.awt.Color(red, green, blue, transparency)' ;
        red : 220;
        green : 10;
        blue : 10;
        transparency : 100;
}

Subobject#roadsAttributes {
        class : 'IlvRailroadAttributes';
        drawingTies : false;
        background : @=col3;
        railColor : #66ff0000;
        railSpacing : 1;
        maximumRailSpacing : 1;
        scale : 0.000000025;
}

roads {
        class : 'IlvRailroadRenderer';
        attributes : @=roadsAttributes;
}

Subobject#pattern1 {
        class : 'ilog.views.util.java2d.IlvPattern(type, foreground, background)';
        type: THICK_DIAGONAL_GRID;
        foreground: gray;
        background: wheat;
}

Subobject#builtareasLineStyle {
        class : 'ilog.views.maps.rendering.IlvMapLineRenderingStyle';
        foreground : maroon;    
        lineWidthZoomed : true;
        lineWidth : 2;
        lineJoin : join_Miter;
        endCap : CAP_Round;
}

Subobject#builtareasAreaStyle { 
        class : 'ilog.views.maps.rendering.IlvMapAreaRenderingStyle';
        fillingObject : true;
        fillPattern : @=pattern1;
        drawingStroke : true;
        lineRenderingStyle : @=builtareasLineStyle;
}

builtareas {
        class : 'ilog.views.maps.rendering.IlvDefaultAreaRenderer';
        usingGeneralPath : true;
        areaRenderingStyle : @=builtareasAreaStyle;
}

Subobject#railRoadStyle {
        class : 'IlvRailroadAttributes';
        railSpacing : 1;
        scale : 0.00000025;
        maximumRailSpacing : 1;
        tieWidth : 3;
        maximumTieWidth : 3;
        tieSpacing : 4;
        slantingLimit : 15;
        railColor : green;
        tieColor : #ff40ff40;
}

railroads {
        class : 'IlvRailroadRenderer';
        attributes : @=railRoadStyle;
        dummy[0] : "@#col1";
        dummy[1] : "@#col2";
        dummy[2] : "@#col3";
}