Code Monkey home page Code Monkey logo

Comments (5)

ttsirkia avatar ttsirkia commented on September 3, 2024 2

You can use maxzoom in your style to hide the layer above a certain zoom level, see https://docs.mapbox.com/mapbox-gl-js/style-spec/layers/#maxzoom

from tippecanoe.

ttsirkia avatar ttsirkia commented on September 3, 2024 1

Even if you generate tiles only for zoom level 10 (as your command does), MapBox GL / MapLibre can still use the zoom level 10 tiles to show data for zoom levels 12, 13 etc. Vector tiles work like this.

from tippecanoe.

diwakarv123 avatar diwakarv123 commented on September 3, 2024

Even if you generate tiles only for zoom level 10 (as your command does), MapBox GL / MapLibre can still use the zoom level 10 tiles to show data for zoom levels 12, 13 etc. Vector tiles work like this.

Thanks for reply. Even i wanted them to stay for above zoom levels as per my requirement. how about lower zoom levels will they stay or vanish? I am using deckGL to display

from tippecanoe.

ttsirkia avatar ttsirkia commented on September 3, 2024

Mapbox / Maplibre won't try to load tiles if the minimum generated zoom level is, let's say, 10 and the zoom level in the map is 6. That would lead to situation that it needs to download a huge number of tiles of level 10 to fill the visible area in zoom level 6.

from tippecanoe.

diwakarv123 avatar diwakarv123 commented on September 3, 2024

I am using below command to show all data points at zoom level=10. its working fine. I have noticed points are not disappearing even i zoom in further beyond 10 e.g: 12,13. Points are staying as is. This is what i wanted. i want to make sure whether this is expected behavior or not. Because it will avoid me to generate points for zoom level for 12 and 13 etc and save some pace in mbtiles .

tippecanoe -z10 -Z10 -f -o grid_26lacs_layers_time_z10.mbtiles -b0 -r1 -pk -pf /home/geos/data/input/grid_26lacs_layers_time_z10.csv

i used tippecanoe-decode command to verify points in zoom level 12 and 13. count shows 0. i am wondering whether its refresh issue of map or its expected behavior.

This is not working any more. when i zoom to higher level tiles are vanishing and also zooming to lower level tiles are vanishing.

from tippecanoe.

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.