Closed ngarel closed 1 year ago
i have same issue for android, checking the documentation i see marker supports icon but in the package icon wasnt provided in the marker preferences
It is implemented actually, as can be seen in the code:
Are you sure you are not using @capacitor/google-maps
? You are now in the @capacitor-community/google-maps
repository.
If you still have problems, please provide a minimal reproduction, so we are able to help you out
yes sure @capacitor-community/google-maps
in the android package, icon wasnt provided, both in the markerOption interface and also looking into the com.hemangkumar.capacitorgooglemaps package, setting icon wasn't available in android
Both addMarker
and addMarkers
have a preferences
object:
Which in turn has icon
available.
Without a minimal reproduction I won't be able to help you any further. I'm sorry.
hello thanks for your support so far, i could see where the issue comes from
i installed it through npm but npm seem to have unupdated code
check here to see link
This plugin is officially still in beta. You should install the latest beta by adding @beta
to your yarn or npm install script. So for example: npm i @capacitor-community/google-maps@beta
. Otherwise it will install the version with latest
tag, which is not the latest beta
ooh ok, thanks a lot for your support, i appreciate
hello @tafelnl , i cant seem to find way to add custom style to marker info window Please help looking into this
Please do not hijack an issue to ask unrelated questions. For general questions, read the docs, search existing issues, search and possibly ask your question on StackOverflow.
If you feel like something is missing in the docs, you found a bug, or are in need of an unimplemented feature: please open an issue with concise information about your issue.
Describe the bug The documentation mentions the support for icons: https://capacitor-community.github.io/google-maps/#/api?id=markericon However there is no implementation for supporting icons on iOS