Comments (3)
Your grid.json has grid(
at the start (and a matching );
at the end).
If you get rid of that then you can use useJsonP: false
and it should work I think?
from leaflet.utfgrid.
hi dave, thanks for the reply. I've created also a question on gis.stackexchange: http://gis.stackexchange.com/questions/127955/serving-utfgrid-information-made-with-mb-util-with-leaflet
maybe it will give some more information... I'll try your suggestion and report back in!
from leaflet.utfgrid.
it was working! so you you need to create the tiles with the following command:
mb-util --grid_callback="" tiles.mbtiles path/to/tiles
when you open the index.html make sure it is in the same folder as your utfgrid tiles. It will also throw an error when you open the index.html in the browser with var/www/html/index.html but define your utfgrid like http://localhost/z/x/y...
Now everything is fine! Thanks again for the suggestion!
from leaflet.utfgrid.
Related Issues (20)
- Support touch devices HOT 1
- Support templates and custom templates
- Between-zoom support HOT 1
- Max Zoom 18? HOT 3
- setUrl method HOT 2
- get pixel coordinates for mouse events HOT 1
- Grid outside of layer boundaries. HOT 6
- Prevent to trigger click event on double-click HOT 1
- Multiple Grid Layers HOT 4
- Precision
- Mouseout only when leaving layer area HOT 4
- initialize function issue HOT 5
- sparse tile sets don't work
- Uncaught NotFoundError: Failed to execute 'removeChild' on 'Node' HOT 5
- Internet Explorer - DOMException Invalid State HOT 2
- UTFGrid is not working when zoom level is non-integer (Leaflet 1.0) HOT 3
- Definition File HOT 2
- Layer is not added after zooming into min/max zoom range
- external service url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leaflet.utfgrid.