plugins icon indicating copy to clipboard operation
plugins copied to clipboard

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

Open ubaidazad opened this issue 10 months ago • 0 comments

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

ubaidazad avatar Apr 16 '24 07:04 ubaidazad