Coder Social home page Coder Social logo

ldpi, mdpi, hdpi markers about hellomap3d HOT 3 CLOSED

nutiteq avatar nutiteq commented on August 26, 2024
ldpi, mdpi, hdpi markers

from hellomap3d.

Comments (3)

mkutgt72 avatar mkutgt72 commented on August 26, 2024

btw, HelloMap3D has out of date doc (nutiteq-3dsdk-1.0.1R_javadoc.zip)

from hellomap3d.

 avatar commented on August 26, 2024

You don't need separate images, just use one of them. I'd suggest the highest resolution one. Bitmap size is defined in OpenGL units in the API, and if you want to have different final size of the image, then you should adjust it in API (setSize of MarkerStyle). This is why UnscaledBitmapLoader.decodeResource() is used to decode images in sample code. You can try with BitmapFactory.decodeResource to have different behavior.

from hellomap3d.

carlosharlens avatar carlosharlens commented on August 26, 2024

I got same trouble but i fixed it this way:

1)Dropped all bitmap markers or icon places to drawable-nodpi

  1. checking device'density and setting pointmarker size corresponding to int result. got it?

Remember, mapview is controled by a openGL, so donest matter if you got a huge icon or a tiny one. in case of huge drawables application crash cause of out of memory VM.

from hellomap3d.

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.