I want to write a navigator application that draws maps from images. Maps need to be drawn dynamically based on user navigation. My idea is to load 9 images into memory, and then create a view to display the necessary map:
alt text http://img526.imageshack.us/img526/2574/screento.png
When the user moves, the view moves. If necessary, images that are no longer visible will be destroyed, and new ones will be uploaded.
My first problem is that I cannot get it to work. My second problem is that it seems too complex and resource intensive. It is also difficult to scale if the screen size changes.
Could you show me an efficient map drawing algorithm? The demo code in C # will help a lot. An open source library would be much appreciated. :)
Thank.
depending on what you want to do, can be a rather difficult problem. for example georeferences, projections, GCS, you do not want to roll back your own
there are a number of gis tools available that already do such things, for C # and open source there is SharpMap or maybe google maps / earth
there are various commercial libraries, for example, for example. ESRI or Luciad
. jk, ,
- . , . ( , ), . , ( ) , .
, . , . , , . , , .
, , , , . , , . , ( TOC, TOC, , ). .
, , , . . , .
, , , .
OSMTracker made in VB.NET uses OpenStreetMap tiles (images) as the map and dos that you want. source is available. if you do not like VB, then you can search OpenStreetMap on codeplex.com for similar projects made in C #
Source: https://habr.com/ru/post/1748007/More articles:How can I bind WPF TreeView data to lazy and asynchronous? - asynchronousHow to use java.lang.Terminator correctly? - javaJms message not moving from queue in websphere - javaerror during build using builder builder sandcastle with Visual Studio 2010 .NET 4.0 project - visual-studio-2010SVN tortoise tree conflicts with itself - svnUINavigationController changes the position of the pressed view. UIViewController - viewsInteresting behavior of LinqToSql - c #Model binding classes and derived models - model-bindingDoes binarywriter.flush () also clear the main filter object? - c #How do you view your own session when visiting a website? - browserAll Articles