[OpenLayers-Trac] Re: [OpenLayers] #3570: No Such Method "wkt.replace" Error

OpenLayers trac-20090302 at openlayers.org
Mon Nov 7 13:32:03 EST 2011


#3570: No Such Method "wkt.replace" Error
-------------------------+--------------------------------------------------
  Reporter:  bcrosby     |       Owner:  tschaub     
      Type:  bug         |      Status:  closed      
  Priority:  major       |   Milestone:  2.12 Release
 Component:  Format.WKT  |     Version:  2.11        
Resolution:  invalid     |    Keywords:              
     State:              |  
-------------------------+--------------------------------------------------
Changes (by ahocevar):

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


Comment:

 You are not using the API correctly. if wkt is an instance of
 OpenLayers.Format.WKT, then read takes a WKT string as argument, not a
 geometry. Maybe you meant to use wkt.write()?

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


More information about the Trac mailing list