[SOLVED] Any googlemaps polygon sample with wisej?

Answered Closed
0
0

Hi guys!

i need help or any googlemaps polygon sample using wisej?

  • You must to post comments
Best Answer
0
0

https://developers.google.com/maps/documentation/javascript/examples/polygon-simple

The map object in the extension is “this.map”. The javascript is  the same shown on the google page. You can either write javascript code or in C# use:

this.googleMaps.Eval(@"
    var bermudaTriangle = new google.maps.Polygon({
          paths: triangleCoords,
          strokeColor: '#FF0000',
          strokeOpacity: 0.8,
          strokeWeight: 2,
          fillColor: '#FF0000',
          fillOpacity: 0.35
        });
        bermudaTriangle.setMap(this.map);
");


Or send a small sample project showing what you need to do.

 

  • winston mequila
    Hi sir Luca, Thank you for your help.. now i able to run java script in c#.. but i have a problem with variables.. how i set variable in c# and pass the data in javascript or set the variable in c#. any suggestion may help my problem. thank you
  • Levie (ITG)
    Hi Winston, sorry I responded on your other post too. You might consider looking at WebMethods (https://wisej.com/docs/2.1/html/JavaScriptObjectModel.htm) and using Call / Eval to execute JS. Best, Levie
  • You must to post comments
Showing 1 result