capacitor-community / google-maps

Capacitor Plugin using native Google Maps SDK for Android and iOS.
https://capacitor-community.github.io/google-maps/
MIT License
153 stars 64 forks source link

Snippet is not returned on Web version #193

Closed calvinseng closed 2 years ago

calvinseng commented 2 years ago

Snippet doesn't return in the Marker object on web

To Reproduce Steps to reproduce the behavior:

  1. Create the map as usual
  2. Fill in the snippet for the market
  3. Console.log(marker)
  4. Will see that snippet returned is empty

Expected behavior Snippet should be returned

tafelnl commented 2 years ago

This repository does not have a web implementation yet. So you wouldn't be able to add a marker on web in the first place. Are you sure you are using this library. Additionally you can keep track of this repo to see when web support will be added.

calvinseng commented 2 years ago

This repository does not have a web implementation yet. So you wouldn't be able to add a marker on web in the first place. Are you sure you are using this library. Additionally you can keep track of this repo to see when web support will be added.

Yes, there's web repository in esm/web.js and it is working in general except for the snippet not being returned. Screenshot 2022-08-22 at 9 31 33 AM

tafelnl commented 2 years ago

You are most likely using @capacitor/google-maps. You are now in the @capacitor-community/google-maps repository.