fjanon / timemap

Automatically exported from code.google.com/p/timemap
MIT License
0 stars 0 forks source link

item title on timeline is cut off when the length over 32 characters #79

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.in the following example, the title: "An event at South Hall An event at 
South Hall" can't display in full, it is cut off to "An event at South Hall An"

function onLoad() {
  tm = TimeMap.init({
    mapId: "map",               // Id of map div element (required)
    timelineId: "timeline",     // Id of timeline div element (required) 
    datasets: [
      {
        data: {
          type: "basic",  // Other options include "json" and "kml"
          value: [        // Put in an array of objects
            {
              // The start date for the event
              "start" : "2008-09-02",
              // The end date for the event - omit for instant events    
              "end" : "2008-09-30",
              // The placemark could be a point, polyline, polygon, or overlay
              "point" : {                   
                "lat" : 37.872312,
                "lon" : -122.258863
              },
              // by default, the title and description are shown in the info window
              "title" : "An event at South Hall An event at South Hall",
              "options" : {
                "description" : "UC Berkeley School of Information"
              }
            }
          ]
        }
      }
    ]
  });
}

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
timeline-1.2.js, Linux ubuntu

Please provide any additional information below.

Original issue reported on code.google.com by Junran....@gmail.com on 25 Oct 2010 at 12:17

GoogleCodeExporter commented 9 years ago
This is a Timeline issue, not specific to Timemap. It's a setting in the Theme 
that you give to Timeline - myTheme.event.label.width . I'll try to add this to 
http://code.google.com/p/timemap/wiki/ThemingTimeMaps

Original comment by nick.rab...@gmail.com on 25 Oct 2010 at 12:39