Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Mapping Solutions

  1. #1
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    955

    Default Mapping Solutions

    Hi All

    We are currently looking into a hopefully basic mapping solution.

    We want to display map in windows using WebView2, when a user drops a pin on the map we want to get the GEO location and save a record in code. And then when the record is found it displays the location on the map.

    We don't expect a lot of throughput, although in the future we may be more like routing.

    The goto used to be Google Maps but what are the alternatives that people that people have found based on...

    - free, cheap
    - easy to implement

    We're currently looking at Bing Maps, has anyone else used Bing?
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  2. #2
    Join Date
    Mar 2009
    Location
    Beech Hill - a village near Reading in the UK
    Posts
    2,756

    Default Re: Mapping Solutions

    Thomas

    We've done quite a lot with this stuff. We long ago used both Google Maps and Bing, but there are many, many alternatives these days and many are free.

    See my much more recent presentation from Scanduc 2021 for some details, although that stuff - like everything we've done in that area - is Web, not Windows, but it should be adaptable using cWebView2browser to your needs. Some of the code behind that presentation is on GitHub/DataFlexCode: the LeafletLibrary and a demo workspace for it.

    Feel free to ask questions. I could do a Zoom (Teams, etc.) demo for you if we can find a time when we are both awake and working!

    Mike

  3. #3
    Join Date
    Feb 2009
    Location
    Stuart, FL
    Posts
    5,290

    Default Re: Mapping Solutions

    we have been using mapping for a long time in our apps for route planning, transportation planning etc

    we have used google maps, bing maps, openstreetmaps, mapquest , Leaflet and here

    openstreetmap is a free mapping database that can be used with leaflet and mapquest api. it isnt too bad but isnt always as good as commercial data

    here maps are very nice and we are using here map for most of our current projects

    as far as bing we have used bing maps in some older native mobile apps (windows xamarin based) but have not used it in a project for a while
    Michael Salzlechner
    StarZen Technologies, Inc
    http.://www.starzen.com

    IT Director at Balloons Everywhere

    Development Blog
    http://www.salzlechner.com/dev

    DataFlex Package Manager (aka Nuget for DataFlex)
    http://windowsdeveloper.com/dfPackage

  4. #4
    Join Date
    Feb 2009
    Location
    Perth, Western Australia
    Posts
    955

    Default Re: Mapping Solutions

    Cheers guys, we will definitely check those and the presentation out.

    Thank you.
    Cheers,

    Thomas Murphy
    Triumph Business Systems Pty Ltd
    www.triumph.com.au

  5. #5
    Join Date
    Mar 2009
    Location
    Cumming, Georgia USA
    Posts
    1,876

    Default Re: Mapping Solutions

    Testing out your Mapping solution using Mapbox. I have an AccessToken from Mapbox. In the following what is {id}, {z},{x},{y}?:

    Set psTileLayer to "https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token=mykey

  6. #6
    Join Date
    Feb 2009
    Posts
    5,422

    Default Re: Mapping Solutions

    Hi Mike

    Just downloaded your library & demo

    Updated to 23.0 (just edited sws)

    I got a LocationIQ key and put it in config.json

    On the Simple Map Test I just clicked send and it draws a grey panel with a pin and zoom +/- but no map is displayed

    Tried a couple of other views too with same result

    The LocationIQ dashboard shows some activity on the geocoding requests but nothing on the map requests

    The anBox array in DrawMap is passed data

    Did I miss something?

    Thanks

    OK looking at the page source it seems to be wanting to get the tiles from MapBox i.e. not LocationIq or Mapquest for that matter
    OK2 looking a bit further seems that uses a Leaflet API key in config.json so I guess I need to hunt for one of those
    Last edited by Focus; 26-May-2023 at 05:13 AM. Reason: Extra Extra info
    Success consists of going from failure to failure without loss of enthusiasm - Winston Churchill

  7. #7
    Join Date
    Mar 2009
    Location
    Beech Hill - a village near Reading in the UK
    Posts
    2,756

    Default Re: Mapping Solutions

    Andrew

    You'll need a Leaflet key first to display any maps at all. Do you have that?

    Mike

  8. #8
    Join Date
    Feb 2009
    Posts
    5,422

    Default Re: Mapping Solutions

    That is what was throwing me (the name) as it is actually the MapBox key

    Go it working now, thanks
    Success consists of going from failure to failure without loss of enthusiasm - Winston Churchill

  9. #9
    Join Date
    Mar 2009
    Location
    Beech Hill - a village near Reading in the UK
    Posts
    2,756

    Default Re: Mapping Solutions


  10. #10
    Join Date
    Feb 2009
    Posts
    5,422

    Default Re: Mapping Solutions

    I know it is a demo and the main focus was geocoding but did you consider https://www.thunderforest.com/pricing/ for maps as they seem a lot less than mapbox?
    Success consists of going from failure to failure without loss of enthusiasm - Winston Churchill

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •