Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

New to mapping.

Trying to create a heat map with data that updates every hour for US Counties with leaflet.js similar to http://leaflet.cloudmade.com/examples/choropleth-example.html. But, adding all the US Counties in 1 shot makes map jerky in IE.

So found this example of using GeoJSON tiles with leaflet.js, http://bl.ocks.org/3725681

Only problem is that many tiles are not rendered completely. I think some of the z/x/y.json files are missing coordinates, but not sure. Can someone point me to the right direction of the problem here.

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

That gist is using GeoJSON designed for polymaps. While polymaps handled it correctly (see the original example), this Leaflet code (not Leaflet itself, the GeoJSON tiled layer connector) isn't quite complete.

So, part of this is that it's not quite finished. But the more-big part is that things being 'jerky' in IE is the norm - IE is a very bad web browser, and older versions will not handle vector rendering well regardless how much development time is put into projects.

share|improve this answer
add comment

this little piece of code might be just what you need: https://github.com/glenrobertson/leaflet-tilelayer-geojson

share|improve this answer
    
yep this version is a more up to date version of the gist at bl.ocks.org/3725681. –  Glen Robertson Mar 31 '13 at 8:39
add comment

We're looking for long answers that provide some explanation and context. Don't just give a one-line answer; explain why your answer is right, ideally with citations. Answers that don't include explanations may be removed.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.