Its amazing how little xaml you need to create something great.

I made a map .

This was so easy, just pasted an image into expression design and made a polyline with fill parameters. Then copied the XAML into Blend and did some tweaking and there it is a map in XAML, which is working in my silverlight project, not that it does anything but it at least shows up.

 

 Heres the XAML.  If anyone knows how to make it scale inside a canvas I’d love to hear from you.

        
 

<Canvas x:Name=”UK___Ireland_Map” Width=”340.91″ Height=”451.236″ Canvas.Left=”57.461″ Canvas.Top=”14.043″>
<Path x:Name=”Path” Width=”12″ Height=”16.8889″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 412.121,370.959L 406.343,375.848L 402.788,383.626L 401.232,387.848L 405.676,386.737L 412.121,380.959L 413.232,377.626L 412.121,370.959 Z ” Canvas.Left=”159.271″ Canvas.Top=”250.416″/>
<Path x:Name=”Path_0″ Width=”8″ Height=”15.1111″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 386.788,307.182L 384.565,314.07L 385.899,319.626L 392.565,322.293L 392.565,315.404L 391.01,308.515L 386.788,307.182 Z ” Canvas.Left=”142.604″ Canvas.Top=”186.639″/>
<Path x:Name=”Path_1″ Width=”4.22226″ Height=”7.55554″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 391.676,298.293L 395.232,305.848L 391.01,304.737L 391.676,298.293 Z ” Canvas.Left=”149.049″ Canvas.Top=”177.75″/>
<Path x:Name=”Path_2″ Width=”15.1111″ Height=”27.7778″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 386.121,303.848L 381.899,310.293L 379.899,321.404L 380.565,325.626L 377.899,328.293L 372.788,328.737L 372.343,324.959L 376.343,320.737L 376.788,309.848L 377.899,305.626L 384.121,300.959L 387.454,304.293L 386.121,303.848 Z ” Canvas.Left=”130.382″ Canvas.Top=”180.416″/>
<Path x:Name=”Path_3″ Width=”13.3333″ Height=”16.4444″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 365.899,305.626L 366.788,310.07L 361.454,312.515L 359.676,314.07L 357.899,312.07L 359.899,307.848L 359.01,304.737L 355.232,308.959L 353.454,308.07L 355.01,300.293L 359.454,300.293L 363.01,297.626L 365.899,305.626 Z ” Canvas.Left=”111.493″ Canvas.Top=”177.083″/>
<Path x:Name=”Path_4″ Width=”11.3333″ Height=”15.7778″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 366.343,296.959L 365.232,302.515L 368.565,302.737L 371.676,295.848L 376.565,286.959L 367.454,296.07L 366.343,296.959 Z ” Canvas.Left=”123.271″ Canvas.Top=”166.416″/>
<Path x:Name=”Path_5″ Width=”19.5556″ Height=”18.4444″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 370.565,277.626L 357.454,279.404L 362.343,276.737L 366.343,275.404L 361.676,272.959L 365.676,270.07L 358.121,264.293L 362.343,263.626L 362.788,260.959L 366.121,262.293L 367.899,266.959L 375.454,269.404L 377.01,272.515L 375.899,276.737L 369.454,277.404L 370.565,277.626 Z ” Canvas.Left=”115.493″ Canvas.Top=”140.416″/>
<Path x:Name=”Path_6″ Width=”25.3334″ Height=”41.3333″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 360.676,164.209L 351.788,172.876L 346.454,175.32L 348.454,181.098L 340.454,179.098L 336.899,187.098L 338.454,190.209L 337.343,193.543L 343.788,193.765L 341.121,197.543L 336.01,201.765L 340.899,205.543L 344.232,202.432L 345.565,197.32L 348.454,194.654L 347.343,191.32L 348.899,191.543L 350.232,195.32L 353.343,193.987L 354.232,191.765L 359.565,187.32L 359.565,185.987L 353.343,185.987L 357.343,181.32L 360.232,175.32L 361.343,167.765L 360.676,164.209 Z ” Canvas.Left=”94.049″ Canvas.Top=”43.666″/>
<Path x:Name=”Path_7″ Width=”5.33331″ Height=”3.77777″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 359.343,179.765L 364.676,177.987L 362.899,181.765L 359.343,179.765 Z ” Canvas.Left=”117.382″ Canvas.Top=”57.444″/>
<Path x:Name=”Path_8″ Width=”31.7778″ Height=”34.8889″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 364.899,220.876L 364.676,212.432L 358.01,205.987L 355.788,211.987L 357.121,216.432L 350.454,212.654L 351.121,219.765L 347.121,217.543L 345.788,221.32L 349.565,225.098L 353.343,221.987L 359.121,226.432L 353.343,226.876L 360.01,234.209L 368.01,233.32L 370.899,234.209L 368.232,240.876L 372.01,239.098L 377.565,229.987L 370.899,229.098L 367.343,228.432L 365.788,222.209L 368.232,214.654L 365.121,219.765L 364.232,218.654L 364.899,218.209L 364.899,220.876 Z ” Canvas.Left=”103.827″ Canvas.Top=”85.444″/>
<Path x:Name=”Path_9″ Width=”4.66666″ Height=”5.77777″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 356.871,240.459L 356.426,245.793L 360.649,246.237L 361.093,242.015L 356.871,240.459 Z ” Canvas.Left=”114.465″ Canvas.Top=”119.916″/>
<Path x:Name=”Path_10″ Width=”5.33334″ Height=”4.22217″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 363.093,246.459L 360.871,249.57L 366.204,248.904L 364.649,245.348L 363.093,246.459 Z ” Canvas.Left=”118.91″ Canvas.Top=”124.805″/>
<Path x:Name=”Path_11″ Width=”5.77774″ Height=”5.33334″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 351.76,259.793L 349.315,264.237L 354.871,261.348L 355.093,258.904L 351.76,259.793 Z ” Canvas.Left=”107.354″ Canvas.Top=”138.361″/>
<Path x:Name=”Path_12″ Width=”14.4445″ Height=”9.77783″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 333.093,207.57L 323.982,209.348L 327.315,214.904L 329.982,216.237L 332.649,217.348L 338.426,213.793L 336.204,209.348L 333.093,207.57 Z ” Canvas.Left=”82.021″ Canvas.Top=”87.027″/>
<Path x:Name=”Path_13″ Width=”5.33334″ Height=”3.77777″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 330.871,218.237L 326.871,220.459L 331.093,222.015L 332.204,219.793L 330.871,218.237 Z ” Canvas.Left=”84.91″ Canvas.Top=”97.694″/>
<Path x:Name=”Path_14″ Width=”6″ Height=”16.6666″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 327.093,225.126L 329.315,240.459L 332.204,240.015L 329.538,231.126L 333.093,228.237L 327.982,223.793L 327.093,226.904L 327.76,226.904″ Canvas.Left=”85.132″ Canvas.Top=”103.25″/>
<Path x:Name=”Path_15″ Width=”5.11108″ Height=”10.8889″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 326.649,240.459L 322.204,251.348L 327.315,242.237L 326.649,240.459 Z ” Canvas.Left=”80.243″ Canvas.Top=”119.916″/>
<Path x:Name=”Path_16″ Width=”18.8889″ Height=”12.6666″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 444.371,130.793L 441.926,137.459L 443.704,139.459L 445.482,137.237L 445.704,141.904L 452.149,140.793L 456.371,143.459L 460.815,141.015L 454.593,138.126L 448.371,138.126L 450.371,133.682L 444.371,130.793 Z ” Canvas.Left=”199.965″ Canvas.Top=”10.25″/>
<Path x:Name=”Path_17″ Width=”9.77777″ Height=”9.11108″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 440.593,141.904L 439.038,144.348L 444.149,151.015L 448.815,148.348L 444.593,145.015L 440.593,141.904 Z ” Canvas.Left=”197.077″ Canvas.Top=”21.361″/>
<Path x:Name=”Path_18″ Width=”5.33331″ Height=”4.66663″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 449.704,126.793L 453.26,130.793L 450.371,131.459L 447.926,130.126L 449.704,126.793 Z ” Canvas.Left=”205.965″ Canvas.Top=”6.25″/>
<Path x:Name=”Path_19″ Width=”4.44449″ Height=”3.33331″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 454.593,134.126L 452.593,136.126L 457.038,137.015L 456.371,133.682L 453.704,134.348L 454.593,134.126 Z ” Canvas.Left=”210.632″ Canvas.Top=”13.139″/>
<Path x:Name=”Path_20″ Width=”5.33334″ Height=”4.66663″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 461.038,131.015L 460.149,134.57L 465.482,133.682L 462.371,129.904L 460.593,131.904L 461.163,131.015L 461.038,131.015 Z ” Canvas.Left=”218.188″ Canvas.Top=”9.361″/>
<Path x:Name=”Path_21″ Width=”2.5″ Height=”4.16669″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 457.079,125.376C 457.77,125.376 458.329,126.309 458.329,127.459C 458.329,128.61 457.77,129.543 457.079,129.543C 456.389,129.543 455.829,128.61 455.829,127.459C 455.829,126.309 456.389,125.376 457.079,125.376 Z ” Canvas.Left=”213.868″ Canvas.Top=”4.833″/>
<Path x:Name=”Path_22″ Width=”4.33331″ Height=”1.91669″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 463.246,123.376C 464.442,123.376 465.413,123.805 465.413,124.334C 465.413,124.864 464.442,125.293 463.246,125.293C 462.049,125.293 461.079,124.864 461.079,124.334C 461.079,123.805 462.049,123.376 463.246,123.376 Z ” Canvas.Left=”219.118″ Canvas.Top=”2.833″/>
<Path x:Name=”Path_23″ Width=”4.91669″ Height=”3.33331″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 452.621,120.543C 453.979,120.543 455.079,121.289 455.079,122.209C 455.079,123.13 453.979,123.876 452.621,123.876C 451.263,123.876 450.163,123.13 450.163,122.209C 450.163,121.289 451.263,120.543 452.621,120.543 Z ” Canvas.Left=”208.202″/>
<Path x:Name=”Path_24″ Width=”18.3333″ Height=”14.6667″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 420.218,424.459L 413.774,431.237L 408.885,425.126L 403.107,422.571L 405.218,421.571L 407.663,424.015L 408.218,417.793L 412.774,416.571L 416.551,418.682L 418.885,422.904L 421.44,421.904L 420.218,424.459 Z ” Canvas.Left=”161.146″ Canvas.Top=”296.028″/>
<Path x:Name=”Path_25″ Width=”13.875″ Height=”8″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 497.524,537.473L 491.024,541.182L 499.232,545.473L 504.899,540.723L 497.524,537.473 Z ” Canvas.Left=”249.063″ Canvas.Top=”416.93″/>
<Path x:Name=”Path_26″ Width=”140.222″ Height=”181.667″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 339.517,339.605L 341.294,331.605L 347.294,334.272L 354.628,331.161L 367.072,333.161L 368.628,340.938L 376.183,354.494L 369.739,360.494L 374.406,358.494L 381.072,358.494L 382.183,372.272L 381.294,373.383L 379.961,367.605L 377.294,363.383L 376.183,366.272L 377.072,367.827L 377.072,370.938L 376.628,372.494L 379.294,373.827L 379.517,376.272L 379.517,379.161L 373.072,378.716L 370.628,382.716L 367.294,387.827L 361.739,385.827L 363.961,390.05L 357.517,391.161L 359.739,397.827L 361.294,407.05L 365.628,413.05L 365.294,418.716L 360.961,420.716L 364.961,427.05L 367.294,441.383L 362.628,451.716L 361.961,459.05L 355.294,468.383L 359.294,474.383L 345.628,473.383L 341.961,476.383L 340.628,471.383L 340.961,475.383L 322.961,477.716L 323.961,482.383L 315.294,485.383L 314.628,489.05L 305.961,491.716L 304.961,488.05L 301.294,488.05L 304.961,492.383L 295.961,498.716L 281.294,502.716L 269.294,506.05L 261.961,504.716L 272.961,495.383L 251.961,500.05L 269.294,487.383L 252.961,493.716L 249.628,490.05L 247.294,490.716L 247.294,487.716L 260.628,476.383L 241.961,477.716L 250.294,469.383L 255.294,470.716L 262.628,472.05L 261.294,466.716L 258.294,463.716L 267.628,457.716L 291.294,452.716L 286.294,450.383L 284.961,447.383L 281.961,452.716L 276.628,454.383L 268.628,452.05L 261.628,456.05L 269.961,446.716L 273.294,441.05L 276.628,430.383L 285.961,429.383L 285.961,425.05L 283.294,424.716L 265.628,426.05L 268.294,421.05L 260.628,422.383L 260.961,417.383L 255.628,418.383L 252.628,409.716L 260.294,409.716L 258.628,404.383L 268.961,401.05L 268.961,396.05L 264.294,395.383L 258.294,395.716L 250.628,389.716L 259.628,388.716L 257.628,381.716L 260.628,374.383L 275.961,376.383L 279.628,381.05L 283.961,376.383L 296.294,379.383L 300.294,376.383L 295.628,372.716L 297.628,369.383L 306.961,364.383L 307.628,360.05L 290.628,359.383L 293.628,353.716L 297.628,353.716L 300.961,350.383L 301.628,346.05L 303.628,335.716L 311.961,335.383L 315.961,331.716L 316.628,334.716L 321.628,333.716L 322.628,331.716L 323.294,342.716L 325.628,340.05L 324.294,331.383L 330.628,327.383L 329.961,324.383L 340.961,329.716L 333.961,338.716L 335.961,341.05L 339.517,339.605 Z ” Canvas.Top=”203.84″/>
<Path x:Name=”Path_27″ Width=”74.3334″ Height=”58.6667″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 334.294,339.383L 328.961,340.383L 326.294,354.05L 315.294,355.383L 314.294,360.383L 319.628,360.716L 312.294,365.383L 307.294,367.716L 316.961,378.383L 322.294,381.383L 324.961,385.383L 330.294,385.05L 339.294,371.05L 342.294,372.716L 347.294,380.716L 349.961,382.716L 350.628,387.383L 360.294,386.05L 363.628,389.716L 362.961,385.716L 366.294,386.383L 377.961,377.716L 374.961,364.716L 377.961,364.05L 381.628,373.716L 379.961,358.383L 370.961,360.05L 374.628,355.05L 365.628,333.716L 354.961,331.05L 347.628,334.383L 341.961,332.05L 337.628,340.05L 334.294,339.383 Z ” Canvas.Left=”65.333″ Canvas.Top=”210.507″/>
<Path x:Name=”Path_28″ Width=”220″ Height=”414.667″ Stretch=”Fill” Fill=”#8F00C800″ Data=”F1 M 446.871,294.668L 452.871,296.001L 455.982,291.557L 462.204,290.223L 465.093,294.001L 468.649,294.001L 474.204,298.446L 480.871,307.334L 489.538,314.668L 493.093,339.779L 501.982,361.334L 519.76,367.112L 527.093,382.89L 532.871,384.445L 529.093,389.779L 537.76,407.557L 527.315,403.779L 513.76,404.89L 527.982,405.779L 530.204,408.668L 539.538,416.445L 543.76,424.223L 543.76,431.779L 535.093,442.223L 537.982,442.445L 539.982,445.779L 545.315,446.668L 547.982,440.445L 562.427,438.89L 572.649,441.779L 582.204,450.001L 582.871,463.779L 578.427,477.557L 571.093,484.445L 565.76,484.89L 568.871,487.779L 570.204,490.89L 564.204,492.89L 560.204,491.557L 554.649,494.668L 561.093,495.334L 560.649,500.668L 556.204,503.779L 547.982,504.89L 553.76,506.89L 551.982,509.779L 560.204,508.445L 559.093,511.334L 574.649,510.223L 572.204,514.89L 572.871,518.001L 570.649,522.668L 562.204,524.668L 561.76,531.112L 555.76,530.445L 552.204,533.557L 544.871,535.112L 541.315,538.89L 531.76,535.557C 529.167,535.557 528.753,535.466 523.982,535.557C 519.211,535.647 521.489,535.842 518.239,536.578C 514.989,537.313 515.401,537.082 513.982,537.334L 512.442,539.066C 508.886,537.807 503.784,537.597 501.775,535.289C 499.767,532.98 497.321,533.245 495.093,532.223L 497.315,536.223L 490.871,538.001L 480.871,540.223L 480.427,545.112L 467.093,543.557L 466.204,548.001L 460.204,541.779L 448.427,541.112L 439.093,543.779L 435.982,554.223L 431.982,561.112L 421.538,557.779L 408.204,556.445L 400.649,560.223L 394.649,562.445L 393.315,568.89L 389.093,571.779L 384.649,565.334L 380.204,565.557L 379.093,568.89L 376.649,569.112L 375.315,565.112L 383.982,562.223L 394.871,551.112L 394.427,547.779L 397.093,544.445L 401.76,545.112L 406.427,537.112L 408.871,526.001L 415.76,526.89L 416.649,520.001L 418.871,518.001L 438.427,518.001L 439.315,519.112L 446.649,519.112L 450.649,517.779L 451.093,511.779L 459.093,504.89L 467.315,493.112L 456.427,501.557L 449.76,503.557L 445.538,510.223L 436.427,510.223L 429.315,505.557L 428.871,500.446L 424.649,499.557L 423.315,502.223L 417.093,502.668L 413.982,500.668L 416.871,498.446L 419.315,498.446L 420.871,497.779L 419.315,496.223L 416.649,496.223L 414.204,496.223L 411.982,493.557L 408.204,493.779L 405.538,494.668L 403.538,496.001L 401.982,497.779L 396.204,499.334L 394.204,500.668L 393.76,497.334L 396.204,495.334L 391.538,495.334L 389.093,494.001L 392.649,490.446L 390.871,488.89L 386.427,488.668L 393.76,481.557L 398.649,482.446L 404.871,476.446L 408.649,476.001L 415.315,472.001L 419.315,465.557L 423.315,459.334L 419.982,457.334L 418.871,454.001L 422.649,450.668L 419.76,447.779L 418.871,442.446L 414.649,441.334L 410.204,444.001L 410.204,447.334L 406.871,445.557L 401.982,446.668L 403.093,443.112L 413.538,435.779L 414.204,432.001L 419.538,426.001L 426.871,423.334L 438.427,423.557L 443.982,420.89L 448.204,426.223L 446.649,420.223L 448.649,417.557L 452.649,423.334L 455.538,424.223L 457.982,421.779L 454.427,421.334L 452.649,420.446L 447.76,412.446L 447.538,408.89L 455.093,402.89L 449.76,402.89L 448.649,398.89L 449.982,393.334L 453.76,393.334L 455.315,392.001L 453.982,390.446L 453.093,388.89L 455.093,385.779L 455.315,381.557L 451.76,382.446L 449.315,381.112L 447.982,386.89L 444.204,386.89L 443.538,383.557L 444.649,378.89L 443.093,381.779L 439.093,375.112L 432.871,366.223L 438.649,352.223L 442.649,348.668L 443.76,344.89L 451.093,344.89L 442.427,343.557L 435.093,343.557L 435.093,348.001L 428.649,349.112L 425.982,352.89L 422.649,353.779L 421.093,350.446L 420.427,353.557L 417.315,351.334L 414.427,349.779L 411.982,347.557L 411.315,350.446L 413.315,352.89L 413.538,358.223L 407.982,355.334L 399.315,349.112L 396.649,354.668L 398.871,360.89L 394.649,353.112L 389.982,344.89L 391.315,342.001L 393.538,347.112L 395.538,347.334L 393.982,342.89L 393.093,337.334L 397.76,332.223L 403.76,321.557L 405.538,319.334L 398.427,309.779L 397.982,303.112L 398.649,295.779L 408.427,297.112L 398.427,287.779L 398.427,297.779L 395.093,299.334L 391.982,296.223L 389.315,298.89L 387.982,301.557L 385.315,296.89L 385.982,292.668L 395.76,281.334L 385.538,291.779L 382.649,293.112L 383.982,300.668L 378.871,305.112L 376.649,302.001L 377.538,297.557L 376.427,295.779L 378.427,287.779L 378.204,280.668L 381.982,271.112L 389.315,270.89L 383.538,268.89L 389.76,254.223L 378.649,268.446L 367.538,263.557L 377.093,259.112L 363.093,258.89L 362.871,255.557L 374.204,250.223L 371.76,248.668L 373.538,242.001L 378.871,244.445L 373.315,238.89L 380.871,237.779L 375.76,231.557L 380.649,230.445L 374.649,227.112L 383.093,223.334L 372.427,225.112L 371.982,213.557L 378.649,215.557L 371.315,208.223L 375.315,205.557L 373.093,203.557L 372.427,198.001L 375.982,199.557L 378.204,204.668L 385.093,209.779L 378.649,202.001L 376.871,196.001L 381.315,199.334L 384.649,196.668L 387.982,198.445L 389.315,195.779L 393.093,199.334L 381.982,186.445L 387.76,186.668L 387.982,184.001L 383.982,178.668L 395.538,178.668L 390.427,172.445L 393.76,168.445L 391.76,164.445L 395.315,158.445L 402.649,160.89L 402.871,166.668L 401.538,167.557L 409.315,161.334L 411.315,163.334L 410.204,166.668L 413.76,163.112L 421.093,160.668L 429.982,160.668L 433.093,158.001L 435.76,159.334L 441.982,159.112L 441.538,157.112L 451.76,157.557L 447.538,165.112L 449.315,168.89L 440.204,177.779L 422.204,194.445L 423.093,197.334L 417.76,198.445L 411.982,196.89L 418.871,199.779L 428.871,200.001L 423.538,207.779L 417.315,207.779L 411.093,212.668L 417.093,208.89L 421.982,209.112L 417.538,215.557L 411.093,217.779L 415.982,218.445L 421.982,212.668L 428.427,212.445L 432.649,210.223L 439.76,206.223L 447.538,208.668L 455.315,207.557L 469.538,208.445L 476.427,207.334L 482.204,209.334L 484.871,217.334L 484.649,221.779L 477.538,231.779L 475.76,238.89L 473.093,244.223L 473.982,248.668L 465.982,258.001L 464.871,265.112L 456.871,270.668L 449.982,270.001L 443.315,275.779L 453.76,270.89L 456.204,276.668L 461.093,278.446L 460.427,284.446L 451.093,284.446L 447.315,290.223L 438.427,292.001L 433.982,289.779L 431.093,292.446L 434.427,293.557L 447.982,294.89L 448.427,295.557L 446.871,294.668 Z ” Canvas.Left=”120.91″ Canvas.Top=”36.569″/>
</Canvas>

Advertisements