Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MapWinGIS map points from table
Message
 
 
À
19/02/2021 05:43:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
01678418
Message ID:
01678434
Vues:
56
Thanks so much for your reply, Daniel. I think my roadblock is fairly simple and appears you have solved it: do you have any code you could share that shows adding a couple map points? I do like the idea of having the descriptions of the map points in a table next to the map as that likely will solve some other issues. I have been fighting through the markpoints.cs example and am unsure about how to replicate the new shape() and new point() datatypes in VFP. I considered using wwDotNetBridge for this, but haven't used that before so am hoping to not learn two technologies at once.


>Hi Steve,
>
>>Has anyone successfully used the MapWinGIS ocx in a valid application?
>
>Yep me! Nice that I am not alone here struggling with the MapWinGIS ocx! Have been using it fully successfully? Sort of, I am on my way.
>
>The good point. The tool is really fast and both tight and crisp even on moderately powerful hardware. The library shows its age but it is sometime a good point: tight C++ :-)
>
>I was able to do anything I wanted to at this stage except for smart printout (see attachment). I use it in conjunction with a external tools that provide the png resources that we embed into the maps.
>
>>Any advice to point me in the right direction (no pun intended) would be greatly appreciated.
>
>What I have been able to do:
>- set the ocx up on screen, the easy part!
>- use "open format Internet based mapping material" à la openstreetmap. However I am not offering that to our customers who are exclusively using desktop map resources, this is way too sensitive for our customers...
>- setup an "open button" to embed map resources in various formats (ESRI shapefiles, google kml and the GEOJSON open format), easy as well
>- embed labels, on a per category basis, easy and fast!
>- offer coloring per shape, superb and fast as well!
>- insert points (and or icons) onto the map and grow their size when useful, more complex (embedding them may takes time as well...),
>- offer mouse-driven zooming (with the related VFP cursor selection), great!
>- print out the screen display (via API calls).
>- insert a short series of plain "map controlling" commands (pan the map, center map onto the data on display and decent undo/redo),
>
>I can come back with a few of the tricks I found the hard way if you bumped on the same stuff. For sure translating VB activeX code to VFP is easy. Translating the C# equivalent is certainly the same cup of tea! I'd be glad to help if I can.
>
>What I have LESS successful at:
>- click and double click actions,
>- add legend material inside the map, i just could not; we keep it it in a separate image control next to the map,
>- use the great and brilliant "snapshot" functionality. I bumped into a bug (memory leak).
>
>My next step ? Find a way to get this nasty memory leak fixed with the project developers. It is open source and can certainly be patched. But my grasp of C++ is the one I had in 1993, last time i touched it! Say that this is zero. Since MapWinGIS is an active open source project, I'd be glad if we could get this patched!
>
>Cheers, Daniel
>
>Attachment: a current display of the functionality we are trying to achieve. Display "public transportation times" (and/or costs) for staff working in crowded cities on a map (here Paris), a very sensitive issues in 2021.
>
>Nearly finished except for the smart printing out and part of the related time-and-cost analytics i-e where, fetching lists of optimized relocations offerings for company head offices based on "transportation time matrices".
Steve Howie, owner
DaSH Technology
Denver, CO
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform