// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_2_H #define WINRT_Windows_UI_Xaml_Controls_Maps_2_H #include "winrt/impl/Windows.Devices.Geolocation.1.h" #include "winrt/impl/Windows.Foundation.1.h" #include "winrt/impl/Windows.Foundation.Collections.1.h" #include "winrt/impl/Windows.Services.Maps.1.h" #include "winrt/impl/Windows.Storage.Streams.1.h" #include "winrt/impl/Windows.UI.Composition.1.h" #include "winrt/impl/Windows.UI.Xaml.1.h" #include "winrt/impl/Windows.UI.Xaml.Controls.1.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h" WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Maps { struct MapZoomLevelRange { double Min {}; double Max {}; }; inline bool operator==(MapZoomLevelRange const& left, MapZoomLevelRange const& right) noexcept { return left.Min == right.Min && left.Max == right.Max; } inline bool operator!=(MapZoomLevelRange const& left, MapZoomLevelRange const& right) noexcept { return !(left == right); } struct WINRT_IMPL_EMPTY_BASES CustomMapTileDataSource : winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource, impl::base, impl::require { CustomMapTileDataSource(std::nullptr_t) noexcept {} CustomMapTileDataSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource(ptr, take_ownership_from_abi) {} CustomMapTileDataSource(); }; struct WINRT_IMPL_EMPTY_BASES HttpMapTileDataSource : winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource, impl::base, impl::require { HttpMapTileDataSource(std::nullptr_t) noexcept {} HttpMapTileDataSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource(ptr, take_ownership_from_abi) {} HttpMapTileDataSource(); explicit HttpMapTileDataSource(param::hstring const& uriFormatString); }; struct WINRT_IMPL_EMPTY_BASES LocalMapTileDataSource : winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource, impl::base, impl::require { LocalMapTileDataSource(std::nullptr_t) noexcept {} LocalMapTileDataSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource(ptr, take_ownership_from_abi) {} LocalMapTileDataSource(); explicit LocalMapTileDataSource(param::hstring const& uriFormatString); }; struct WINRT_IMPL_EMPTY_BASES MapActualCameraChangedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs, impl::require { MapActualCameraChangedEventArgs(std::nullptr_t) noexcept {} MapActualCameraChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs(ptr, take_ownership_from_abi) {} MapActualCameraChangedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapActualCameraChangingEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs, impl::require { MapActualCameraChangingEventArgs(std::nullptr_t) noexcept {} MapActualCameraChangingEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs(ptr, take_ownership_from_abi) {} MapActualCameraChangingEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapBillboard : winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard, impl::base, impl::require { MapBillboard(std::nullptr_t) noexcept {} MapBillboard(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard(ptr, take_ownership_from_abi) {} explicit MapBillboard(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera); [[nodiscard]] static auto LocationProperty(); [[nodiscard]] static auto NormalizedAnchorPointProperty(); [[nodiscard]] static auto CollisionBehaviorDesiredProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapCamera : winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera, impl::base, impl::require { MapCamera(std::nullptr_t) noexcept {} MapCamera(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera(ptr, take_ownership_from_abi) {} explicit MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location); MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees); MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees); MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees); }; struct WINRT_IMPL_EMPTY_BASES MapContextRequestedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs { MapContextRequestedEventArgs(std::nullptr_t) noexcept {} MapContextRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs(ptr, take_ownership_from_abi) {} MapContextRequestedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControl : winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, impl::base, impl::require { MapControl(std::nullptr_t) noexcept {} MapControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControl(ptr, take_ownership_from_abi) {} MapControl(); using winrt::Windows::UI::Xaml::Controls::Maps::IMapControl::FindMapElementsAtOffset; using impl::consume_t::FindMapElementsAtOffset; using winrt::Windows::UI::Xaml::Controls::Maps::IMapControl::GetLocationFromOffset; using impl::consume_t::GetLocationFromOffset; using winrt::Windows::UI::Xaml::Controls::Maps::IMapControl::Style; using impl::consume_t::Style; [[nodiscard]] static auto CenterProperty(); [[nodiscard]] static auto ChildrenProperty(); [[nodiscard]] static auto ColorSchemeProperty(); [[nodiscard]] static auto DesiredPitchProperty(); [[nodiscard]] static auto HeadingProperty(); [[nodiscard]] static auto LandmarksVisibleProperty(); [[nodiscard]] static auto LoadingStatusProperty(); [[nodiscard]] static auto MapServiceTokenProperty(); [[nodiscard]] static auto PedestrianFeaturesVisibleProperty(); [[nodiscard]] static auto PitchProperty(); [[nodiscard]] static auto StyleProperty(); [[nodiscard]] static auto TrafficFlowVisibleProperty(); [[nodiscard]] static auto TransformOriginProperty(); [[nodiscard]] static auto WatermarkModeProperty(); [[nodiscard]] static auto ZoomLevelProperty(); [[nodiscard]] static auto MapElementsProperty(); [[nodiscard]] static auto RoutesProperty(); [[nodiscard]] static auto TileSourcesProperty(); [[nodiscard]] static auto LocationProperty(); static auto GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element); static auto SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value); [[nodiscard]] static auto NormalizedAnchorPointProperty(); static auto GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element); static auto SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value); [[nodiscard]] static auto BusinessLandmarksVisibleProperty(); [[nodiscard]] static auto TransitFeaturesVisibleProperty(); [[nodiscard]] static auto PanInteractionModeProperty(); [[nodiscard]] static auto RotateInteractionModeProperty(); [[nodiscard]] static auto TiltInteractionModeProperty(); [[nodiscard]] static auto ZoomInteractionModeProperty(); [[nodiscard]] static auto Is3DSupportedProperty(); [[nodiscard]] static auto IsStreetsideSupportedProperty(); [[nodiscard]] static auto SceneProperty(); [[nodiscard]] static auto BusinessLandmarksEnabledProperty(); [[nodiscard]] static auto TransitFeaturesEnabledProperty(); [[nodiscard]] static auto MapProjectionProperty(); [[nodiscard]] static auto StyleSheetProperty(); [[nodiscard]] static auto ViewPaddingProperty(); [[nodiscard]] static auto LayersProperty(); [[nodiscard]] static auto RegionProperty(); [[nodiscard]] static auto CanTiltDownProperty(); [[nodiscard]] static auto CanTiltUpProperty(); [[nodiscard]] static auto CanZoomInProperty(); [[nodiscard]] static auto CanZoomOutProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapControlBusinessLandmarkClickEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkClickEventArgs { MapControlBusinessLandmarkClickEventArgs(std::nullptr_t) noexcept {} MapControlBusinessLandmarkClickEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkClickEventArgs(ptr, take_ownership_from_abi) {} MapControlBusinessLandmarkClickEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlBusinessLandmarkPointerEnteredEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerEnteredEventArgs { MapControlBusinessLandmarkPointerEnteredEventArgs(std::nullptr_t) noexcept {} MapControlBusinessLandmarkPointerEnteredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerEnteredEventArgs(ptr, take_ownership_from_abi) {} MapControlBusinessLandmarkPointerEnteredEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlBusinessLandmarkPointerExitedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerExitedEventArgs { MapControlBusinessLandmarkPointerExitedEventArgs(std::nullptr_t) noexcept {} MapControlBusinessLandmarkPointerExitedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerExitedEventArgs(ptr, take_ownership_from_abi) {} MapControlBusinessLandmarkPointerExitedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlBusinessLandmarkRightTappedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkRightTappedEventArgs { MapControlBusinessLandmarkRightTappedEventArgs(std::nullptr_t) noexcept {} MapControlBusinessLandmarkRightTappedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkRightTappedEventArgs(ptr, take_ownership_from_abi) {} MapControlBusinessLandmarkRightTappedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlDataHelper : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper, impl::base, impl::require { MapControlDataHelper(std::nullptr_t) noexcept {} MapControlDataHelper(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper(ptr, take_ownership_from_abi) {} explicit MapControlDataHelper(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map); static auto CreateMapControl(bool rasterRenderMode); }; struct WINRT_IMPL_EMPTY_BASES MapControlTransitFeatureClickEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs { MapControlTransitFeatureClickEventArgs(std::nullptr_t) noexcept {} MapControlTransitFeatureClickEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs(ptr, take_ownership_from_abi) {} MapControlTransitFeatureClickEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlTransitFeaturePointerEnteredEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs { MapControlTransitFeaturePointerEnteredEventArgs(std::nullptr_t) noexcept {} MapControlTransitFeaturePointerEnteredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs(ptr, take_ownership_from_abi) {} MapControlTransitFeaturePointerEnteredEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlTransitFeaturePointerExitedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs { MapControlTransitFeaturePointerExitedEventArgs(std::nullptr_t) noexcept {} MapControlTransitFeaturePointerExitedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs(ptr, take_ownership_from_abi) {} MapControlTransitFeaturePointerExitedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapControlTransitFeatureRightTappedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs { MapControlTransitFeatureRightTappedEventArgs(std::nullptr_t) noexcept {} MapControlTransitFeatureRightTappedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs(ptr, take_ownership_from_abi) {} MapControlTransitFeatureRightTappedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapCustomExperience : winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperience, impl::base, impl::require { MapCustomExperience(std::nullptr_t) noexcept {} MapCustomExperience(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperience(ptr, take_ownership_from_abi) {} MapCustomExperience(); }; struct WINRT_IMPL_EMPTY_BASES MapCustomExperienceChangedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperienceChangedEventArgs { MapCustomExperienceChangedEventArgs(std::nullptr_t) noexcept {} MapCustomExperienceChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperienceChangedEventArgs(ptr, take_ownership_from_abi) {} MapCustomExperienceChangedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElement : winrt::Windows::UI::Xaml::Controls::Maps::IMapElement, impl::base, impl::require { MapElement(std::nullptr_t) noexcept {} MapElement(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElement(ptr, take_ownership_from_abi) {} MapElement(); [[nodiscard]] static auto ZIndexProperty(); [[nodiscard]] static auto VisibleProperty(); [[nodiscard]] static auto MapTabIndexProperty(); [[nodiscard]] static auto MapStyleSheetEntryProperty(); [[nodiscard]] static auto MapStyleSheetEntryStateProperty(); [[nodiscard]] static auto TagProperty(); [[nodiscard]] static auto IsEnabledProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapElement3D : winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D, impl::base, impl::require { MapElement3D(std::nullptr_t) noexcept {} MapElement3D(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D(ptr, take_ownership_from_abi) {} MapElement3D(); [[nodiscard]] static auto LocationProperty(); [[nodiscard]] static auto HeadingProperty(); [[nodiscard]] static auto PitchProperty(); [[nodiscard]] static auto RollProperty(); [[nodiscard]] static auto ScaleProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapElementClickEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs { MapElementClickEventArgs(std::nullptr_t) noexcept {} MapElementClickEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs(ptr, take_ownership_from_abi) {} MapElementClickEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementPointerEnteredEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs { MapElementPointerEnteredEventArgs(std::nullptr_t) noexcept {} MapElementPointerEnteredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs(ptr, take_ownership_from_abi) {} MapElementPointerEnteredEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementPointerExitedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs { MapElementPointerExitedEventArgs(std::nullptr_t) noexcept {} MapElementPointerExitedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs(ptr, take_ownership_from_abi) {} MapElementPointerExitedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementsLayer : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer, impl::base, impl::require { MapElementsLayer(std::nullptr_t) noexcept {} MapElementsLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer(ptr, take_ownership_from_abi) {} MapElementsLayer(); [[nodiscard]] static auto MapElementsProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapElementsLayerClickEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs { MapElementsLayerClickEventArgs(std::nullptr_t) noexcept {} MapElementsLayerClickEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs(ptr, take_ownership_from_abi) {} MapElementsLayerClickEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementsLayerContextRequestedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs { MapElementsLayerContextRequestedEventArgs(std::nullptr_t) noexcept {} MapElementsLayerContextRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs(ptr, take_ownership_from_abi) {} MapElementsLayerContextRequestedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementsLayerPointerEnteredEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs { MapElementsLayerPointerEnteredEventArgs(std::nullptr_t) noexcept {} MapElementsLayerPointerEnteredEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs(ptr, take_ownership_from_abi) {} MapElementsLayerPointerEnteredEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapElementsLayerPointerExitedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs { MapElementsLayerPointerExitedEventArgs(std::nullptr_t) noexcept {} MapElementsLayerPointerExitedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs(ptr, take_ownership_from_abi) {} MapElementsLayerPointerExitedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapIcon : winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon, impl::base, impl::require { MapIcon(std::nullptr_t) noexcept {} MapIcon(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon(ptr, take_ownership_from_abi) {} MapIcon(); [[nodiscard]] static auto LocationProperty(); [[nodiscard]] static auto TitleProperty(); [[nodiscard]] static auto NormalizedAnchorPointProperty(); [[nodiscard]] static auto CollisionBehaviorDesiredProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapInputEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs, impl::base, impl::require { MapInputEventArgs(std::nullptr_t) noexcept {} MapInputEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs(ptr, take_ownership_from_abi) {} MapInputEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapItemsControl : winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl, impl::base, impl::require { MapItemsControl(std::nullptr_t) noexcept {} MapItemsControl(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl(ptr, take_ownership_from_abi) {} MapItemsControl(); [[nodiscard]] static auto ItemsSourceProperty(); [[nodiscard]] static auto ItemsProperty(); [[nodiscard]] static auto ItemTemplateProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapLayer : winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer, impl::base, impl::require { MapLayer(std::nullptr_t) noexcept {} MapLayer(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer(ptr, take_ownership_from_abi) {} MapLayer(); [[nodiscard]] static auto MapTabIndexProperty(); [[nodiscard]] static auto VisibleProperty(); [[nodiscard]] static auto ZIndexProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapModel3D : winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3D, impl::base, impl::require { MapModel3D(std::nullptr_t) noexcept {} MapModel3D(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3D(ptr, take_ownership_from_abi) {} MapModel3D(); static auto CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source); static auto CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption); }; struct WINRT_IMPL_EMPTY_BASES MapPolygon : winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon, impl::base, impl::require { MapPolygon(std::nullptr_t) noexcept {} MapPolygon(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon(ptr, take_ownership_from_abi) {} MapPolygon(); [[nodiscard]] static auto PathProperty(); [[nodiscard]] static auto StrokeThicknessProperty(); [[nodiscard]] static auto StrokeDashedProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapPolyline : winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline, impl::base, impl::require { MapPolyline(std::nullptr_t) noexcept {} MapPolyline(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline(ptr, take_ownership_from_abi) {} MapPolyline(); [[nodiscard]] static auto PathProperty(); [[nodiscard]] static auto StrokeDashedProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapRightTappedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs { MapRightTappedEventArgs(std::nullptr_t) noexcept {} MapRightTappedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs(ptr, take_ownership_from_abi) {} MapRightTappedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapRouteView : winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView, impl::base, impl::require { MapRouteView(std::nullptr_t) noexcept {} MapRouteView(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView(ptr, take_ownership_from_abi) {} explicit MapRouteView(winrt::Windows::Services::Maps::MapRoute const& route); }; struct WINRT_IMPL_EMPTY_BASES MapScene : winrt::Windows::UI::Xaml::Controls::Maps::IMapScene, impl::base, impl::require { MapScene(std::nullptr_t) noexcept {} MapScene(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapScene(ptr, take_ownership_from_abi) {} static auto CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds); static auto CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees); static auto CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera); static auto CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location); static auto CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees); static auto CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters); static auto CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees); static auto CreateFromLocations(param::iterable const& locations); static auto CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees); }; struct WINRT_IMPL_EMPTY_BASES MapStyleSheet : winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheet, impl::base, impl::require { MapStyleSheet(std::nullptr_t) noexcept {} MapStyleSheet(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheet(ptr, take_ownership_from_abi) {} static auto Aerial(); static auto AerialWithOverlay(); static auto RoadLight(); static auto RoadDark(); static auto RoadHighContrastLight(); static auto RoadHighContrastDark(); static auto Combine(param::iterable const& styleSheets); static auto ParseFromJson(param::hstring const& styleAsJson); static auto TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet); }; struct MapStyleSheetEntries { MapStyleSheetEntries() = delete; [[nodiscard]] static auto Area(); [[nodiscard]] static auto Airport(); [[nodiscard]] static auto Cemetery(); [[nodiscard]] static auto Continent(); [[nodiscard]] static auto Education(); [[nodiscard]] static auto IndigenousPeoplesReserve(); [[nodiscard]] static auto Island(); [[nodiscard]] static auto Medical(); [[nodiscard]] static auto Military(); [[nodiscard]] static auto Nautical(); [[nodiscard]] static auto Neighborhood(); [[nodiscard]] static auto Runway(); [[nodiscard]] static auto Sand(); [[nodiscard]] static auto ShoppingCenter(); [[nodiscard]] static auto Stadium(); [[nodiscard]] static auto Vegetation(); [[nodiscard]] static auto Forest(); [[nodiscard]] static auto GolfCourse(); [[nodiscard]] static auto Park(); [[nodiscard]] static auto PlayingField(); [[nodiscard]] static auto Reserve(); [[nodiscard]] static auto Point(); [[nodiscard]] static auto NaturalPoint(); [[nodiscard]] static auto Peak(); [[nodiscard]] static auto VolcanicPeak(); [[nodiscard]] static auto WaterPoint(); [[nodiscard]] static auto PointOfInterest(); [[nodiscard]] static auto Business(); [[nodiscard]] static auto FoodPoint(); [[nodiscard]] static auto PopulatedPlace(); [[nodiscard]] static auto Capital(); [[nodiscard]] static auto AdminDistrictCapital(); [[nodiscard]] static auto CountryRegionCapital(); [[nodiscard]] static auto RoadShield(); [[nodiscard]] static auto RoadExit(); [[nodiscard]] static auto Transit(); [[nodiscard]] static auto Political(); [[nodiscard]] static auto CountryRegion(); [[nodiscard]] static auto AdminDistrict(); [[nodiscard]] static auto District(); [[nodiscard]] static auto Structure(); [[nodiscard]] static auto Building(); [[nodiscard]] static auto EducationBuilding(); [[nodiscard]] static auto MedicalBuilding(); [[nodiscard]] static auto TransitBuilding(); [[nodiscard]] static auto Transportation(); [[nodiscard]] static auto Road(); [[nodiscard]] static auto ControlledAccessHighway(); [[nodiscard]] static auto HighSpeedRamp(); [[nodiscard]] static auto Highway(); [[nodiscard]] static auto MajorRoad(); [[nodiscard]] static auto ArterialRoad(); [[nodiscard]] static auto Street(); [[nodiscard]] static auto Ramp(); [[nodiscard]] static auto UnpavedStreet(); [[nodiscard]] static auto TollRoad(); [[nodiscard]] static auto Railway(); [[nodiscard]] static auto Trail(); [[nodiscard]] static auto WaterRoute(); [[nodiscard]] static auto Water(); [[nodiscard]] static auto River(); [[nodiscard]] static auto RouteLine(); [[nodiscard]] static auto WalkingRoute(); [[nodiscard]] static auto DrivingRoute(); }; struct MapStyleSheetEntryStates { MapStyleSheetEntryStates() = delete; [[nodiscard]] static auto Disabled(); [[nodiscard]] static auto Hover(); [[nodiscard]] static auto Selected(); }; struct WINRT_IMPL_EMPTY_BASES MapTargetCameraChangedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs, impl::require { MapTargetCameraChangedEventArgs(std::nullptr_t) noexcept {} MapTargetCameraChangedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs(ptr, take_ownership_from_abi) {} MapTargetCameraChangedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapTileBitmapRequest : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest { MapTileBitmapRequest(std::nullptr_t) noexcept {} MapTileBitmapRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest(ptr, take_ownership_from_abi) {} MapTileBitmapRequest(); }; struct WINRT_IMPL_EMPTY_BASES MapTileBitmapRequestDeferral : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral { MapTileBitmapRequestDeferral(std::nullptr_t) noexcept {} MapTileBitmapRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral(ptr, take_ownership_from_abi) {} MapTileBitmapRequestDeferral(); }; struct WINRT_IMPL_EMPTY_BASES MapTileBitmapRequestedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs, impl::require { MapTileBitmapRequestedEventArgs(std::nullptr_t) noexcept {} MapTileBitmapRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs(ptr, take_ownership_from_abi) {} MapTileBitmapRequestedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES MapTileDataSource : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileDataSource, impl::base, impl::require { MapTileDataSource(std::nullptr_t) noexcept {} MapTileDataSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileDataSource(ptr, take_ownership_from_abi) {} MapTileDataSource(); }; struct WINRT_IMPL_EMPTY_BASES MapTileSource : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource, impl::base, impl::require { MapTileSource(std::nullptr_t) noexcept {} MapTileSource(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource(ptr, take_ownership_from_abi) {} MapTileSource(); explicit MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource); MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange); MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds); MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels); [[nodiscard]] static auto DataSourceProperty(); [[nodiscard]] static auto LayerProperty(); [[nodiscard]] static auto ZoomLevelRangeProperty(); [[nodiscard]] static auto BoundsProperty(); [[nodiscard]] static auto AllowOverstretchProperty(); [[nodiscard]] static auto IsFadingEnabledProperty(); [[nodiscard]] static auto IsTransparencyEnabledProperty(); [[nodiscard]] static auto IsRetryEnabledProperty(); [[nodiscard]] static auto ZIndexProperty(); [[nodiscard]] static auto TilePixelSizeProperty(); [[nodiscard]] static auto VisibleProperty(); [[nodiscard]] static auto AnimationStateProperty(); [[nodiscard]] static auto AutoPlayProperty(); [[nodiscard]] static auto FrameCountProperty(); [[nodiscard]] static auto FrameDurationProperty(); }; struct WINRT_IMPL_EMPTY_BASES MapTileUriRequest : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest { MapTileUriRequest(std::nullptr_t) noexcept {} MapTileUriRequest(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest(ptr, take_ownership_from_abi) {} MapTileUriRequest(); }; struct WINRT_IMPL_EMPTY_BASES MapTileUriRequestDeferral : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral { MapTileUriRequestDeferral(std::nullptr_t) noexcept {} MapTileUriRequestDeferral(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral(ptr, take_ownership_from_abi) {} MapTileUriRequestDeferral(); }; struct WINRT_IMPL_EMPTY_BASES MapTileUriRequestedEventArgs : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs, impl::require { MapTileUriRequestedEventArgs(std::nullptr_t) noexcept {} MapTileUriRequestedEventArgs(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs(ptr, take_ownership_from_abi) {} MapTileUriRequestedEventArgs(); }; struct WINRT_IMPL_EMPTY_BASES StreetsideExperience : winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience, impl::base, impl::require { StreetsideExperience(std::nullptr_t) noexcept {} StreetsideExperience(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience(ptr, take_ownership_from_abi) {} explicit StreetsideExperience(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama); StreetsideExperience(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees); }; struct WINRT_IMPL_EMPTY_BASES StreetsidePanorama : winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanorama, impl::base, impl::require { StreetsidePanorama(std::nullptr_t) noexcept {} StreetsidePanorama(void* ptr, take_ownership_from_abi_t) noexcept : winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanorama(ptr, take_ownership_from_abi) {} static auto FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location); static auto FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters); }; } #endif