Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How To Style Marker #301

Open
Timileyin105 opened this issue Jul 28, 2022 · 0 comments
Open

How To Style Marker #301

Timileyin105 opened this issue Jul 28, 2022 · 0 comments

Comments

@Timileyin105
Copy link

hello awesome team

i have been looking for a way to style the marker icon but to no avail, please i need someone to help out on how i can add with and height to the icon and also some css styles. the "html style attribute not working".
//code
<ngui-map class="d-flex" style="height: 80vh"
zoom="13"
center="37.775, -122.434"
(mapReady$)="onMapReady($event)"
(mapClick)="onMapClick($event)"
(idle)="onIdle($event)"
>
<marker icon="assets/images/bike-icon.png" style="border-radius: 20px solid green;height: 30px; width:30px;" *ngFor="let
pos of positions"
[position]="pos"
(initialized$)="onMarkerInit($event)">

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant