MapWindow Developer Team : MapWindow Discussion Forum
Current Page: 1 of 1
Results 1 - 13 of 13
2 years ago
yeah
Hello everybody,
I puted a shapefile in the map, now i'd like to know how to select a shape when i click on a shape.
Thank you for your help.
Forum: MapWindow Developer Team
Forum: MapWindow Developer Team
2 years ago
yeah
Hello everybody,
I use this code bellow for selecting a shape, but it doesn't work. can you help me, please?
Private Sub Map1_SelectBoxFinal(ByVal sender As Object, ByVal e As AxMapWinGIS._DMapEvents_SelectBoxFinalEvent) Handles Map1.SelectBoxFinal
Dim sf As MapWinGIS.Shapefile
Dim myExtents As New MapWinGIS.Extents()
Dim selectedShapes() As Integer
Dim
Forum: MapWindow Developer Team
Forum: MapWindow Developer Team
3 years ago
yeah
Hello everybody,
I'd like to know how to use the ActiveX into my project ASP.net
Thank you.
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
I have the same problem.
I'd like to know how to edit my shape file for creating a new shape, by code.
Here's the code that i found and i modify it:
Dim handle As Long
Dim point As New MapWinGIS.point
Dim shapee As New MapWinGIS.shape
Dim pointindex As Long
Dim shapeindex As Long
Dim success As Boolean
success = shapee.Create(SHP_POINT)
point.x = 778382
point.y = 2096267
Map
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
Hello everybody,
I have a shapefile type POINT. I'd like to know how to create a new shape by code?
Thank you.
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
Hello everybody,
in my application, i declare two variables (X,Y) for localize my object. i'd like when i click on a button localize my object and to zoomin automaticaly my object.
Thank you.
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
9. Active X
Can I use this activeX in visual studio.Net(VB.Net)?
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
When i put:
Map1.ClearDrawings
plus the code for drawing the line
it doesn'n work
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
Hello everybody,
I use a button for zooming. After drawing a line, i click on this button for zooming in order to see the line better or ZoomOut. Now when i click on the map to zoom, the line doesn't respect the Map1.ProjToPixel(x, y, MyX, MyY).
How can you help me?
Thank You.
Dim MyX As Double
Dim MyY As Double
Map1.ProjToPixel(x, y, MyX, MyY)
Map1.DrawLine MyX, MyY, 9, C
Forum: MapWindow 4 - ActiveX Control Programming
Forum: MapWindow 4 - ActiveX Control Programming
4 years ago
yeah
12. Re: Draw line
It's okey,
Now if i'd like to select a entity, how can I do that? for exemple if i want to select a point.
Thank you.
Forum: MapWinGIS ActiveX Sample Code
Forum: MapWinGIS ActiveX Sample Code
4 years ago
yeah
13. Draw line
Hello everybody,
I have a layer(points). Each points have x,y. when i select two points on the map I'd like to draw a line between them when i click on a button.
I used this code, it draw the line but the x and the y are the pixel(x,y) and not the x y of the entity.
code:
Private Sub CmdTracerLigne_Click()
Dim draw_hndl As Long, width As Long
Dim x1 As Double, y1 As Do
Forum: MapWinGIS ActiveX Sample Code
Forum: MapWinGIS ActiveX Sample Code
Current Page: 1 of 1


