-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move GoogleTilesRenderer into core (#361)
* Add google tiles renderer to core * Update demos * README update
- Loading branch information
Showing
8 changed files
with
63 additions
and
8 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
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
2 changes: 1 addition & 1 deletion
2
example/src/MapsTilesCredits.js → ...three/renderers/GoogleMapsTilesCredits.js
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export class MapsTilesCredits { | ||
export class GoogleMapsTilesCredits { | ||
|
||
constructor() { | ||
|
||
|
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,23 @@ | ||
import { TilesRenderer } from '../TilesRenderer'; | ||
import { DebugTilesRenderer } from '../DebugTilesRenderer'; | ||
import { Ellipsoid } from '../math/Ellipsoid'; | ||
|
||
export class GoogleTilesRenderer extends TilesRenderer { | ||
|
||
ellipsoid: Ellipsoid; | ||
|
||
constructor( apiKey: String ); | ||
getCreditsString(): String; | ||
setLatLonToYUp( lat: Number, lon: Number ): void; | ||
|
||
} | ||
|
||
export class DebugGoogleTilesRenderer extends DebugTilesRenderer { | ||
|
||
ellipsoid: Ellipsoid; | ||
|
||
constructor( apiKey: String ); | ||
getCreditsString(): String; | ||
setLatLonToYUp( lat: Number, lon: Number ): void; | ||
|
||
} |
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