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
GMSProject
extern GMSMapPoint GMSProject(CLLocationCoordinate2D coordinate)
Projects coordinate
to the map. coordinate
must be valid.
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."],[[["`GMSProject` is a function that takes a `CLLocationCoordinate2D` object as input."],["It projects the given coordinate onto the map and requires a valid coordinate as input."]]],["The function `GMSProject` takes a `CLLocationCoordinate2D` named `coordinate` as input. It projects this `coordinate` onto a map. The provided `coordinate` must be valid for the function to operate correctly. The input is external and defined in the file `../Structs/GMSMapPoint.html`. The function's purpose is to transform geographic coordinates to their map representation.\n"]]