Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

how can I use this with an apikey I don't know til lots later than app.use() #98

@sdetweil

Description

@sdetweil

our app is used my thousands of users. they each have to get their own api key (so I don't have to pay for it)
currently on our ionic vue app, I prompt for the apikey and save it locally.. (ios)

how can I do that here?

are there apis I can use, like the capacitor plugin

            this.newMap = await GoogleMap.create({
                /* eslint-enable */
                id: 'my-map', // Unique identifier for this map instance
                element: mapRef, // reference to the capacitor-google-map element
                apiKey: API_KEY, // Your Google Maps API Key
                config: {
                    center: {
                        // The initial position to be rendered by the map
                        lat: this.currentMapCenter.lat,
                        lng: this.currentMapCenter.lng
                        ,
                        },
                        zoom: this.zoomLevel, // The initial zoom level to be rendered by the map
                    }

                })

maybe I can set the apikey in created()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions