Skip to content

MapBox center map not working #384

@Work90210

Description

@Work90210

I can't seem to bind the user's location to the Mapbox latitude and longitude to centre the map on the user's location...

Can anybody assist me with this, please

<Mapbox accessToken="access_token" mapStyle="streets" [latitude]= "location_lat", [longitude]= "location_lng", hideCompass="true" zoomLevel="15" showUserLocation="true" disableZoom="false" disableRotation="false" disableScroll="false" disableTilt="false" hideCompass="false" hideLogo="true" moveBeginEvent (mapReady)="onMapReady($event)" > </Mapbox>

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