<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1"><!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --><meta name="description" content="MapWindow is an Open Source GIS desktop application"><meta name="author" content="Paul Meems"><link rel="icon" href="../../favicon.ico"><title>MapWindow5 plugin development</title><!-- Latest compiled and minified CSS --><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css"><link rel="stylesheet" href="css/mw5.css"><!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --><!--[if lt IE 9]><script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script><script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]--></head><body><!-- Main jumbotron for a primary marketing message or call to action --><section class="jumbotron"><div class="container"><div class="col-xs-12 col-sm-12 col-md-12 col-lg-12 pull-right "><img class="img-responsive" src="img/LogoMapWindow_5.jpg" width="812" height="143" alt="MapWindow 5 - open source GIS Desktop Application" /></div></div></section><section class="container"><div class="row"><article class="col-md-12 col-xs-12"><h1>How to create a plug-in for MapWindow5</h1><p>We're working on an easy workflow for developers to create their own plug-in for MapWindow5.<br/>We don't have a lot of documentation yet. You need to learn the structure by looking at existing plug-ins.<br/>We've made a template plug-in, which you can use as a base for your own plug-in.</p><p>This is the recommended workflow. We've tested in on a Windows10-x86 machine with VS2013 Community.<ol><li>Install the latest beta installer, available at <a href="http://mapwindow5.codeplex.com/releases" target="_blank" title="Get the latest version of MapWindow5">mapwindow5.codeplex.com/releases</a> and install it in a different location than <code>C:\Program Files</code> because you'll need rights to write your plug-in dll to it.<br />I suggest <code>C:\dev\MapWindow5\</code></li><li>Download this <a href="downloads/plugins-v5.0.2.zip" target="_blank" title="Download zip file with source code of plug-ins">zip file</a>. It contains a VS2013 solution with several projects for a few core plug-ins and the template plug-in.<br />Unzip it, I suggest <code>C:\dev\plugins\</code></li><li>Open the solution. You need to change some paths.<ul><li>Select the properties of each project and add a reference path to the location of MapWindow5, see step 1.<br /><img class="img-responsive" src="img/ReferencePaths.png" alt="Reference paths setting" /></li><li>In the properties of the plug-in you want to debug you also need to set the location of MapWindow.exe.<br/><img class="img-responsive" src="img/DebugSetting.png" alt="Debug setting" /></li></ul>You should now be able to compile and debug your plug-in.</li></ol></p><p>If you have questions you can post them at the discussion page on codeplex: <a href="http://mapwindow5.codeplex.com/discussions" target="_blank" title="Post your questions at CodePlex">mapwindow5.codeplex.com/discussions</a><br/>Happy coding and keep us informed of your progress.</p></article></div></section><section class="container"><div class="row" style="background-color: white"><article class="col-md-4 col-xs-12"><!-- 300x250 ad tag --><div data-type="ad" data-publisher="mapwindow.org" data-zone="ron" data-format="300x250" data-tags="GIS%2cMapping%2cMap%2cC%23%2cMaps%2cWMS%2cgeospatial"></div></article><article class="col-md-4 hidden-xs"><div data-type="ad" data-publisher="mapwindow.org" data-zone="ron" data-format="300x250" data-tags="open%2csource%2cdesktop%2cNET2cmicrosoft"></div></article><article class="col-md-4 hidden-xs"><div data-type="ad" data-publisher="mapwindow.org" data-zone="ron" data-format="300x250" data-tags="GIS%2csyncfusion%2cfree"></div></article></div><hr><footer class="hidden-xs"><div class="footer-ad" data-type="ad" data-publisher="mapwindow.org" data-zone="ron"data-format="728x90" data-tags="GIS%2cMapping%2cMap%2cC%23%2cMaps%2cWMS%2cgeospatial"> </div><p>© MapWindow Developers Team 2015</p></footer></section> <!-- /container --><!-- Bootstrap core JavaScript================================================== --><!-- Placed at the end of the document so the pages load faster --><script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script><!-- Latest compiled and minified JavaScript --><script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script><!-- IE10 viewport hack for Surface/desktop Windows 8 bug --><script src="http://getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js"></script><script type="text/javascript">function _dmBootstrap(file) {var _dma =document.createElement('script'); _dma.type = 'text/javascript'; _dma.async = true;_dma.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + file;(document.getElementsByTagName('head')[0] ||document.getElementsByTagName('body')[0]).appendChild(_dma);} function _dmFollowup(file){ if (typeof DMAds === 'undefined') _dmBootstrap('cdn2.DeveloperMedia.com/a.min.js'); }(function () {_dmBootstrap('cdn1.DeveloperMedia.com/a.min.js'); setTimeout(_dmFollowup,2000);})();</script><script>(function (i, s, o, g, r, a, m) {i['GoogleAnalyticsObject'] = r; i[r] = i[r] ||function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a =s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g;m.parentNode.insertBefore(a, m)})(window, document, 'script','//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-5161528-17', 'auto');ga('require', 'displayfeatures'); ga('send', 'pageview');</script></body></html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。