Tag Info

Hot answers tagged

2

You would have to be a on a fairly low-tech machine, or be zooming/panning via automation in order to have issues rendering only two XYZ layers. I suspect your issue is related to something else. If it was an actual issue, you could employ a bounds/extent trigger to stop rendering and halt network traffic for tiles that are out of view. That being said, ...


2

The tiles are independently rendered, so each tile is using different random numbers, hence parts of the points end up in different places. That's a correct diagnosis, but unfortunately I don't know that I have the cure.


2

It's fine to use different tile sources for different zoom levels, just set the min and max zoom on each layer, and don't have the zoom ranges overlap. var map = L.map('map').setView([45, -110], 10); L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { attribution: '&copy; <a ...


2

In your case I would recommend to set up a WMS service using mapserver or something equivalent, and then requesting tiles from the WMS endpoint. http://mapserver.org/ogc/wms_server.html This is a very flexible approach, as on the backend you do not need to worry about the exact TMS tiles definitions (indices and bboxes etc). Instead, let the frontend ...


1

May be It depends up on back end for serving geojson. Just it varies for different back end serving capabilities. Just change the serving back end and observe the result. In leaflet the layer is load once from the back end and we can do more functionalities available for manipulating the layer.



Only top voted, non community-wiki answers of a minimum length are eligible