Documentation on using mapwingis for query,identity Tool,datagridview representation

Jan 8, 2014 at 4:56 AM
Hi...
I am building a gis application using mapwingis activex and C# but i stuck on some issues as i have no knowledge about functions of mapwingis activex object, so thats why i need a documentation.

Regards,
Dheeraj
dgambhir143@gmail.com
Jan 8, 2014 at 1:00 PM
Hi Dheeraj,

Welcome to MapWindow! The software is very well documented:
http://www.mapwindow.org/documentation/mapwingis4.8/

And there are also some excellent examples to get you started:
http://www.mapwindow.org/documentation/mapwingis4.8/examples.html

Don
Jan 10, 2014 at 9:04 AM
Hi DonRahmlow.

First thanks a lot your link is very very useful to me. i am new to mapwingis so getting problem.
I have used showtooltip.cs example but i want my mouse_move_events to its normal state.i tried a lot but not able to do the same.
How can i do this..?
I also want to show my tabular data in a grid...

Please help me on the same.

Thank You very very much.

Regards,
Dheeraj
Jan 10, 2014 at 6:28 PM
Sorry, Dheeraj, but I don't understand your question about the mouse.

In terms of filling a grid, you can grab the values of individual cells in the attribute table via sf.Table.get_CellValue, then place them in a grid. Since the attribute table is essentially a dBase table you can also retrieve data using a foxpro or dBase driver via sql select statements into a DataReader or DataTable, then either populate the grid by hand or bind to the DT. Under no circumstances would you ever want to do any inserts or deletes using this method, however,

Don
Jan 11, 2014 at 6:43 AM
Hi DonRahmlow,
First Thanks for the reply,

My question is :-
Q1.) On mouse move event on Axmap it is showing tooltip or attribute of each polygon but not for the line or point layer...
Q2.) Tooltip is showing even after selecting ZoomIn tool etc, so i want to reset that. I don't want tooltip to show while having zoomin/zoomout tool on map.
as in example it is on MouseMoveEvent.
i want after selecting ZoomIn/Out tool, Tooltip should not be displayed on MouseMoveEvent on Axmap._____
This is the example below which i followed.

http://www.mapwindow.org/documentation/mapwingis4.8/_tool_tip_8cs-example.html


Regards,
Dheeraj
Jan 11, 2014 at 9:14 AM
Q1: that is because proximity detection is being performed only on a single sf/layer
Q2: you could remove the popup label if the mouse moves and it is not close to a shape

Don
Jan 13, 2014 at 4:53 AM
Dear DonRahmlow,

Thanks for the reply and with your suggestion my problem(Q.2) is solved..
but can u explain me how can i show tooltip on point or line layer...(With what changes)...?

Regards,
Dheeraj
Jan 13, 2014 at 10:50 AM
Hi Dheeraj--You just need to run the code in the example for every sf loaded as a layer for which you want the tooltip to appear. The example works on a single layer only.

Don
Jan 17, 2014 at 3:16 PM
Dear Sir,

Can i get the Activex or dll files of Query Editor/Query Builder of MapWindowGIS?
I have downloaded the dll file of MapWindowToolStrip from http://www.mapwindow.org/phorum/read.php?3,19172,19172 but do not know how to use it...Please help me in this...I shall be very thankful to you.

Regards,
Dheeraj