Last change
on this file since 4153 was 3119, checked in by jttt, 14 years ago |
Cache offscreen buffer for GpxLayer
|
-
Property svn:eol-style
set to
native
|
File size:
630 bytes
|
Line | |
---|
1 | //License: GPLv2 or later
|
---|
2 | //Copyright 2007 by Raphael Mack and others
|
---|
3 |
|
---|
4 | package org.openstreetmap.josm.data.gpx;
|
---|
5 |
|
---|
6 | import java.util.Collection;
|
---|
7 | import java.util.Map;
|
---|
8 |
|
---|
9 | import org.openstreetmap.josm.data.Bounds;
|
---|
10 |
|
---|
11 |
|
---|
12 | /**
|
---|
13 | * Read-only gpx track. Implementations doesn't have to be immutable, but should always be thread safe.
|
---|
14 | *
|
---|
15 | */
|
---|
16 |
|
---|
17 | public interface GpxTrack {
|
---|
18 |
|
---|
19 | Collection<GpxTrackSegment> getSegments();
|
---|
20 | Map<String, Object> getAttributes();
|
---|
21 | Bounds getBounds();
|
---|
22 | double length();
|
---|
23 | /**
|
---|
24 | *
|
---|
25 | * @return Number of times this track has been changed. Always 0 for read-only tracks
|
---|
26 | */
|
---|
27 | int getUpdateCount();
|
---|
28 |
|
---|
29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.