Giter VIP home page Giter VIP logo

Comments (8)

EddyVerbruggen avatar EddyVerbruggen commented on May 22, 2024 1

This seems to be subject to refactoring quite a bit in the Android Mapbox SDK. I'll have to do a bit of research..

from nativescript-mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on May 22, 2024 1

Ha, lol, I've just replicated that UI by manually adding 2 markers one the same spot (my location) using those blue and white drawables. So I guess I can release a good v1 based on that approach tomorrow. Thx!

from nativescript-mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on May 22, 2024 1

Oh wow, that icon may come in handy if the version I just pushed is flaky. The advantage of the current version is though that the plugin uses icons bundled with the Mapbox SDK.

Available in 2.2.0 which is now on GitHub and very soon on npm as well.

from nativescript-mapbox.

Stavanger75 avatar Stavanger75 commented on May 22, 2024

+1

Same problem on Android 2.3. Works on IOS.

from nativescript-mapbox.

EddyVerbruggen avatar EddyVerbruggen commented on May 22, 2024

Tried a few thing that should work but didn't. I'm contemplating drawing the user location via a custom marker myself for now.

from nativescript-mapbox.

Stavanger75 avatar Stavanger75 commented on May 22, 2024

Thanks for following up on this one. Just let me know if you would like me to test anything.

You have probably allready taken a look at the sample application from mapbox. But here is the information just in case. It contains user location and userlocation button. I downloaded test app from google play and it 's showing location as expected.

Google Play
https://play.google.com/store/apps/details?id=com.mapbox.mapboxandroiddemo&hl=en

Github project
https://github.com/mapbox/mapbox-android-demo

image

from nativescript-mapbox.

Stavanger75 avatar Stavanger75 commented on May 22, 2024

Great i will test it :-)

EDIT: if you would like to go for one marker/image solution : https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/res/drawable-xxhdpi/ic_circle.png

from nativescript-mapbox.

Stavanger75 avatar Stavanger75 commented on May 22, 2024

Can confirm version 2.2.0 of plugin on Android 2.3.0 is showing location as expected. Thank's a lot @EddyVerbruggen.

Is it possible to add the accuracy marker/image also ?
https://github.com/mapbox/mapbox-android-demo/blob/master/MapboxAndroidDemo/src/main/res/drawable-xxhdpi/circle_icon.png

from nativescript-mapbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.