OpenLayers OpenLayers

Ticket #493 (closed bug: invalid)

Opened 2 years ago

Last modified 1 month ago

Text Layer not shown in IE if meta description tag is present

Reported by: openlayers Assigned to: crschmidt
Priority: major Milestone: 2.7 Release
Component: Layer.Text Version: 2.5
Keywords: Cc:
State:

Description

A Layer of type OpenLayers.Layer.Text will not be visible in IE (6.0) if a description meta tag is present in page header.

Looks like this is a bug in IE only.

A workaround could be to rename the variable "description" in Text.js to something like "markerdesc". see attached patch.

To reproduce this bug just add the tag <meta name="description" content="Map"/> to the page header of the sample http://openlayers.org/dev/examples/markersTextLayer.html and open the page in IE6.

Attachments

markertext_ie.2.patch (1.1 kB) - added by openlayers on 02/04/07 18:21:50.
markertext_ie.patch (1.1 kB) - added by openlayers on 02/04/07 18:32:19.
text.layer.patch (0.6 kB) - added by crschmidt on 02/18/07 11:14:59.

Change History

02/04/07 18:21:50 changed by openlayers

  • attachment markertext_ie.2.patch added.

02/04/07 18:32:19 changed by openlayers

  • attachment markertext_ie.patch added.

02/18/07 10:52:23 changed by crschmidt

  • milestone set to 2.4 Release.

02/18/07 11:14:22 changed by crschmidt

'description' is a global variable, and it shouldn't be. I believe that making this a non-global variable should fix the problem. Patch incoming.

02/18/07 11:14:59 changed by crschmidt

  • attachment text.layer.patch added.

02/18/07 12:03:06 changed by crschmidt

  • keywords changed from IE meta description Layer.Text to IE meta description Layer.Text review.

03/08/07 15:25:41 changed by euzuro

  • milestone changed from 2.4 Release to 2.5 Release.

can't seem to figure out what's wrong here. tried both versions of patches and no cigar. on my ie6 the problem manifests itself only on startup. once the user has zoomed the markers do appear.

06/07/07 14:05:41 changed by sderle

  • owner changed from crschmidt to sderle.

08/03/07 10:46:10 changed by crschmidt

  • owner changed from sderle to crschmidt.

Going to take a crack at reproducing this this weekend, and bump if i can't.

08/03/07 11:04:51 changed by crschmidt

  • status changed from new to assigned.

08/13/07 08:21:38 changed by crschmidt

  • milestone changed from 2.5 Release to 2.6 Release.

Eh. Can't figure out what is supposed to be happening here. Bumping.

09/30/07 12:26:05 changed by crschmidt

  • keywords deleted.

10/18/07 02:16:43 changed by jachym

  • version changed from 2.2 to 2.5.

I can confirm, that patch like this is needed for IE 6. Not only, that the markers do not appear, but also IE fires bug and would not work at all.

Jachym

01/22/08 17:39:53 changed by crschmidt

  • state changed.
  • milestone changed from 2.6 Release to 2.7 Release.

Mass ticket move to 2.7 post dev meeting. If you are actively working on this task, please update this ticket with information and change the milestone to 2.6. At the time of the next IRC meeting (most likely 1-31-08), this will mean the ticket can *not* be brought back into 2.6 unless there is further feedback.

07/28/08 12:38:02 changed by crschmidt

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