-
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.
Add Android API for scene loading with scene updates
- MapView provides an overloaded `getMapAsync` which accepts an ArrayList of SceneUpdates (new Class). - MapController::loadSceneFile provides an overloaded method to accept an ArrayList of SceneUpdates - MapController::queueSceneUpdates provides an overloaded method to accept an ArrayList of SceneUpdates
- Loading branch information
1 parent
de8d433
commit 89cc64f
Showing
5 changed files
with
99 additions
and
1 deletion.
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,24 @@ | ||
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 { | ||
|
||
public String path; | ||
public String value; | ||
|
||
public SceneUpdate() { this("", ""); } | ||
|
||
public SceneUpdate(String path, String value) { | ||
set(path, value); | ||
} | ||
|
||
public SceneUpdate set(String p, String v) { | ||
path = p; | ||
value = v; | ||
return this; | ||
} | ||
|
||
} |
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