Created
October 13, 2012 10:17
-
-
Save acrymble/3884055 to your computer and use it in GitHub Desktop.
Synchronized Map and Timeline HTML code 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> var tm; $(function() { tm = TimeMap.init({ mapId: "map", // Id of map div element (required) timelineId: "timeline", // Id of timeline div element (required) options: { eventIconPath: "../images/" }, datasets: [ { title: "London Publishers", theme: "blue", type: "kml", // Data to be loaded in KML - must be a local URL options: { url: "mycollection.kml" // KML file to load } } ], bandInfo: [ { width: "85%", intervalUnit: Timeline.DateTime.YEAR, intervalPixels: 100 }, { width: "15%", intervalUnit: Timeline.DateTime.DECADE, intervalPixels: 150, showEventText: false, trackHeight: 0.2, trackGap: 0.2 } ] }); }); </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment