Skip to content

How To Style Marker #301

Description

@Timileyin105

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions