Giter Club home page Giter Club logo

Comments (12)

bnordgren avatar bnordgren commented on July 28, 2024 1

ArcGIS Maps SDK for Qt requires developers to adopt Qt 6, which allows the SDK to take advantage of new graphics APIs, platform architectures, language features, and more.

Perhaps using this SDK is a goal for when Windninja is pulled forward to a newer QT. OTOH, integrating this ESRI dependency may force future upgrades before you're ready. Unless you say otherwise, I'll start picking at option 2.

from windninja.

bnordgren avatar bnordgren commented on July 28, 2024

Chatter around vector plugins suggests they're experimental and unsupported...

https://openmaptiles.org/docs/website/leaflet/

from windninja.

nwagenbrenner avatar nwagenbrenner commented on July 28, 2024

This link suggests that Esri vector tiles should work with leaflet.

https://developers.arcgis.com/esri-leaflet/layers/add-a-vector-tile-layer/

from windninja.

bnordgren avatar bnordgren commented on July 28, 2024

Maybe this is the plugin we should be looking at:

https://github.com/Esri/esri-leaflet-vector

from windninja.

bnordgren avatar bnordgren commented on July 28, 2024

... which has these dependencies...

Dependencies

Do you know what version of leaflet is bundled with windninja?

from windninja.

nwagenbrenner avatar nwagenbrenner commented on July 28, 2024

Looks like leaflet 1.3.4. We could probably update though?

https://github.com/firelab/windninja/tree/master/data/leaflet

from windninja.

bnordgren avatar bnordgren commented on July 28, 2024

Prolly should anyway. So just spitballing, it sounds like the path of least resistance is option 2. We update the bundled leaflet, bundle esri-leaflet-vector and its dependencies, and tweak the downloader code.

I'm not going to get to this prior to AL in early April, as I need to focus on getting the Openstack hardware physically cabled. As long as the stopgap solution in #483 works for you for now, I can come back to this when I get back...

from windninja.

nwagenbrenner avatar nwagenbrenner commented on July 28, 2024

Sounds good to me. I released 3.8.1 with the solution in #483 yesterday, so we are good for a little bit. We can work on this when you're back. I'll probably try to release 3.9.0 with some other fixes/upgrades around the end of May/early June. Would be good to include this in that release.

from windninja.

fspataro avatar fspataro commented on July 28, 2024

Slightly more advance option but might make it more seamless with the overall code base is to use the ArcGIS Qt SDK: https://developers.arcgis.com/qt/

This would give you a native form element rather than an embedded html/js page. If the functionality is simply 'display public maps from arcgis services and draw boundary polygons', you should be fine with the low level 'lite' (ie free) licensing level.

from windninja.

nwagenbrenner avatar nwagenbrenner commented on July 28, 2024

@fspataro Thanks Fred! We'll check this out.

from windninja.

bnordgren avatar bnordgren commented on July 28, 2024

Successfully converted html to esri-leaflet in my branch https://github.com/bnordgren/windninja/tree/arc_tile_servers

Works great in Firefox on ubuntu host. Doesn't want to work in the QT4 widget inside the app. What's the status of QT5 on master? I got an unresolved symbol when trying to run.

from windninja.

nwagenbrenner avatar nwagenbrenner commented on July 28, 2024

The Qt5 option in master is work that was done several years ago to attempt write a new GUI in Qt5. We didn't get very far and then decided for an even bigger overhaul to modernize the GUI with an in-app viewer in Qt5. Technosylva is helping us on this, but we haven't gotten very far. I haven't built with the Qt5 option in our master branch in a long time, some functions may have changed. I can't remember if it was using the C API or not. The easiest solution is to try and get something working in Qt4. I think our Qt5 GUI is still a ways out.

from windninja.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.