[OpenLayers-Trac] Re: [OpenLayers] #2826: Format.GeoJSON doesn't load features in IE when using "FeatureCollection"

OpenLayers trac-20090302 at openlayers.org
Wed Feb 16 09:00:50 EST 2011


#2826: Format.GeoJSON doesn't load features in IE when using "FeatureCollection"
-----------------------------+----------------------------------------------
  Reporter:  adube           |       Owner:  tschaub     
      Type:  bug             |      Status:  closed      
  Priority:  major           |   Milestone:  2.11 Release
 Component:  Format.GeoJSON  |     Version:  SVN         
Resolution:  invalid         |    Keywords:              
     State:                  |  
-----------------------------+----------------------------------------------
Changes (by fredj):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 The geojson variable in you example pages contains a trailing comma:
 {{{
 var geojson = '{"type": "FeatureCollection", "features":
 [{"type":"Feature", "properties":{"gid": "34614", "n": "Erieau
 Meteorological Aeronautical Presentation System , Canada", "pt24": "0",
 "dt": "2", "rh": "81", "ws": "9.8", "b": "1010.5", "t": "21.1"},
 "geometry":{"type":"Point","bbox":[-81.900000,42.250000,-81.900000,42.250000],"coordinates":[-81.9,42.25]}}
 ,]}';
 }}}

 I'm closing this ticket but feel free to re-open it if you think we should
 do something special about it in the format reader.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2826#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list