New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see
New map style for Google Maps Platform.
GoogleMaps Framework Reference
GMSGeocoderErrorCode
enum GMSGeocoderErrorCode : NSInteger {}
GMSGeocoder
error codes, embedded in NSError.
-
Declaration
Swift
case invalidCoordinate = 1
Objective-C
kGMSGeocoderErrorInvalidCoordinate = 1
-
Declaration
Swift
case `internal` = 2
Objective-C
kGMSGeocoderErrorInternal
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSGeocoderErrorCode` is an enumeration that defines error codes for the `GMSGeocoder` class."],["These error codes are embedded within `NSError` objects and provide information about issues encountered during geocoding operations."],["The two defined error codes are `kGMSGeocoderErrorInvalidCoordinate`, indicating an invalid coordinate provided, and `kGMSGeocoderErrorInternal`, representing an internal error within the geocoder."]]],["The content defines error codes for the `GMSGeocoder` class, which are embedded in `NSError`. There are two specific error codes: `kGMSGeocoderErrorInvalidCoordinate` (value 1), indicating an invalid coordinate, and `kGMSGeocoderErrorInternal` (value 2), denoting an internal error. Both codes have equivalent declarations in Swift (using `case`) and Objective-C (using `kGMSGeocoderError`).\n"]]