Ticket #16 (closed feature: fixed)

Opened 7 years ago

Last modified 7 years ago

Implement OpenLayers.Layer.Text class

Reported by: sderle Owned by: crschmidt
Priority: critical Milestone: Barcelona
Component: Layer Version:
Keywords: Cc:
State:

Description (last modified by sderle) (diff)

The OpenLayers.Layer.Text class can be ported from the old ol.DS.TextFile class.

This will also necessitate bringing forward proxy.cgi from the Mk III codebase, and putting it in a new example/ directory.

Change History

Changed 7 years ago by sderle

  • description modified (diff)

Changed 7 years ago by sderle

  • milestone changed from Aotearoa to Barcelona

Changed 7 years ago by crschmidt

  • status changed from new to assigned

Base class exists, however, additional data is not stored in any structure yet. I think that this is a case where the OpenLayers.Feature class could come into play.

Changed 7 years ago by crschmidt

Discussion on IRC led to acceptance of the following properties:

  • lat
  • lon
  • iconURL
  • iconOffset (points to upper left corner of bounding box for icon, relative to latlon)
  • title
  • description

The last two are used for popups, the middle two default to a 'base' MC iconURL, and the first two are rather obvious. So far, the first three are implemented.

Changed 7 years ago by follower

Should description be named content or a similar name instead? It should probably also be able to be either plain text or HTML.

Changed 7 years ago by crschmidt

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

This feature is implemented and committed.

Note: See TracTickets for help on using tickets.