InternalItem: make public
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
* Copyright 2013 Hannes Janetzek
|
* Copyright 2013 Hannes Janetzek
|
||||||
* Copyright 2016 Izumi Kawashima
|
* Copyright 2016 Izumi Kawashima
|
||||||
* Copyright 2017 Longri
|
* Copyright 2017 Longri
|
||||||
* Copyright 2017 devemux86
|
* Copyright 2017-2020 devemux86
|
||||||
* Copyright 2017 nebular
|
* Copyright 2017 nebular
|
||||||
*
|
*
|
||||||
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
* This file is part of the OpenScienceMap project (http://www.opensciencemap.org).
|
||||||
@@ -23,14 +23,14 @@ package org.oscim.layers.marker;
|
|||||||
/**
|
/**
|
||||||
* The internal representation of a marker.
|
* The internal representation of a marker.
|
||||||
*/
|
*/
|
||||||
class InternalItem {
|
public class InternalItem {
|
||||||
|
|
||||||
MarkerInterface item;
|
public MarkerInterface item;
|
||||||
boolean visible;
|
public boolean visible;
|
||||||
boolean changes;
|
public boolean changes;
|
||||||
float x, y;
|
public float x, y;
|
||||||
double px, py;
|
public double px, py;
|
||||||
float dy;
|
public float dy;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
@@ -43,15 +43,15 @@ class InternalItem {
|
|||||||
* It only adds a couple properties to InternalItem, and the semantics "InternalItem.Clustered"
|
* It only adds a couple properties to InternalItem, and the semantics "InternalItem.Clustered"
|
||||||
* are not bad.
|
* are not bad.
|
||||||
*/
|
*/
|
||||||
static class Clustered extends InternalItem {
|
public static class Clustered extends InternalItem {
|
||||||
/**
|
/**
|
||||||
* If this is >0, this item will be displayed as a cluster circle, with size clusterSize+1.
|
* If this is >0, this item will be displayed as a cluster circle, with size clusterSize+1.
|
||||||
*/
|
*/
|
||||||
int clusterSize;
|
public int clusterSize;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If this is true, this item is hidden (because it's represented by another InternalItem acting as cluster.
|
* If this is true, this item is hidden (because it's represented by another InternalItem acting as cluster.
|
||||||
*/
|
*/
|
||||||
boolean clusteredOut;
|
public boolean clusteredOut;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user