Issue dsplaying GeoJSON file in OpenLayers 3.9.0

المشرف العام

Administrator
طاقم الإدارة
I'm trying to get vector feature from geojson file displayed in openlayers 3.9.0.

{"type": "FeatureCollection","crs": {"type": "name","properties": {"name": "EPSG:3857"}}, "features": [{"type": "Feature","geometry": {"type": "Point","coordinates": [0, 0]}}]} Does anyone see why this code does not do it?

2 html, body, #map { margin: 0; height: 100%; width: 100%; }


أكثر...
 
أعلى