-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1173 from tangrams/android-sceneLoadUpdates
Add Android API for scene loading with scene updates
- Loading branch information
Showing
5 changed files
with
128 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
package com.mapzen.tangram; | ||
|
||
/** | ||
* {@code SceneUpdate} Represents a DataStructure to specify a yaml path and the corresponding value for a Scene Update. | ||
*/ | ||
|
||
public class SceneUpdate { | ||
|
||
private String componentPath; | ||
private String componentValue; | ||
|
||
/** | ||
* Add a point feature to this collection. | ||
* @param path Series of yaml keys separated by a ".". Represents the scene path to be updated | ||
* @param value A yaml string which will update the value at the specified path | ||
*/ | ||
public SceneUpdate(String path, String value) { | ||
this.componentPath = path; | ||
this.componentValue = value; | ||
} | ||
|
||
public String getPath() { return componentPath; } | ||
public String getValue() { return componentValue; } | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters