It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am using Google MAP Integration using C#. Now I wish to create Screen Line function. In short I just want to draw between two points on a click event on Google Map.
Let me know if you need to detail on the problem.
Here's how to do it using the Javascript API v3:
https://developers.google.com/maps/documentation/javascript/overlays#Polylines
But it sounds like you may be using some sort of control that does it for you in C#. I'm going to guess because you haven't provided more information about what you are using to create the map, but let's assume you're using:
http://googlemap.codeplex.com/
(Which is a great Google Maps control for WebForms). This Control has a polyline extender which does what you need to, located here:
http://googlemap.codeplex.com/wikipage?title=GoogleMap%20Control%206.0&referringTitle=Documentation
Which is downloadable here:
http://googlemap.codeplex.com/wikipage?title=GooglePolyline6
There is information on the PolyLine class in their documentation here:
http://googlemap.artembg.com/docs/
If this doesn't answer your question, please provide more information about the Google Maps implementation you are using.
Related
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I want to allow end users of my website to generate image of google map. How is this possible after the User has selected its location on google map and can then generate the image.
It's not allowed. See here:
https://developers.google.com/maps/faq#tos_screenshots
Use of Google Maps imagery in printed materials and offline media is
subject to the Permission Guidelines published at:
http://www.google.com/permissions/geoguidelines.html
you can request permission, but I don't think it's easy to obtain, unless you are a paying business customer.
Besides the "not allowed" part, there might be a way to let your users download the Google Map screen. However this will take some programming. Here is the basic idea:
When the users interact with the Google Map on your page, you can keep track of the used zoom and map boundaries as well as the selected location. With these values, you can use the Google Static Maps API to let your users download a static image.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm trying to implement a basic file, image upload utility into a small, simple (built using the Visual Web Developer tutorial) C# MVC3 ASP.Net web site. I have see this utility pointed out here on StackOverFlow a few times:
https://github.com/blueimp/jQuery-File-Upload
...but unsure if I can just slot it into my MVC3 C# Website? (I am very new to attempting to learn MVC3 with C#).
I also see lots of this guides floated around the place:
http://aspzone.com/tech/jquery-file-upload-in-asp-net-mvc-without-using-flash
http://davidsonsousa.net/en/post/how-to-upload-a-file-using-mvc-3-and-ajax
http://tomas.epineer.se/archives/3
Can any of these simply be slotted into my website?
Appreciate any help
Yes. The first two seem to fit perfectly.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
HI ,
I am currently trying to learn more about custom controls and how to use them etc. i have come across iTemplate interface and was hoping that someone could better explain its use and point me toward a good example implementation. From what i have found it allows you to change how an asp.net control will display items. ive tried searching code project etc for a good example but none explain it well. Id ideally like a very basic example and a more complex one.
thanks
Niall
ITemplate: Defines the behavior for populating a templated ASP.NET server control with child controls. The child controls represent the inline templates defined on the page. (taken from MSDN).
Take a look at these great tutorials: Developing Custom ASP.NET Server Controls or Templated Server Control Example.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I'm trying to develop a program to recognize a hand gestures and base on the hand gestures, run some commands or move the mouse. how can I use AForge.NET with C#??? it is possible to do that? is there any tutorial out there???? Please help
Here is an article by the author of AForge.NET, although it is not about gesture detection
A gesture sample on codeproject (not using AForge.NET) or another sample (this time using AForge.NET) showing how to uset the library. Hope it helps.
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I've downloaded the API from their site but it's a .NET 1.0, I converted it to 3.0 and it wont work.
All I need is some documentation on using the .dll.
Not sure how many people have used it but hoping someone can shed a little light onto the subject.
Documentation on using any DLL: http://www.red-gate.com/products/reflector/
Sometimes that is all the documentation you get.
Why don't you use their POST API?
http://poster.decaptcher.com/
Forget about fiddling with their c# API; been there, tried that, and it's easier to just POST the data to the above url.
Check their site for more info (click "Download", scroll to the POST API).