New Post: Sample code in C# to plot a point from degree lat and long
Sleschinski, Again thank you very much. This helped. Now my code is working. I need one more help. I am running into problems where my sets of points are not clockwise. I even wrote the following while...
View ArticleNew Post: Sample code in C# to plot a point from degree lat and long
How about Shape.get_PartIsClockWise, Shape.ReversePointsOrder?
View ArticleNew Post: Sample code in C# to plot a point from degree lat and long
My polygon has 4 points. So 5 points in the shape object it total. I know it is in proper sorting. Just need to make it clockwise.while (!Shape.PartIsClockWise[0]) { MapWinGIS.Shape tempshape = new...
View ArticleNew Post: VPN blocking mapwingis tiles
Hi, My tool is working fine with mapwingis activeX component. But When I turn on the office VPN it does not pull the tiles from openstreetmaps. I even tried google. Did not work out. Anyone know any...
View ArticleNew Post: Sample code in C# to plot a point from degree lat and long
Here is a sample code which demonstrates the functionality. I believe we had an issue with it in the past, so I've just tested it to make sure it works. // it's counter-clockwise list var list = new...
View ArticleNew Post: VPN blocking mapwingis tiles
Perhaps proxy related API members of Tiles class (Tiles.SetProxy) can help: http://www.mapwindow.org/documentation/mapwingis4.9/class_tiles.html.
View ArticleClosed Unassigned: Occurrence of MouseMoveEvent is very slow [26005]
I try to show cursor coordinate in a separate control, e.g. LABEL, while mouse move (by implementing the mouse move event as shown [here](https://mapwingis.codeplex.com/discussions/636662)).My problem...
View ArticleNew Post: Disable keyboard hotkeys
Hi, How to disable keyboard hotkeys: space for panning, z for zoom, ...? Is there any method to do it?
View ArticleNew Post: How persent sql server geometry data in mapwingis
hi . in my project in c# i need to display geometry data in my map by sql server database and SP .but i dont know make it... plz help me to complate this ok thanks all
View ArticleNew Post: Disable keyboard hotkeys
Hi, there is no way to disable those keys in MapWinGIS itself. But you can intercept and suppress them at the parent form level (in .NET by overriding ProcessCmdKey or setting KeyPreview = true).
View ArticleNew Post: How persent sql server geometry data in mapwingis
Hi, we have OgrDatasource / OgrLayer classes that allow to display spatial data from MS SQL. Here are some links:- how to open - section 4 in particular;- API reference of OgrDatasource;- API reference...
View ArticleNew Post: How persent sql server geometry data in mapwingis
very nice thanks sleschinski for help me.i try to learn this refrence but if get problem then sent it to you. ok
View ArticleNew Post: VPN blocking mapwingis tiles
I do somthing like this, if it helps... If My.Settings.Map_Tiles_Proxy = "" Then TheMap.Tiles.AutodetectProxy() Else TheMap.Tiles.SetProxy(My.Settings.Map_Tiles_Proxy, My.Settings.Map_Tiles_Port) '...
View ArticleNew Post: AxMap.ZoomToSelected sometimes zooms more than needed
Hi every one, I implements a service that use AxMap.ZoomToSelected(), but some times the new extents (after zooming) is smaller (in surface) than that for selected features. I notice that while...
View ArticleNew Post: VPN blocking mapwingis tiles
sleschinski & ross, Thank you very much for your help. I tried all the possible options. I even got the proxy address and used .SetProxy method. But it did not work. Do you know which server and...
View ArticleNew Post: Select multiple layers with cmSelection Tool
Hi I'm using C# to develop an application but i'cant find a way to select multiple layers at the same time ant that they return me their handlers. Any advice? thank you
View ArticleNew Post: Map control events in VBA
Sergei Just to tie up a loose end. I had posted the question while on the road and unable to devote enough time to implementation. Only got back to programming after returning home. Your advice helped...
View ArticleNew Post: Select multiple layers with cmSelection Tool
Hi, you should handle SelectBoxFinal event and call Shapefile.SelectShapes for each layer. Here is a single layer example. To run it for multiple layers something like this should be used:for (int i =...
View ArticleNew Post: AxMap.ZoomToSelected sometimes zooms more than needed
HI, most likely it's caused by AxMap.ZoomBehavior = zbUseTileLevels, which is set by default. It adjusts extents to the closest tile level. In theory it can only expand the extents, but apparently we...
View ArticleNew Post: VPN blocking mapwingis tiles
MapWinGIS uses CAtlHttpClient for tile requests. I believe it uses default port 80 since they are HTTP requests. URL naturally depends on the provider. I'd suggest to examine the issue with Fiddler....
View Article