SaarLK

by Robert Kolatzek

HTML

<body>
  <div style="width: 200px; height: 200px; overflow: hidden;"> </div> 
  <div style="width: 400px; height: 400px; overflow: hidden;"> </div>
  <section style="width: 600px; height: 600px; overflow: hidden;"></section>
</body>

JavaScript

(function($){
  $.SaarLK = function(el, options){
    var settings = {
      fill: '#ffbb99',
      stroke: '#646464',
      "stroke-width": 1.5
    };
    var svg = '<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" version="1.0" width="100%" height="100%"  viewBox="-706 0 657.753 540.223" overflow="visible" enable-background="new -706 0 657.753 540.223" xml:space="preserve" inkscape:version="0.48.4 r9939" preserveAspectRatio="xMinYMin meet"><g id="Saarland"><polygon style="fill:none;stroke:#646464;stroke-width:1.5" id="SLS" points="-310.292,151.813 -316.54,152.142 -322.458,163.979 -333.965,171.213 -343.172,161.678 -344.159,154.772 -338.898,156.088 -336.268,150.169 -344.488,140.633 -350.735,151.484 -357.641,153.128 -364.875,161.02 -379.014,158.389 -393.153,170.884 -403.089,168.248 -408.39,182.705 -407.293,191.6 -415.513,200.478 -409.594,213.959 -409.266,225.797 -412.554,233.031 -428.337,235.004 -432.94,244.211 -439.517,244.211 -446.751,254.404 -454.313,256.706 -464.507,265.584 -465.493,256.049 -479.304,251.115 -483.907,242.566 -496.402,229.743 -505.609,232.373 -519.091,240.266 -519.091,243.553 -528.955,243.883 -536.189,225.797 -545.396,223.823 -554.932,232.045 -552.959,241.252 -547.369,243.883 -539.478,253.746 -534.545,251.115 -527.64,258.021 -527.969,269.529 -521.393,269.201 -519.091,277.093 -523.694,282.354 -524.681,291.89 -529.613,293.862 -532.901,284.656 -539.148,286.629 -532.572,303.398 -525.996,302.74 -521.722,308.002 -523.918,320.073 -510.147,336.66 -503.889,336.033 -490.121,347.613 -486.991,354.811 -482.921,358.566 -481.044,379.533 -476.038,378.907 -466.023,387.043 -467.588,401.752 -462.268,417.711 -449.123,414.27 -443.179,409.575 -437.544,409.264...