NativeScript / NativeScript/plugins

[@nativescript/google-maps]: Support for MapId for styling through Google Cloud

Open
#580 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
206
Forks
123
Avg merge
2d 1h
Merged PRs (30d)
1

Description

Currently, there's a need for supporting MapId for styling through Google Cloud in the NativeScript Google Maps plugin. This feature would greatly enhance customization capabilities for maps in NativeScript applications.
https://developers.google.com/maps/documentation/get-map-id#android

Expected Behavior:
The plugin should provide an option to specify a MapId for styling through the Google Cloud platform. This would allow developers to utilize custom map styles created in the Google Cloud console.

Current Behavior:
At present, the plugin lacks support for specifying MapId for styling through Google Cloud. Developers are limited to using predefined styles or manually applying styles in code, which restricts flexibility and scalability.

Steps to Reproduce:

  • Attempt to integrate a custom map style from Google Cloud using the NativeScript Google Maps plugin.
  • Notice the absence of an option to specify a MapId for styling.
  • Explore alternatives for customizing map styles within the plugin.

Proposed Solution:
Provide an API or configuration option within the NativeScript Google Maps plugin to specify a MapId for styling through Google Cloud. This could involve extending existing functionality or introducing a new method specifically for handling custom map styles from Google Cloud.

Environment:
NativeScript version: 8.7.0
NativeScript Google Maps plugin version: 1.7.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no source files, tests, or entry points. Start by locating the NativeScript Google Maps plugin's existing map configuration and platform implementations, then read the linked Google Maps Map ID documentation. Done means the plugin exposes a documented Map ID option and verifies it for the supported NativeScript environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, typescript
Domain
mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.