<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="rgb(233,233,233)" minimum-version="0.7.2">

    <Datasource name="sqlite">
        <Parameter name="type">sqlite</Parameter>
        <Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
    </Datasource>

    <Style name="polygon_style">
        <Rule>
            <MarkersSymbolizer fill="darkgreen" placement="point" allow-overlap="true"/>
            <PolygonSymbolizer fill="green"/>
        </Rule>
    </Style>

    <Layer name="polygons" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
        <StyleName>polygon_style</StyleName>
        <Datasource base="sqlite">
            <Parameter name="table">multipolygon</Parameter>
        </Datasource>
    </Layer>

    <Style name="line_style">
        <Rule>
            <MarkersSymbolizer fill="darkred" placement="point" allow-overlap="true"/>
            <LineSymbolizer stroke="red"/>
        </Rule>
    </Style>
    
    <Layer name="lines" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
        <StyleName>line_style</StyleName>
        <Datasource base="sqlite">
            <Parameter name="table">lines</Parameter>
        </Datasource>
    </Layer>

</Map>