Add google map layers

Created on 27 March 2025, 9 days ago

Problem/Motivation

As mentioned in the 4.x planning issue: https://www.drupal.org/project/farm/issues/3488918#comment-15867423 🌱 [META] farmOS 4.x Active

add google layers (abandon farm_map_google contrib β†’ module) (depends on openlayers 9+)

We have an existing issue describing more of our history using Google Maps in OL + farmOS-map and why we decided to move it out to a contrib module :https://github.com/farmOS/farmOS-map/issues/99

We can do this because Google now has a dedicated Maps Tile API that is supported by OpenLayer's new dedicated Google Source

With these recent developments, things should be much easier going forward!

Steps to reproduce

N/A

Proposed resolution

Let's model the core farm_map_mapbox module approach. Create an optional core module that when enabled & configured with an API key, displays google map layers.

Remaining tasks

  • Add support for Google Maps in farmOS-map.
  • Add a new farm_map_google to farmOS core that enables these map layers
  • Create settings form to manage Google Maps API key (follow patterns in the core farm_map_mapbox module)

User interface changes

Google Maps available as layer options (Roadmap, satellite and terrain?)

API changes

None

Data model changes

None

πŸ“Œ Task
Status

Active

Version

3.0

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States paul121 Spokane, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024