How to convert a location from watcher of Window phone 7 to location of google map

Actually, i am working with google map on window phone 7. I am trying to convert location of watcher of window phone 7 to location of google map. with : lat = "47.6818256764486" lng = "-122.064292703125"

C# using watcher in library System.Device.Location

void watcher_PositionChanged(object sender, GeoPositionChangedEventArgs<GeoCoordinate> e)

        String lat = "" + e.Position.Location.Latitude;
        String lng = "" + e.Position.Location.Longitude;

        Browser.InvokeScript("Marker_up", lat, lng);


 function Marker_up(lat,lng) {

     var Lat = Number(lat);
     var Lng = Number(lng);   
     var New_lc = new google.maps.LatLng(Lat,Lng);
     marker = new google.maps.Marker({
                position: New_lc,
                map: map

But it can't. I don't know why. Please someone help me.


If you do not set IsScriptEnabled = true on the browser, scripts won't work.


Need Your Help

Test DNS records before changing Namesrvers

macos testing dns

Is it possible to trick my computer into using my new DNS provider instead of the current nameserver specified with my registrar? I would like to test that the various subdomains etc work before