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>
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>