Code Monkey home page Code Monkey logo

sharpmap.rendering.decorations.legend's People

Contributors

fobermaier avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sharpmap.rendering.decorations.legend's Issues

Some hints about the structure

Hi,I have asked about process of this project before and I know it is stoped. I want to continue this project by myself and make a control for it. Could you please give me some hints about structure and things I should do in case of creating control?

Thank you so much

Missing nuget package

Hi,
which nuget package does contains the legend? SharpMap itself does not seem to contain it and I can't find a SharpMap.Rendering.Decorations.Legend package.

Best Greetings

How to implement SharpMap.Rendering.Decoration.Legend.UI

Hi,
I am using this code to have a legend
` try
{

            LegendFactory factory = new LegendFactory();
            ((LegendSettings)factory.LegendSettings).SymbolSize = new Size(24, 24);
            ((LegendSettings)factory.LegendSettings).HeaderFont = new Font("Times New Roman", 14, FontStyle.Italic, GraphicsUnit.Pixel);
           var legend = factory.Create(map, null);
            ((MapDecoration)legend).BackgroundColor = System.Drawing.Color.White;
            legend.Root.Label = "This is a super long legend title";
            using (var img = legend.GetLegendImage(300))
            {
                img.Save("legendimage2.png");
                System.Diagnostics.Process.Start("legendimage2.png");
            }
            legendControl1.Map = map;
            legendControl1.Factory = factory;

        }
        catch (Exception e)
        {
            throw e;
        }`

this code creates a png image which has legend of map.But I could not implement legend.UI to create a winform ui,I used this code
legendControl1.Map = map; legendControl1.Factory = factory;
but show nothing,even any errors.
Could you please help me with it?
thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.