예제 #1
0
    void AddOtherExampleOverlays()
    {
        // New Ark overlay image
        _map.AddGroundOverlay(DemoUtils.CreateNewArkGroundOverlay());

        // Talkeetna
        if (Application.platform == RuntimePlatform.IPhonePlayer)
        {
            _map.AddGroundOverlay(DemoUtils.CreateTalkeetnaGroundOverlayForIos());
        }

        // Medicare
        var medicareHeatmapOptions = DemoUtils.CreateDemoHeatMap(heatmapDataJsonMedicare.text);

        _map.AddTileOverlay(medicareHeatmapOptions);

        // Berlin marker
        _map.AddMarker(DemoUtils.CreateTexture2DMarkerOptions(icon));
    }