Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Google Maps

An asset by paperweights
The page banner background of a mountain and forest
Google Maps hero image

Quick Information

0 ratings
Google Maps icon image
paperweights
Google Maps

Google Maps plugin for Godot 4.x using Maps URLs

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Godot Google Maps

Google Maps plugin for Godot 4.x using Maps URLs.

Usage

Location

Location is a class that combines the query and place_id fields into a single object.

Use the following to create a new Location:

GMap.Location.new("London")

Use the following to specify location using latitude and longitude:

var location := GMap.Location.from_coord(51.507222, -0.1275)

Searching

To search for a location on a map and display results as pins:

var location := GMap.Location.new("London")
GMap.search(location)

Directions

To get directions between two locations:

var origin := GMap.Location.new("London")
var destination := GMap.Location.new("Paris")
GMap.directions(origin, destination)

Map

To display a map centered on a location:

# Eiffel Tower coordinates
var location := GMap.Location.from_coord(48.8584, 2.2945)
GMap.map(location)

Street View

To display a street view of a location:

# Eiffel Tower coordinates
var location := GMap.Location.from_coord(48.8584, 2.2945)
GMap.street_view(location)

Google Maps plugin for Godot 4.x using Maps URLs

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Google Maps icon image
paperweights
Google Maps

Google Maps plugin for Godot 4.x using Maps URLs

Supported Engine Version
4.2
Version String
0.1
License Version
MIT
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers