Click here to Skip to main content
15,893,266 members
Home / Discussions / C#
   

C#

 
GeneralRe: Regex for String.Contains Pin
PIEBALDconsult11-May-12 5:30
mvePIEBALDconsult11-May-12 5:30 
GeneralRe: Regex for String.Contains Pin
amrok2amrokk11-May-12 5:59
amrok2amrokk11-May-12 5:59 
GeneralRe: Regex for String.Contains Pin
PIEBALDconsult11-May-12 5:09
mvePIEBALDconsult11-May-12 5:09 
GeneralRe: Regex for String.Contains Pin
jschell11-May-12 13:46
jschell11-May-12 13:46 
AnswerRe: Regex for String.Contains Pin
BobJanova11-May-12 3:58
BobJanova11-May-12 3:58 
QuestionGraphicsDeviceServce Pin
Philip Solomon See10-May-12 13:08
Philip Solomon See10-May-12 13:08 
AnswerRe: GraphicsDeviceServce Pin
Richard MacCutchan10-May-12 22:02
mveRichard MacCutchan10-May-12 22:02 
Questionsend data from google api v3 javascript to c# Pin
mrx10010-May-12 11:12
mrx10010-May-12 11:12 
hi all , i want to sent latitude & longitude on click on map
to c# windows form textbox_latitude & textbox_longitude

this code send latitude & longitude on click on map but it send it to html input type="text" name="lat" ,input type="text" name="lng"

i want to transfer var lat , var lng to c# windows form textbox_latitude & textbox_longitude




<html>
<head>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
<title>Google Maps JavaScript API v3 Example: Dragable and clickable marker with lat and lang in form</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
var map;
function initialize() {
var myLatlng = new google.maps.LatLng(30.050077, 31.238594);
var myOptions = {
zoom: 7,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP
}
map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
var infowindow = new google.maps.InfoWindow({
content: "Drag marker to position
or click to place"
});
infowindow.open(map);
google.maps.event.addListener(map, 'click', function(event) {
var clickedLocation = new google.maps.LatLng(event.latLng);
var marker = new google.maps.Marker({
position: event.latLng,
title:"Marker position",
draggable: true,
map: map
});
infowindow.open(map,marker);
map.setCenter(event.latLng);

google.maps.event.addListener(map, 'click', function(event) {
marker.setMap(null);
});
google.maps.event.addListener(marker, 'dragend', function(event) {
var point = event.latLng;
var lat = point.lat();
var lng = point.lng();
document.getElementById("frmLat").value = lat;
document.getElementById("frmLon").value = lng;
});
var point = event.latLng;
var lat = point.lat();
var lng = point.lng();
document.getElementById("frmLat").value = lat;
document.getElementById("frmLon").value = lng;

});
}


</script>
</head>
<body onLoad="initialize()">


Lat: <input type="text" name="lat" id="frmLat" >

Lng: <input type="text" name="lng" id="frmLon" >

iW3B.info
</body>
</html>


thanks in advance
AnswerRe: send data from google api v3 javascript to c# Pin
Gerry Schmitz10-May-12 13:01
mveGerry Schmitz10-May-12 13:01 
AnswerRe: send data from google api v3 javascript to c# Pin
loyal ginger11-May-12 4:34
loyal ginger11-May-12 4:34 
GeneralRe: send data from google api v3 javascript to c# Pin
mrx10011-May-12 10:50
mrx10011-May-12 10:50 
GeneralRe: send data from google api v3 javascript to c# Pin
loyal ginger14-May-12 3:33
loyal ginger14-May-12 3:33 
Questiondrawing on one form and display it on another form Pin
borrasanjay10-May-12 9:44
borrasanjay10-May-12 9:44 
AnswerRe: drawing on one form and display it on another form Pin
Luc Pattyn10-May-12 11:15
sitebuilderLuc Pattyn10-May-12 11:15 
GeneralRe: drawing on one form and display it on another form Pin
borrasanjay10-May-12 14:04
borrasanjay10-May-12 14:04 
AnswerRe: drawing on one form and display it on another form Pin
Luc Pattyn10-May-12 14:26
sitebuilderLuc Pattyn10-May-12 14:26 
GeneralRe: drawing on one form and display it on another form Pin
Ravi Bhavnani11-May-12 9:05
professionalRavi Bhavnani11-May-12 9:05 
QuestionHow To Move An Item In A Hierarchy Pin
Kevin Marois10-May-12 8:14
professionalKevin Marois10-May-12 8:14 
AnswerRe: How To Move An Item In A Hierarchy Pin
Not Active10-May-12 8:20
mentorNot Active10-May-12 8:20 
GeneralRe: How To Move An Item In A Hierarchy Pin
BillWoodruff11-May-12 16:08
professionalBillWoodruff11-May-12 16:08 
AnswerRe: How To Move An Item In A Hierarchy Pin
Luc Pattyn10-May-12 10:45
sitebuilderLuc Pattyn10-May-12 10:45 
AnswerMessage Removed Pin
10-May-12 10:54
SledgeHammer0110-May-12 10:54 
GeneralRe: How To Move An Item In A Hierarchy Pin
Kevin Marois10-May-12 13:03
professionalKevin Marois10-May-12 13:03 
AnswerRe: How To Move An Item In A Hierarchy Pin
Peter_in_278010-May-12 16:26
professionalPeter_in_278010-May-12 16:26 
AnswerRe: How To Move An Item In A Hierarchy Pin
BobJanova11-May-12 4:02
BobJanova11-May-12 4:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.