New Post: shape random colors
In case somebody is looking at the same, I solved this with a procedure creating the categories (VBA):Sub CreateLineColors(sf as MapWINGIS.Shapefile, aantal As Integer) Dim ct As...
View ArticleNew Post: Draw Lines with coordinates
Hello @ Paul, How do I draw a set of graphic lines with equal spacing e.g. dx for every line drawn? I have this code for drawing the line but I don't know how to make it graphic and also add the...
View ArticleNew Post: MapWinGis ActiveX component registration problem
Hi, I have a problem with MapWinGis ActiveX component version 4.9 installation on C++ Builder 10, I can't register this component, I have received an error: Component TImage can't be registered by...
View ArticleCreated Unassigned: Pan map with offline cache causes crash [26013]
Been working on an MS Access 2003 project that uses MapWinGIS 4.9.3.5. Running on Windows 10 (64bit), and using OpenStreetMap tiles.Immediate goal is to cache tiles so the program can be used offline....
View ArticleCreated Unassigned: MapWinGis component installation problem [26014]
Hi,I have a problem with MapWinGis ActiveX component installation on C++ Builder 10, I can't register this component, I have received an error: Component TImage can't be registered by package...
View ArticleEdited Unassigned: MapWinGis component installation problem [26014]
Hi,I have a problem with MapWinGis ActiveX component version 4.9 installation on C++ Builder 10, I can't register this component, I have received an error: Component TImage can't be registered by...
View ArticleNew Post: dynamic size for pictures
For visualisation I created 6 different categories of shapecategories (being used in a point shapefile). Now I want the size of the picture to depend on a variable, is that possible? I've seen...
View ArticleNew Post: Showing Point attributes
Hello, Sorry for this so very late post, but I came with a solution for this, in VB and in C#: What's important though is that it's not a mapwinGIS problem. It's about windows event handlers. In VB,...
View ArticleNew Post: Index Gneration slow
Hello everybody, in my application (MapWinGis.ocx 4.9.3.5, windows 10 64, Access 32 Bit, vba) I somtimes need to create an index of unique values by:objShape.Categories.Generate 0, ctUniqueValues, 0...
View ArticleNew Post: Drag Marker
Hi Could someone give a newbie with the MapWinGIS ActiveX an example or put me in the right direction. I have succeeded open a .png map and put in the .bmp markers I want on the map. If I want to drag...
View ArticleNew Post: Drag Marker
You have to write a bit of code checking mouse coordinates and marker coordinates setting flags when mouse is over/near marker and then with MouseDown,Dragging,MouseUp,Paint marker at new location.Good...
View ArticleNew Post: Drag Marker
I have written similar code for .net PictureBox , so I know how to approach. I have tried a lot but I manage not to "catch" the icon Do you have any examples that show how I get the icon such as the...
View ArticleNew Post: Drag Marker
You can download Formmap.cs from velsto.codeplex.com and have a look at the pb1_MouseDown etc. methods it is for moving lines in a graph and redrawing the graph at the new position, it took me a...
View ArticleNew Post: Index Gneration slow
Hello again, yesterday I had to revert my application to MapWinGis.ocx 4.8.8.1 after having installed it with MapWinGis.ocx 4.9.3.5 at a customer yesterday. The application was so slow, that it...
View ArticleNew Post: offline openstreetmap?
I've been trying to do a similar thing, but having difficulty with the cache functions. I rasied the question on another forum http://www.mapwindow.org/phorum/read.php?3,24728,24728#msg-24728...
View ArticleNew Post: offline openstreetmap?
Hi Alan I read your other post - don't have a lot of info to offer. However, I made some progress with my project, but not by using the Prefetch function. Don't recall the details right now, but I...
View ArticleNew Post: offline openstreetmap?
the other link that I intended to mention is:http://mapwingis.codeplex.com/workitem/26013
View ArticleNew Post: offline openstreetmap?
I had also tried the DoCaching() function. If I have RealTimeMap->Tiles->DoCaching(tkCacheType::Disk) = true; The error generated is "MapWinGIS::ITiles::DoCaching[MapWinGIS::tkCacheType]::get"...
View ArticleNew Post: offline openstreetmap?
In principle, your code looks similar to what worked for me, so I don't have a definitive solution. FWIW, here is the code that is called from the FormOpen event of my Access 2003 VBA program (it uses...
View ArticleNew Post: Connection string spatialite from Access
Hello It was so easy !!! I tied to do something more complex... This way works very well :dim ds as New MapWinGis.OgrDataSource if ds.Open("C:\temp\mabase.sqlite") = false then debug.print "erreur"...
View Article