Code Monkey home page Code Monkey logo

Comments (8)

sothawo avatar sothawo commented on August 12, 2024 1

hard to say without seeing code changes. Did you add changes to the Javascript part or the java part? If the Javascript part, how is it working in the mapview-local.html file (in src/main/rsesources)?

from mapjfx.

sothawo avatar sothawo commented on August 12, 2024 1

so the culprit is probably the Webkit browser used by the WebEngine.
First I wanted to use just the plain components that are included in Java8 (this will change in 11 anyway, when JavaFX is no longer bundled).
Second, a jxbrowser license costs 1.500€, an opensource license would mean that mapjfx "Cannot be used for a commercial purpose;", a restrictio I do not want to put on my library.

About memory for the Webview: As far as I know there is no special setting, the only thing that might help is increasing the memory for the whole application.

from mapjfx.

am2222 avatar am2222 commented on August 12, 2024

@sothawo Well it is a bit hard to share the code, I'll try to share it after some cleaning. The new changes are mostly in javascript part (I am adding wfs editting into map) and it is laggy when a wfs layer is added into map.
In mapview-local.html it works perfect. without any lags but when It comes to load into webview it is laggy. Is there any way to increase memory usage by webview? it may fix this issue.

from mapjfx.

am2222 avatar am2222 commented on August 12, 2024

what about using other webview components such as https://www.teamdev.com/jxbrowser, does it makes any differences?

from mapjfx.

am2222 avatar am2222 commented on August 12, 2024

thanks very much so the only way is to increase whole apps memory?why the performance is poor when we want to work with vectors?is it normal even?

from mapjfx.

sothawo avatar sothawo commented on August 12, 2024

I am not sure if more memory for the app will increase the memory the browser uses for javascript, that was just an idea what might help

from mapjfx.

am2222 avatar am2222 commented on August 12, 2024

@sothawo I am trying to usin jxbrowser I'll report the results.

from mapjfx.

am2222 avatar am2222 commented on August 12, 2024

@sothawo well in first tries the performance is quite good and it looks like what I expected.

from mapjfx.

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.