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

MapBox center map not working #384

Open
Work90210 opened this issue Sep 2, 2020 · 0 comments
Open

MapBox center map not working #384

Work90210 opened this issue Sep 2, 2020 · 0 comments

Comments

@Work90210
Copy link

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>

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