How to use Google Maps API in Visual C# Forms Application? - c#

I have decided to design a desktop forms application in Visual C# 2012 which will download google map images within user specified coordinate and zoom level. Actually, the target is to create offline map as jpeg. Later I'll have to join the downloaded images also! Can anyone please help me on this issue?
Note: I will not display any web page. I just want to download the direct image from google maps as per specification on zoom level and coordinate.
Regards.

Have you checked GMap.NET? "Great Maps for Windows Forms and Presentation"
http://www.codeproject.com/Articles/32643/GMap-NET-Great-Maps-for-Windows-Forms-and-Presenta
http://greatmaps.codeplex.com

Related

Using phone camera to scan and extract text in web app

I am making a .net web app. My attempt of taking a picture and trying to extract text from that picture has a terrible success rate. I see apps that let you scan a page into pdf. I want to use that approach using the users phone camera. I need help identifying the best free APIs that will help accomplish this.
I don't have any code yet; I don't want you to do it for me rather just help me find the resource. I'm new to this and here to learn and get educated.
The most popular open source ocr solution is Tesseract.
Here are 2 github links to Android and IOS open source solutions using Tesseract:
Android Github project
iOS Github project

how to plot google offline Maps apiV3?

Dear All thanks in advance,
I need offline maps support for my desktop application developed in C# windows forms.
Once the map is loaded in the browser, it must retain the map and even if there is no net connection it has to show the navigation.
i am ready to get the license for the maps if it is possible.
please help me in finding the solution.
Directions and Navigation require a network connection. See the documentation here. You can however save a map for offline usage (search for a location -> open the info window -> save offline map). Offline maps are very limited in that it may not be available in all area and does not have other features like search. Depending on the level of information you need, maybe you can just take a screenshot of the directions and save that somewhere?

Show Leaflet images in C# app

I have a Leaflet website that uses a custom tile set for a game map.
I want to display in my C# client app, tiles from the Leaflet map using basically the same algorithm, as if re-creating leaflet in C#.
I already have the placeholder tiles layed out in a grid and have basic navigation, but running into the problem of knowing the tile values to use for the URL (from leaflet docs):
'http://map.somedomain.com/{layer}/{z}/{x}/{y}.png'
I have the layers names, and I want to know the exact X,Y for each tile from a provided zoom level.
How can I calculate this so that when I send out a download request it doesn't hit file not found?
Hope that makes sense.
Thank you.
PS: I don't have access to windows forms, I am using Unity3D engine, if that makes a difference.
I think you would be best off by going over the sourcecode of L.GridLayer which L.TileLayer is extended from. The _pruneTiles function would be a good starting point:
https://github.com/Leaflet/Leaflet/blob/master/src/layer/tile/GridLayer.js#L204
You Can find a tutorial for embedding Leaflet in a C# app in this book:
Leaflet.js Essentials - Chapter 6

Share images/videos from Photos Hub via my WP app

I am developing a Windows Phone 8 App. I want to add my app in the list of apps that appear when you use the ShareMediaTask. It should be possible since installing Facebook automatically adds the Facebook share to this list. So how do I register my app for this?
If this is not possible, is there a way to use FileOpenPicker() for videos??
Thanks
Sorry, there is no way to register your app to display in the Share Picker for video files.
We tried to do the same, with no success, and the same goes for photos other than JPEG files, like for example PNG.
To add a quote from the article posted by #ahandersson on "Extending the share picker for Windows Phone 8":
This topic describes how your app can appear in the share picker, a page that lets the user pick an app for sharing the photo they are viewing. Note that this extensibility is only available when the photo is a JPG file.
This http://msdn.microsoft.com/en-us/library/windowsphone/develop/ff967563(v=vs.105).aspx should help you register your application to display in the Share Picker.

Map inside Windows Store App

I'd like to embed a map into a Windows Store App. I'd like smooth zooming / panning and to pin interactive elements to geographical locations.
I assume my alternatives are either Bing Maps or Google Maps? Should I go with embedding a browser control and if so, is it difficult to control/interact with programmatically?
Any other alternatives?
Thanks
You could try
http://www.codeproject.com/Articles/408457/Using-Bing-Maps-For-Windows-8-Metro-Apps-Csharp-Ja
In haven't tried it myself , but I am about to and will post findings.

Categories