I found that pull request before thanks, will play around with it some more. When you say it relies on WMS requests does that mean it generates raster tiles or vector tiles in PBD file format? I don't have mine mapcache example working yet so i don't know what to expect.
About canceled requests i found related "issue" discussed on leaflet forum: https://github.com/Leaflet/Leaflet.VectorGrid/issues/136 But i don't see a problem with that because all entities are loaded on my map. I will have to find that secret souce yes, will try to optimize my map file for different scales. Pregenerated vector tiles would also help. Thanks for your answers. Will track your github for further updates. Miha V V pon., 25. jun. 2018 ob 23:57 je oseba Lime, Steve D (MNIT) < steve.l...@state.mn.us> napisala: > Will do. I have a working MapCache example on my dev box that I can share > pieces from. First step is to get MapCache working with the pull-request I > submitted some time ago. It relies on WMS requests to MapServer for the MVT > tiles. Pull request is at: > > https://github.com/mapserver/mapcache/pull/166 > > Regarding the canceled requests: > > I'm not sure what up with those. However, I don't believe those are a > server issue, rather a client-based. You can see the same behavior on other > sites using vector tiles from other services ( > https://openmaptiles.com/downloads/dataset/osm/#0.23/0/-26) in Chrome > DevTools. Could be related to pre-fetching resources. > > Regarding a unresponsive browser: > > There's likely a secret sauce in terms of the matching min/max scales you > should offer a layer at, whether you should manage multiple resolutions of > your data on the server and other filtering. The demo is very naïve in that > regard so you can end up with big tiles. At this point it's not something I > can offer a ton of help with - I don’t have a production MVT application > yet. > > Steve > > -----Original Message----- > From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On > Behalf Of mp-surv > Sent: Saturday, June 23, 2018 6:28 PM > To: mapserver-users@lists.osgeo.org > Subject: Re: [mapserver-users] Status of MVT vector tiles? > > Hey Steve. > I have a working demo using your data and when zooming out not all vector > tiles load and browser becomes unresponsive (image below). To avoid > overloading my computer when zooming out and causing my browser to crash I > would like to use mapcache, but I'm struggling to set it upt. Can you > please > give a working example using mapache? > > <http://osgeo-org.1560.x6.nabble.com/file/t368111/Capture.png> > > I can see there are also a lot of canceled requests but they are not > causing > my browser to crash. Do you know what produces them? > > Thanks. > > > > > > > > -- > Sent from: > http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/mapserver-users > -- Lp, Miha
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/mapserver-users