I'm getting started with OpenLayers and all was going well until I tried to use my own GeoJSON file.
I started with the Cartographic Boundary Shapefiles - Counties from the Census website, loaded it into http://www.mapshaper.org/ and exported it as a GeoJSON file. However when I use that as my source (either a straight Vector layer or as an Image layer) it doesn't display anything. No errors- just a empty window with zoom controls. I suspect it may have something to do with projections so I made it the only layer, but it didn't help.
Any help would be appreciated.
thanks!
أكثر...
I started with the Cartographic Boundary Shapefiles - Counties from the Census website, loaded it into http://www.mapshaper.org/ and exported it as a GeoJSON file. However when I use that as my source (either a straight Vector layer or as an Image layer) it doesn't display anything. No errors- just a empty window with zoom controls. I suspect it may have something to do with projections so I made it the only layer, but it didn't help.
Any help would be appreciated.
thanks!
أكثر...