26 (edited by negruj0w1tsch 2020-11-02 11:44:22)

Re: Extend Online Maps to create a horizon

Hello,

Due to some script related dependencies I have to rotate my map object in the scene. It's basically got a rotation 0/180/0 e.g. upside down than the default rotation. This, however causes an issue with the HorizonWithoutElevation script. The content of the map on the horizon tiles doesn't fit the main map. Any quick way to fix this while still keeping the 0/180/0 rotation of the map object?

Cheers,

Jürgen

Re: Extend Online Maps to create a horizon

It was not planned in this script that the map could be rotated.
Email me (support@infinity-code.com) and I will send you a modified script.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: Extend Online Maps to create a horizon

How do you use the scripts you publish?I used horizon. Cs directly.This is the error I got:

Assets\Infinity Code\Online maps\Scripts\Horizon2.cs(76,45): error CS0117: 'OnlineMapsUtils' does not contain a definition for 'GetWWW'
Assets\Infinity Code\Online maps\Scripts\Horizon2.cs(79,18): error CS1061: 'OnlineMapsTile' does not contain a definition for 'customData' and no accessible extension method 'customData' accepting a first argument of type 'OnlineMapsTile' could be found (are you missing a using directive or an assembly reference?)
...........

Re: Extend Online Maps to create a horizon

For Online Maps v3 you need to use Horizon2_OM3 script.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: Extend Online Maps to create a horizon

Alex Vertax wrote:

For Online Maps v3 you need to use Horizon2_OM3 script.

Thanks,But ,I used the script you mentioned, but my program did not get  OnlineMapsBingMapsElevationManager.instance:

Re: Extend Online Maps to create a horizon

This example requires Bing Maps Elevation Manager.
If you don't need elevations, see HorizonWithoutElevation script in the package.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.