<div dir="ltr"><div class="gmail_default" style="font-family:"courier new",monospace;font-size:small;color:rgb(11,83,148)">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.</div><div class="gmail_default" style="font-family:"courier new",monospace;font-size:small;color:rgb(11,83,148)"><br></div><div class="gmail_default" style="font-family:"courier new",monospace;font-size:small;color:rgb(11,83,148)">About canceled requests i found related "issue" discussed on leaflet forum:</div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2"><a href="https://github.com/Leaflet/Leaflet.VectorGrid/issues/136">https://github.com/Leaflet/Leaflet.VectorGrid/issues/136</a></font><br></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2">But i don't see a problem with that because all entities are loaded on my map.</font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2"><br></font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2">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.</font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2"><br></font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2">Thanks for your answers. Will track your github for further updates.</font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2"><br></font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2">Miha </font></div><div class="gmail_default"><font color="#0b5394" face="courier new, monospace" size="2"><br></font></div></div><br><div class="gmail_quote"><div dir="ltr">V V pon., 25. jun. 2018 ob 23:57 je oseba Lime, Steve D (MNIT) <<a href="mailto:steve.lime@state.mn.us">steve.lime@state.mn.us</a>> napisala:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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:<br>
<br>
<a href="https://github.com/mapserver/mapcache/pull/166" rel="noreferrer" target="_blank">https://github.com/mapserver/mapcache/pull/166</a><br>
<br>
Regarding the canceled requests:<br>
<br>
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 (<a href="https://openmaptiles.com/downloads/dataset/osm/#0.23/0/-26" rel="noreferrer" target="_blank">https://openmaptiles.com/downloads/dataset/osm/#0.23/0/-26</a>) in Chrome DevTools. Could be related to pre-fetching resources.<br>
<br>
Regarding a unresponsive browser:<br>
<br>
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. <br>
<br>
Steve<br>
<br>
-----Original Message-----<br>
From: mapserver-users [mailto:<a href="mailto:mapserver-users-bounces@lists.osgeo.org" target="_blank">mapserver-users-bounces@lists.osgeo.org</a>] On Behalf Of mp-surv<br>
Sent: Saturday, June 23, 2018 6:28 PM<br>
To: <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
Subject: Re: [mapserver-users] Status of MVT vector tiles?<br>
<br>
Hey Steve.<br>
I have a working demo using your data and when zooming out not all vector<br>
tiles load and browser becomes unresponsive (image below). To avoid<br>
overloading my computer when zooming out and causing my browser to crash I<br>
would like to use mapcache, but I'm struggling to set it upt. Can you please<br>
give a working example using mapache?<br>
<br>
<<a href="http://osgeo-org.1560.x6.nabble.com/file/t368111/Capture.png" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/file/t368111/Capture.png</a>> <br>
<br>
I can see there are also a lot of canceled requests but they are not causing<br>
my browser to crash. Do you know what produces them?<br>
<br>
Thanks.<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/Mapserver-User-f4226646.html</a><br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Lp,<div>Miha</div></div></div>