OpenLayers OpenLayers

Ticket #565 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

OpenLayers.Geometry.LinearRing.toString() doesn't work

Reported by: openlayers Assigned to: sderle
Priority: minor Milestone: 2.4 Release
Component: Geometry.LinearRing Version: SVN
Keywords: Cc:
State:

Description

The function returns "[object Object]".

This is strange because LinearRing inherits from LineString and toString() works with this class ...

The patch corrects it and add a unit test.

-- fredj

Attachments

LinearRing.toString.patch (1.1 kB) - added by openlayers on 03/26/07 09:55:39.
inheritance.patch (1.5 kB) - added by tschaub on 03/26/07 18:47:28.
I think this does the trick

Change History

03/26/07 09:55:39 changed by openlayers

  • attachment LinearRing.toString.patch added.

03/26/07 16:57:06 changed by sderle

thanks very much, fredj. applied as r2898.

03/26/07 17:39:43 changed by sderle

  • owner set to sderle.
  • status changed from new to assigned.

ok, why this doesn't work given Uz's patch to BaseTypes last week to workaround the apparent IE toString() bug is beyond me. reopening to explore this.

03/26/07 18:47:28 changed by tschaub

  • attachment inheritance.patch added.

I think this does the trick

03/26/07 18:51:47 changed by crschmidt

Go ahead to commit with approval from Schuyler and I.

03/26/07 19:12:17 changed by tschaub

  • status changed from assigned to closed.
  • resolution set to fixed.

committed with r2901