write.html {kftrack}R Documentation

Write html page with a map of the track(s)

Description

Write html page with a map of the track(s). This html code Google maps interface to display the estimated track(s) on a pretty map.

Usage

write.html(fitlist, description = rep("", length(fitlist)), file = "track.html", npoints = 20, level = 0.95, key = "none")

Arguments

fitlist One fit or a list of fits as returned from kftrack or kfsst
description One string (in case of only one fit), or a vector of strings, each with a description of a tag. Html tags are allowed
file The file where the html code is written
npoints Number of points in the polygon representation of the confidence ellipses
level The confidence level
key The Google Maps API key corresponding to the site where the page is to be published. If no key is supplied the page will still work, but should only be used locally

Author(s)

John Sibert jsibert@soest.hawaii.edu, Anders Nielsen anielsen@dina.kvl.dk

References

Google maps API http://www.google.com/apis/maps/

See Also

addmap,plotmap,kftrack

Examples

  data(big.241)
  fit<-kftrack(big.241, fix.last=FALSE)
  write.html(fit)
  #browseURL(normalizePath('track.html'))

[Package kftrack version 0.70 Index]