Git Product home page Git Product logo

Comments (5)

blaugold avatar blaugold commented on June 24, 2024

This sounds like a good idea to me. Best to remove the feature early when not too many people depend on it.
I haven't used the raster and mixed RenderModes much, though, so I don't know if there are certain cases where they are beneficial.

from flutter-vector-map-tiles.

greensopinion avatar greensopinion commented on June 24, 2024

One thing to consider is that once a tile is rendered to a raster image and cached to disk, future use of the tile might be faster. This could be useful for older/underpowered devices.

from flutter-vector-map-tiles.

ibrierley avatar ibrierley commented on June 24, 2024

Firstly, great stuff on all the work.

One thing I did do previously to experiment with my old stuff iirc, was to render to a raster in an isolate, save to disk, and then use that when available from the main thread (so just passing a ready confirmation via the isolate port). However, every raster type solution felt like clutter in the end and never really liked hybrid solutions and interfered with getting pure vectors working optimally which I think is similar to this thread.

I feel like it would be nice to keep the labels, and feel like it "should" be feasible, but maybe not just yet. Had a quick glance at the code, so I'm adding a few thoughts to the performance thread, even if it's closed, rather than clutter here, just in case any of it is helpful to someone.

from flutter-vector-map-tiles.

greensopinion avatar greensopinion commented on June 24, 2024

@ibrierley thanks for the feedback!

I'm not sure what you mean about "keep the labels", feel free to elaborate.

from flutter-vector-map-tiles.

ibrierley avatar ibrierley commented on June 24, 2024

Heya, apologies, yes that wasn't clear. That was meant to be part of the other performance thread so would have made more sense there, but I missed that in my cut/paste! I was using Labels to mean the text and TextPainter type code. So street labels and city labels. Basically I think I was trying to work out if code like _createTextPainter() is called every build/canvas draw, or whether it is just called once (per text/coord and then cached/reused and then just the render() method used only).

from flutter-vector-map-tiles.

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.