[OpenLayers-Dev] JSON Vector Overlay not showing in map
rgingerich at eid.org
Tue Nov 26 10:50:39 PST 2013
<http://osgeo-org.1560.x6.nabble.com/file/n5091341/map.png> Greetings All,
I'm trying to utilize an example from the OpenLayers website for showing map
overlays. I changed only the bounding coordinates and the data (url)
location to point to where my data is stored locally. Here is the code:
<title>All Overlays Example</title>
href="OpenLayers_2_13_1/theme/default/style.css" type="text/css" />
<link rel="stylesheet" href="CSS/style.css" type="text/css" />
OpenLayers Overlays Only Example
Demonstrates a map with overlays only.
<div id="map" class="smallmap"></div>
To create a map that allows any draw order with all layer types
and lets you set the visibility of any layer independently, set
the allOverlays property on the map to true.
Originally I was getting HTTPRequest error for Cross Origin violation but
switched Chrome to allow file access from files. Now I don't get any errors
projection is EPSG4326 and I reset the bounding coordinates to map what I
was seeing in ArcMap. Any ideas?
Thanks so much.
View this message in context: http://osgeo-org.1560.x6.nabble.com/JSON-Vector-Overlay-not-showing-in-map-tp5091341.html
Sent from the OpenLayers Dev mailing list archive at Nabble.com.
More information about the Dev