Using Offline of Open Street Map in my app - openstreetmap

I already import open street map Library(link of GitHub) in my application and it works completely true but i want to have this map in offline mode(when internet connection is not available user can work with the map).
I saw this but i couldn't get it.
please help me ,
thank you for your time.

First of all, welcome to osmdroid.
There's a wealth of documentation on the wiki at https://github.com/osmdroid/osmdroid/wiki
In fact, there's a whole article on offline maps at
https://github.com/osmdroid/osmdroid/wiki/Offline-Map-Tiles
If those don't answer your question, see the sample app at https://github.com/osmdroid/osmdroid/tree/master/OpenStreetMapViewer
Which has some examples for offline maps.

Related

How to download CS:GO demo from match sharing code

Since 9/17/2019, Valve provided an API that allows players to give access to third-party websites to download their matchs history.
From this documentation, I have been able to get all my sharing code CSGO-xxxxx-xxxxx..., ready to download the matchs ! But, I didn't find any information about how to download them.
In this page and the last one, we can read Third-party websites and applications can use this authentication code to access your match history, your overall performance in those matches, download replays of your matches, and analyze your gameplay. and This page outlines the basics of creating a website or application to access players match history and help with players statistics tracking and gameplay analysis.. So, I'm pretty sure their might be a way.
Most of all, a famous website, https://csgostats.gg is able to download demos from this sharing code, so...
I know that this code CSGO-xxxxx-xxxxx... code be use like this steam://rungame/730/:steamID:/+csgo_download_match%20CSGO-xxxxx-xxxxx to watch the demo. But my goal is really to download it, to be able to parse it. So, I'm not looking for this way.
So, I'm looking for a way to download a CSGO demo using Valve's access token :
You can download CSGO demo with this link : http://replay131.valve.net/730/xxxxxxxxxxxxxxxxxxxxx_xxxxxxxxx.dem.bz2, but I havn't find a way to convert the sharing code to the demo's name.
I'm not sure if this question should be here or in software engineering ? ...
Alright, I forgot to answer my own question.
Since 4 months, I used this answer : https://www.reddit.com/r/GlobalOffensive/comments/glwlq1/how_to_download_csgo_demo_from_match_sharing_code/fr0f8q5/?utm_source=reddit&utm_medium=web2x&context=3
But, once I got my MatchID, OutcomeID and TokenID, I use boiler-writter to download the .info. Then inside, I can easily find the link of the demo.
CSGO-Demos-Manager (https://github.com/akiver/CSGO-Demos-Manager) can do this. It is written in C#. Unfortunately I have been unable to find any other solution.

Open street map server with correct India Map

Due to statutory requirements, we need to create our own open street map server with correct India map which includes the disputed boundaries. I have already installed OSM server using the instructions given in the following link:
https://www.linuxbabe.com/linux-server/openstreetmap-tile-server-ubuntu-16-04#comment-13257
I also have the correct shape files but I am not able to render the correct maps. I can still see disputed regions not part of India.
any body have any experience, kindly help me.
Do you already know about the OpenStreetMap India project? You can get more information about it at their GitHub project or via the talk-in mailing list. For personal projects you can also use their tile server.
Finally I am able to correct the India maps on my own tile server. For details please find the link below:
https://www.openstreetmap.org/user/azaadshatru/diary/390300
Thanks.

.MBTiles from mapbox studio

Good day all.
I am a bit Interested in mapbox and your maps. Going thru your site I also realize that calls to the app helps you with revenue. THis is all well and good for doing an app to find the nearest coffee shop. However I am working on an application where Internet connectivity is not promised and in this case a .MBTile file would be perfect for me. I have not been able to export my maps I have created into a .MBTile even though that was directly mentioned in mapbox documentation. I would love some assistance in locating this feature or do I need a paid account to do so.
Ps I am aware this can be done with tilemil but I cannot get the maps I created from Mapkit into tilemil to do so.
Thanks
If you want to be able export .mbtiles you would have to design your map in TileMill. From there you would be able to export them into the format that you want. This would produce raster tiles rather than vector tiles however. https://www.mapbox.com/tilemill/

iPhone Application Tracking through Google Analytics

I have implemented the new Google Analytics tracking in my iPhone app and I can see the data in my Google Analytics reporting screen.
However, I want to extract this data and display it on my site using the Core Reporting API. I get the page views for my site using the ga:pagePath filter on the Visits metric. I can't however find any documentation about how I would extract the Screens data from the report. Has anyone found any?
Ideally I would like to filter the Screens by Screen Name and get the number of views. The only metric I have found is ga:appviews which returns my total number of appViews so do i filter the screen Name on this and how would I do that?
Thanks for any help you can offer!
Paul
I think google just forgot the ga:screenName which they should have created in:
https://developers.google.com/analytics/devguides/reporting/core/dimsmets/apptracking#ga:uniqueAppviews
ga:screenViews is working well now ! :-)
you have also : ga:screenName and ga:uniqueScreenViews

Is it possible to pass data needed for driving directions to the Bing Maps website?

I have an application that currently links to Google Maps passing it the required URL parameters needed to show driving directions for a set of points (typically 3+). This approach has worked and has allowed us to not use their API, which worked fine.
With Google, they made it pretty easy and clear by using parameters like "saddr" for the starting address, "to" for way points, and "daddr" for the destination. I could even pass in "pw" if I wanted to put the map into print mode. Simple, easy, works great!
I'm trying to determine if Bing Maps supports the same thing. I have been unable thus far to find any examples showing how this can be done, nor have I been able to easily decode the URL after creating my own driving directions using Bing Maps.
Again, I'd like to avoid using the API and am find with sending users to Bing's site when clicking my link.
It this possible? If yes, how can it be done?
Yes it is possible.
And I just wrote a little blog post to demonstrate how: http://alastaira.wordpress.com/2012/06/19/url-parameters-for-the-bing-maps-website/
Alastair's answer has full details if you follow the link through to the blog post.
But if you want the quick answer (again, thanks Alastair) use this root:
http://www.bing.com/maps/default.aspx?where1=
and stick your search destination in at the end. Eg. this gets you to Atwood Rd in London using its postcode:
http://www.bing.com/maps/default.aspx?where1=W6%200HX