NativeScript / plugins

@nativescript plugins to help with your developments.
https://docs.nativescript.org/plugins/index.html
Apache License 2.0
187 stars 104 forks source link

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

Open ubaidazad opened 3 months ago

ubaidazad commented 3 months ago

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:

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