Skip to content

Commit

Permalink
Remove unneeded code for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 14, 2024
1 parent 59159ca commit 5fc6296
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ open class PathsExampleActivity: GeneralGlobeActivity() {
val positions = mutableListOf<Position>()
positions.add(dept.pos)
val path = Path(positions, attrs)
path.allowBatching = true
path.putUserProperty("dept", dept)
path.putUserProperty("dest", dest)
path.maximumIntermediatePoints = 0 // Suppress intermediate points as we will calculate many of them explicitly in positions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,6 @@ open class PathsPolygonsLabelsActivity: GeneralGlobeActivity() {
path.pathType = PathType.LINEAR
path.isFollowTerrain = true // essential for preventing long segments from intercepting ellipsoid.
path.displayName = attributes
path.allowBatching = true

// Add the Path object to the RenderableLayer on the UI Thread (see onProgressUpdate)
publishProgress(path)
Expand Down

0 comments on commit 5fc6296

Please sign in to comment.