Maps Unity SDK API Reference

The Maps Unity SDK is a Unity plugin for creating mobile (Android, iOS) location-based games, via access to Google Maps data from within the Unity game engine.

Google.Maps

Classes

CacheOptions Encapsulates map data caching parameters.
CountryProvider The superclass of scripts that determine the user's country.
GameObjectOptions Encapsulates styling options for map feature GameObjects.
MapLoadRegion Encapsulates a region of the map to load.
MapsService The MapsService class serves as the entry point for interacting with the Maps Unity SDK.
PlayableLocationsService The entry point for using Playable Locations.
PlayableLocationsService.ReportBadPointStatus Encapsulates the status of the completed request for submitting a bad place report.

Google.Maps.Coord

Classes

Coords Encapsulates management aspects of the coordinate system.

Structs

LatLng An immutable representation of a set of geographical coordinates.
TileCoord An immutable representation of the x,y coordinates of a Google Maps tile.

Google.Maps.Decoration

Classes

CircularMarker Encapsulates the circular boundary around a GameObject.
ExtrudedStructureDecorator Encapsulates helper methods that allow you to style ExtrudedStructures.

Google.Maps.Event

Classes

AreaWaterEvents Encapsulates Feature.AreaWater construction pipeline events.
DidCreateAreaWaterArgs Event arguments for Feature.AreaWater DidCreate events.
DidCreateAreaWaterEvent Encapsulates a Feature.AreaWater DidCreate event.
DidCreateEventArgs< TM, TS > The base class for DidCreate event arguments.
DidCreateExtrudedStructureArgs Event arguments for Feature.ExtrudedStructure DidCreate events.
DidCreateExtrudedStructureEvent Encapsulates a Feature.ExtrudedStructure DidCreate event.
DidCreateLineWaterArgs Event arguments for Feature.LineWater DidCreate events.
DidCreateLineWaterEvent Encapsulates a Feature.LineWater DidCreate event.
DidCreateModeledStructureArgs Event arguments for Feature.ModeledStructure DidCreate events.
DidCreateModeledStructureEvent Encapsulates a Feature.ModeledStructure DidCreate event.
DidCreateRegionArgs Event arguments for Feature.Region DidCreate events.
DidCreateRegionEvent Encapsulates a Feature.Region DidCreate event.
DidCreateSegmentArgs Event arguments for Feature.Segment DidCreate events.
DidCreateSegmentEvent Encapsulates a Feature.Segment DidCreate event.
DidModifyAreaWaterArgs Event arguments for Feature.AreaWater DidModify events.
DidModifyEventArgs< T > The base class for DidModify event arguments.
DidModifyExtrudedStructureArgs Event arguments for Feature.ExtrudedStructure DidModify events.
DidModifyExtrudedStructureEvent Feature.ExtrudedStructure DidModify event.
DidModifyLineWaterArgs Event arguments for Feature.LineWater DidModify events.
DidModifyModeledStructureArgs Event arguments for Feature.ModeledStructure DidModify events.
DidModifyRegionArgs Event arguments for Feature.Region DidModify events.
DidModifySegmentArgs Event arguments for Feature.Segment DidModify events.
ErrorArgs The base class for error arguments.
Events Encapsulates the set of all events fired by the SDK.
ExtrudedStructureEvents Encapsulates Feature.ExtrudedStructure construction pipeline events.
LineWaterEvents Encapsulates Feature.LineWater construction pipeline events.
MapEvents Encapsulates the set of events related to fetching and loading the map.
MapLoadedArgs Encapsulates arguments for MapEvents.Loaded.
MapLoadedEvent Encapsulates a map loaded event (MapEvents.Loaded).
MapLoadErrorArgs Encapsulates the set of arguments for MapEvents.LoadError.
MapLoadErrorEvent Encapsulates a map load error event (MapEvents.LoadError).
MapLoadProgressArgs Arguments for MapEvents.Progress.
MapLoadProgressEvent Encapsulates a map part loaded event (MapEvents.Progress).
ModeledStructureEvents Encapsulates a collection of Feature.ModeledStructure construction pipeline events.
RegionEvents Encapsulates a collection of Feature.Region construction pipeline events.
SegmentEvents Encapsulates a collection of Feature.Segment construction pipeline events.
WillCreateAreaWaterArgs Encapsulates event arguments for Feature.AreaWater WillCreate events.
WillCreateAreaWaterEvent Encapsulates a Feature.AreaWater WillCreate event.
WillCreateEventArgs< TM, TS > The base class for WillCreate event arguments.
WillCreateExtrudedStructureArgs Encapsulates event arguments for Feature.ExtrudedStructure `WillCreate events.
WillCreateExtrudedStructureEvent Encapsulates a Feature.ExtrudedStructure WillCreate event.
WillCreateLineWaterArgs Encapsulates event arguments for Feature.LineWater WillCreate events.
WillCreateLineWaterEvent Encapsulates a Feature.LineWater WillCreate event.
WillCreateModeledStructureArgs Encapsulates event arguments for Feature.ModeledStructure WillCreate events.
WillCreateModeledStructureEvent Encapsulates a Feature.ModeledStructure WillCreate event.
WillCreateRegionArgs Encapsulates event arguments for Feature.Region WillCreate events.
WillCreateRegionEvent Encapsulates a Feature.Region WillCreate event.
WillCreateSegmentArgs Encapsulates event arguments for Feature.Segment WillCreate events.
WillCreateSegmentEvent Encapsulates a Feature.Segment WillCreate event.

Google.Maps.Exception

Classes

FloatingOriginNotSetException Thrown when you use Coord.Coords prior to setting the origin.
MapsException The base class for Google.Maps exceptions.

Google.Maps.Feature

Classes

AreaWater A MapFeature that represents a 2D body of water. For example, a lake.
ExtrudedStructure A MapFeature that represents an extruded structure.
LineWater A MapFeature that represents a line-like water feature. For example, a river.
MapFeature Mutable data associated with a map feature.
MapFeatureMetadata A Unity-independent representation of immutable properties of a geographical feature.
ModeledStructure A MapFeature that represents a modeled structure. For example, a building with detailed vertex/triangle data.
Region A MapFeature that represents a 2D region. For example, a park.
RegionMetadata A Unity-independent representation of immutable properties of a land region.
Segment A MapFeature that represents a 2D path. For example, a road.
SegmentMetadata A Unity-independent representation of immutable properties of a 2D path. For example, of a road.
StructureMetadata A Unity-independent representation of immutable properties of a structure. For example, of an extruded or modeled building.
WaterMetadata Unity-independent representation of immutable properties of water feature.

Google.Maps.Feature.Shape

Classes

Area A geometric representation of a flat MapFeature. For example, a park.
Area.EdgeSequence Represents a contiguous sequence of edges. Each vertex appears only once, unless this represents a closed loop (in which case the first and last verticies are identical). A sequence of n vertices represents n - 1 contiguous edges: [v0, v1], [v1, v2], ..., [v(n - 2), v(n - 1)].
ExtrudedArea A geometric representation of a MapFeature made up of a collection of extrusions.
ExtrudedArea.Extrusion A footprint together with base and top heights.
Line A geometric representation of a 2D path on a map.
LineGroup Represents a collection of Shape.Lines used to represent a 2D path on a map, such as a road, train line or ferry route.
MapFeatureShape Describes the geometric information for a Feature (such as a building or road).
ModeledVolume A geometric representation of a 3D volume constructed by explicitly specifying geometry data.

Google.Maps.Feature.Stitching

Google.Maps.Feature.Style

Classes

AreaWaterStyle Encapsulates immutable styling information used to control how GameObjects are generated from Feature.AreaWaters.
AreaWaterStyle.Builder AreaWaterStyle builder.
ExtrudedStructureStyle Encapsulates immutable styling information used to control how GameObjects are generated from ExtrudedStructures.
ExtrudedStructureStyle.Builder The ExtrudedStructureStyle builder.
LineWaterStyle Encapsulates immutable styling information used to control how GameObjects are generated from LineWaters.
LineWaterStyle.Builder The LineWaterStyle builder.
ModeledStructureStyle Encapsulates immutable styling information used to control how GameObjects are generated from ModeledStructures.
ModeledStructureStyle.Builder The ModeledStructureStyle builder.
RegionishStyle Encapsulates immutable styling information used to control how GameObjects are generated from Area related feature types such as Region and AreaWater.
RegionishStyle.RegionishStyleBuilder RegionishStyle builder.
RegionStyle Encapsulates immutable styling information used to control how GameObjects are generated from Regions.
RegionStyle.Builder The RegionStyle builder.
SegmentishStyle Encapsulates immutable styling information that is used to control the way that GameObjects are generated from line-related feature types—such as Segment and LineWater.
SegmentishStyle.SegmentishStyleBuilder The SegmentishStyle builder.
SegmentStyle Encapsulates immutable styling information used to control how GameObjects are generated from Segments.
SegmentStyle.Builder The SegmentStyle builder.

Interfaces

IStyle Immutable styling information used to control how GameObject are generated from MapFeatures.

Google.Maps.Unity

Classes

AreaWaterComponent Encapsulates metadata associated with a GameObject constructed from an Feature.AreaWater.
ExtrudedStructureComponent Encapsulates metadata associated with a GameObject constructed from an Feature.ExtrudedStructure.
GameObjectManager The GameObject manager, which tracks destroyed GameObjects.
LineWaterComponent Encapsulates metadata associated with a GameObject constructed from a Feature.LineWater.
MapFeatureComponent Encapsulates metadata associated with a GameObject constructed from a Feature.MapFeature.
ModeledStructureComponent Metadata associated with a GameObject constructed from a Feature.ModeledStructure.
RegionComponent Encapsulates metadata associated with a GameObject constructed from a Feature.Region.
SegmentComponent Encapsulates metadata associated with a GameObject constructed from a Feature.Segment.

Google.Maps.Util

Classes

CoordsUtil Encapsulates utility methods for working with coordinate systems.

Google.Maps.Util.Geometry

Google.Maps.Util.Material

Classes

BaseMapMaterialUtils Utility methods for constructing UnityEngine.Material instances compatible with base map features.

Send feedback about...

Google Maps Platform gaming solution
Google Maps Platform gaming solution