A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/maps/documentation/javascript/overlays below:

Drawing on the Map | Maps JavaScript API

Drawing on the Map

Stay organized with collections Save and categorize content based on your preferences.

You can add objects to the map to designate points, lines, areas, or collections of objects. The Maps JavaScript API calls these objects overlays. Overlays are tied to latitude/longitude coordinates, so they move when you drag or zoom the map.

Drawing Library: If you want to allow your users to draw on the map, please refer to the Drawing Library documentation. With the tools available in the Drawing Library, you can provide a graphical interface that lets people draw polylines, polygons and markers on the map. Geocoding: Retrieving latitudes and longitudes for a Place or a street address is easily done with a Geocoding request. It will return a list of responses, each including a LatLng. Overlay types

The Maps JavaScript API has several types of overlays that you can add programmatically:

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 2025-07-18 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[[["The Maps JavaScript API uses objects called **overlays** to designate points, lines, areas, or collections of objects on the map, which are tied to latitude/longitude coordinates."],["You can add various overlay types to your map, including info windows, polylines, polygons, circles, rectangles, symbols, ground overlays, and even create custom overlays."],["The Drawing Library allows users to interactively draw shapes like polylines, polygons, and markers directly on the map."],["Geocoding enables easy retrieval of latitude and longitude coordinates for places and addresses through requests."],["Customize the appearance of markers and polylines by using symbols, which are vector-based images defined using SVG path notation."]]],["The Maps JavaScript API uses \"overlays\" to add objects tied to latitude/longitude coordinates on a map. These include info windows for pop-up content, polylines for lines, polygons for areas, and symbols to customize marker icons. You can also use ground overlays to place images and use circles and rectangles. The Drawing Library lets users draw on the map. Geocoding is used to obtain latitudes and longitudes. Custom overlays and map types can also be implemented.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4