karonl / indoorsurfaceview Goto Github PK
View Code? Open in Web Editor NEWAndroid InDoorView dependent on Canvas
License: Apache License 2.0
Android InDoorView dependent on Canvas
License: Apache License 2.0
请问:覆盖在图片上面的区域坐标如何跟图片保持一致?有什么工具可以方便的获取到不同区域的顶点坐标吗?另外缩放操作是否对坐标数值有影响?
Throwing OutOfMemoryError "Failed to allocate a 68146212 byte allocation with 16777184 free bytes and 45MB until OOM"
Process: com.chuanmo.indoorsample, PID: 29029
java.lang.OutOfMemoryError: Failed to allocate a 68146212 byte allocation with 16777184 free bytes and 45MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:825)
at android.graphics.Bitmap.createBitmap(Bitmap.java:802)
at android.graphics.Bitmap.createBitmap(Bitmap.java:769)
at com.karonl.instance.Adapter.BitAdapter.drawBitmap(BitAdapter.java:42)
at com.karonl.instance.Adapter.DataAdapter.refreshData(DataAdapter.java:46)
at com.chuanmo.indoorsample.MainActivity$1.run(MainActivity.java:84)
at java.lang.Thread.run(Thread.java:818)
想在一张可缩放的户型图上用手指点击标记一个点,标记完缩放这张图一直保持点的相对位置,然后把坐标后台保存,在其它地方展示
你好,想问一下底图上的不规则的区域的顶点坐标是怎么获取的啊,如果我换一张底图的话,我自己设定的区域的坐标怎么来获取
在 Message 中显示错误:
Error:Could not read /Users/yaoluhao/AndroidStudioProjects/sample/InDoorSurfaceView/InDoorView/build/intermediates/typedefs.txt: /Users/yaoluhao/AndroidStudioProjects/sample/InDoorSurfaceView/InDoorView/build/intermediates/typedefs.txt (No such file or directory)
请问,这个怎么解决?
我在demo工程中Intent到地图界面的时候会卡顿很久才跳转过去,这个怎么解决?
我发现只有点击和拖拽会停止绘制线程,而缩放时不会,这里是不是可以优化一下啊
这个很赞!。想问一下坐标是怎么测量出来的
05-01 09:09:06.065 30849-30877/com.chuanmo.indoorsample E/lock: 16
05-01 09:09:06.075 30849-30875/com.chuanmo.indoorsample I/art: Alloc concurrent mark sweep GC freed 11(12KB) AllocSpace objects, 0(0B) LOS objects, 10% free, 142MB/158MB, paused 368us total 13.032ms
05-01 09:09:06.075 30849-30875/com.chuanmo.indoorsample I/art: Forcing collection of SoftReferences for 115MB allocation
05-01 09:09:06.075 30849-30877/com.chuanmo.indoorsample E/lock: 16
05-01 09:09:06.085 30849-30875/com.chuanmo.indoorsample I/art: Alloc concurrent mark sweep GC freed 14(456B) AllocSpace objects, 0(0B) LOS objects, 10% free, 142MB/158MB, paused 322us total 11.242ms
05-01 09:09:06.085 30849-30875/com.chuanmo.indoorsample E/art: Throwing OutOfMemoryError "Failed to allocate a 121148812 byte allocation with 16777216 free bytes and 113MB until OOM"
05-01 09:09:06.085 30849-30875/com.chuanmo.indoorsample E/AndroidRuntime: FATAL EXCEPTION: Thread-35367
Process: com.chuanmo.indoorsample, PID: 30849
java.lang.OutOfMemoryError: Failed to allocate a 121148812 byte allocation with 16777216 free bytes and 113MB until OOM
at dalvik.system.VMRuntime.newNonMovableArray(Native Method)
at android.graphics.Bitmap.nativeCreate(Native Method)
at android.graphics.Bitmap.createBitmap(Bitmap.java:939)
at android.graphics.Bitmap.createBitmap(Bitmap.java:912)
at android.graphics.Bitmap.createBitmap(Bitmap.java:879)
at com.karonl.instance.Adapter.BitAdapter.drawBitmap(BitAdapter.java:42)
at com.karonl.instance.Adapter.DataAdapter.refreshData(DataAdapter.java:46)
at com.chuanmo.indoorsample.MainActivity$1.run(MainActivity.java:84)
at java.lang.Thread.run(Thread.java:818)
05-01 09:09:06.095 30849-30877/com.chuanmo.indoorsample E/lock: 16
05-01 09:09:06.115 30849-30877/com.chuanmo.indoorsample E/lock: 16
05-01 09:09:06.125 30849-30877/com.chuanmo.indoorsample E/lock: 9
05-01 09:09:06.145 30849-30877/com.chuanmo.indoorsample E/lock: 15
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.