Touch Gestures?

Nov 6, 2013 at 2:27 PM
Hi,

We have our app running on a Windows 8.1 tablet and we are wondering how it might be possible to Pan and Zoom our MapWinGIS control using touch gestures.

Has anyone given any thought to this problem ?

willing to share?

TIA
Coordinator
Nov 7, 2013 at 9:45 AM
This is interesting.
I have no experience with Win8, but I think your app should catch the touch gestures and call the zoom functions.
Would that be possible?

It would be really nice if MapWinGIS would natively handle the touch gestures, but I'm not sure if that is possible.
Do you have C++ knowledge? If so you could try to implement it yourself.

Thanks,

Paul
Nov 7, 2013 at 2:27 PM
Thanks for the reply.

Yes I am hoping that we can see our app running in a touch-screen environment with natural (eg gestures) control of the MapWinGIS map. I downloaded the latest source and I am attempting to compile.

Running into a lot of errors wrt missing header and source files. Before I add every directory to the /I (Additional Include directories) settings in the MapWinGIS10 C/C++ settings, is there any guide on getting started without svn or TFS?

TIA
Nov 7, 2013 at 6:40 PM
Tried to connect with tortoisesvn:

Getting this error:


Checkout from https://mapwingis.codeplex.com/SourceControl/list/changesets, revision HEAD, Fully recursive, Externals included
Unable to connect to a repository at URL
'https://mapwingis.codeplex.com/SourceControl/list/changesets'
XML Parsing failed: Unexpected root element 'html'

Any suggestions?
Coordinator
Nov 8, 2013 at 12:46 PM
Your not using the correct url.
Go to the source code tab of this site. Next select the 'Connect' link at the top.
You'll get a box with 2 URLs. One is for tfs and the other for SVN.
You should use something like
https://mapwingis.svn.codeplex.com/svn/MapWinGIS

At this moment we are upgrading to the latest supporting libraries (GDAL, GEOS, PROJ4). This is causing a lot of issues.
We're working very hard to fix this and then we will commit the latest source code and than it should all work again.

Paul
Coordinator
Nov 11, 2013 at 12:45 PM
I've just committed some new/updated files and a new MapWinGIS.ocx to the SVN repository.

You should be able to compile the source code now. Please let me know if you are still missing files.
Deleting MapWinGIS.vcproj prior to SVN Updating might also solve a lot of problems.

Be aware this version is still in progress. We've managed to pinpoint the problem with the GEOS library. That library has some API changes we need to implement first.
And this version doesn't support .ecw, .jp2, .ntf, .sid or *.nc files.
We're working very hard to get that all up and running again.

Thanks,

Paul
Nov 11, 2013 at 12:53 PM
Thanks for the hint.

I am not sure why I was using the ' https://mapwingis.codeplex.com/SourceControl/list/changesets' url, but I believe I could only have done so by following instructions I found on the site.

Anyway, I was able to get Tortoise SVN to retrieve the latest code from the url you supplied.

When I open and attempt to compile the MapWinGIS10 project in VS2010, I receive the error that VS cannot find UtilityFunctions.h.

So I looked for UtilityFunctions.h and found it in 'C:\dev\MapWinGIS_Source\MapWinGIS\branches\4.8.8\Utilities', so I added this folder to the Additional Include directories in the VS2010 project settings (under c/C++-> General).

When I then tried to compile, the errors specified other errors.

So I am back to where I began in the original post.

Is there a directory that is missing in the project? Or perhaps someone can list the necessary include files and help with getting me to a point where I can build the .ocx?

TIA
Coordinator
Nov 12, 2013 at 7:36 AM
Now I understand. You are using the VS2010 project/solution.
That has not yet been updated. It is best to delete it and open the VS2008 project. VS2010 will convert it for you.

Let me know if you still have problems.

Paul