You are here

README.txt in GMap Addons 7

This will let you use PLT tracks.

--- macro extensions ---
  track - Draws a line based on the points in the .plt file.

[gmap |track=red/5/0.7:track.plt]

@@@ The part before the : is currently not working.


--- gmap_tracks extensions ---

// Other parts of $map left out for clarity.
<?php
$map = array(
  // Array of tracks to load and inject.
  // See below for format.
  'tracks' => array(),
);

$map['tracks'][] = array(

  // Style (currently broken.)
  // @@@ Originally was keyed? Original doc refers to "'type', 'color', etc... same as the shape line."
  'style' => array(),

  // .PLT file to load. Filename is relative to the drupal base url.
  'filename' => 'files/testing.plt',
);
?>

File

gmap_tracks/README.txt
View source
  1. This will let you use PLT tracks.
  2. --- macro extensions ---
  3. track - Draws a line based on the points in the .plt file.
  4. [gmap |track=red/5/0.7:track.plt]
  5. @@@ The part before the : is currently not working.
  6. --- gmap_tracks extensions ---
  7. // Other parts of $map left out for clarity.
  8. $map = array(
  9. // Array of tracks to load and inject.
  10. // See below for format.
  11. 'tracks' => array(),
  12. );
  13. $map['tracks'][] = array(
  14. // Style (currently broken.)
  15. // @@@ Originally was keyed? Original doc refers to "'type', 'color', etc... same as the shape line."
  16. 'style' => array(),
  17. // .PLT file to load. Filename is relative to the drupal base url.
  18. 'filename' => 'files/testing.plt',
  19. );
  20. ?>