<span id="Label3"></p><p><p>recently, according to the Company's project needs, the need to make indoor map of the stadium and realize the automatic positioning function according to RFID signal, studied for a long time to find a useful tile map tool-<strong>tileview. </strong></p></p><p><p><strong>GitHub connection: Https://github.com/moagrius/TileView</strong></p></p><p><p><strong></strong></p></p><p><p></p></p><p><p>Gradle:</p></p><pre><pre>Compile ' com.qozix:tileview:2.0.1 '</pre></pre><p><p><span style="font-size: 16px;">This control is very powerful, you can make any size map according to your needs, you can add marker tags, draw routes, positioning and so on, if you need to show a large picture, or make a custom map application This is your choice, map images can be saved locally or from the network to obtain;</span></p></p><p><p><span style="font-size: 16px;">Introduction to several key attributes:</span></p></p><p><p><span style="font-size: 16px;">Tileview.setsize (int width,int height);//map load the maximum level of width and height, can be any size, I use the project is 3720*2560 completely pressure-free;</span></p></p><p><p><span style="font-size: 16px;">Tileview.adddetaillevel (float detailscale, string pattern, string downsample);//load Tile map Detailscale represents the scale series, for example <span style="line-height: 1.5;"> 0.125f, 0.250f,</span><span style="line-height: 1.5;">0.500f,</span><span style="line-height: 1.5;">1.000f</span></span></p></p><p><p><span style="font-size: 16px;"><span style="line-height: 1.5;">Tileview.</span></span> Movetoandcenter (double x, Double y)//positioning, parameters depending on your needs, can be latitude and longitude, or any other type of Data.</p></p><p><p>Tileview.addmarker (view view, Double x, double Y)//add a marker</p></p><p><p>Please see demo for detailed usage</p></p><p><p></p></p><p><p><span style="font-size: 16px;"><span style="line-height: 1.5;">Transduction tool Introduction:</span></span></p></p><p><p><span style="font-size: 16px;"><span style="line-height: 1.5;">Https://github.com/moagrius/TileView/wiki/Creating-Tiles</span></span></p></p><p><p><span style="font-size: 16px;"><span style="line-height: 1.5;">The author uses the ImageMagick tool, and then completes the cut through the command line, the finished directory is like this</span></span></p></p><p><p></p></p><p><p>Four levels, 1000 folders to hold the fourth level (maximum Level) when the map displayed, 125 is the smallest, of course, you can also customize;</p></p><p><p>In order to facilitate the use of the Cut-chart command as a batch file of windows, when you need to cut the diagram, directly execute tools files can automatically complete the work of the cut graph;</p></p><p><p>Do not find the place to upload files, students need to leave a message.</p></p><p><p></p></p><p><p></p></p><pre><pre><em id="__mceDel"><span style="font-size: 16px;"><span style="line-height: 1.5;"></span></span></em></pre></pre><pre><pre><br><br></pre></pre><pre><pre><br><br></pre></pre><p><p></p></p><p><p>Research on the technology of Android tile map</p></p></span>
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service