Overview:
The Google Maps AppPOC App is a tool that allows users to create a static Google Map image with a marker inside of Contentful. It requires a Google Maps V3 API key and configuration of two fields in the content model. Users also need to specify a static image URL for the marker and JSON files for the Google Map theme. This app can be added to the media reference field in Contentful.
Features:
- Create Static Google Map Image: Users can generate a static Google Map image with a marker.
- Integration with Contentful: The app seamlessly integrates with Contentful, allowing users to create and manage map images within the platform.
- Google Maps V3 API Integration: The app requires a valid Google Maps V3 API key for functionality.
- Custom Marker Images: Users can specify a static image URL for the marker, giving them the flexibility to use their own custom marker icons.
- Theme Configuration: The app supports the use of JSON files for configuring the Google Map theme. Users can obtain these files from external sources like https://snazzymaps.com/.
Installation:
To install the Google Maps AppPOC App, follow these steps:
- Obtain a Google Maps V3 API key from the Google Cloud Console.
- In the Contentful content model, configure two fields with the IDs of “googleMap” and “configuration”.
- Specify a static image URL for the marker. This can be an image hosted on a public server or a Cloud Storage provider.
- Obtain JSON files for the desired Google Map theme. One option for finding and configuring themes is the website Snazzy Maps.
- Add the Google Maps AppPOC App to the media reference field in Contentful.
- Ensure that the relevant fields have been created in the content model for the “googleMap” and “configuration” IDs.
Summary:
The Google Maps AppPOC App is a useful tool for Contentful users who need to create static Google Map images with markers. By integrating with Contentful, this app streamlines the process of managing and updating map images within the platform. Users can customize the markers using their own static image URLs and configure the Google Map theme using JSON files. With its seamless integration and easy installation process, this app provides a convenient solution for incorporating interactive maps into Contentful projects.