1
Vote

OpenStreetMap not propperly credited

description

OpenStreetMap tileprovider is not propperly credited
 
i have made this change to my build
 
public override UIElement GetCopyright()
    {            
        const string logoPath = "http://www.openstreetmap.org/images/osm_logo.png";
        var Imagelink = new HyperlinkButton { TargetName = "_blank", NavigateUri = new Uri("http://www.openstreetmap.org") };
        Imagelink.Content = new Image { Source = new BitmapImage(new Uri(logoPath)), Height = 48, Width = 48 };           

        TextBlock copyrightString = new TextBlock() { Text ="Map data © OpenStreetMap contributors, CC-BY-SA" };
        copyrightString.Margin = new Thickness(0, 30, 0, 0);
 
        var CopyrightLink = new HyperlinkButton { TargetName = "_blank", NavigateUri = new Uri("http://creativecommons.org/licenses/by-sa/2.0/") };
        CopyrightLink.Content = copyrightString;

        StackPanel sp = new StackPanel();
        sp.Orientation = Orientation.Horizontal;
        sp.Children.Add(Imagelink);
        sp.Children.Add(CopyrightLink);

        return sp;
    }
 
SL4 Branch

comments