On Sep 7, 11:39 pm, Yan Zheng <[email protected]> wrote:
> Like below:
>
> the source code is:
>
>     function initialize() {
>         var myLatLng = new google.maps.LatLng(54.470038, -96.799805);
>         var myOptions = {
>             zoom: 5,
>             center: myLatLng,
>             mapTypeId: google.maps.MapTypeId.ROADMAP
>         };
>
>         var bermudaTriangle;
>
>         var map = new google.maps.Map(document.getElementById("map_canvas"),
>       myOptions);
>
>         var triangleCoords = [
>     new google.maps.LatLng(60.009971, -110.017090),
>     new google.maps.LatLng(49.023461, -110.017090),
>     new google.maps.LatLng(49.001844, -123.094940),
>     new google.maps.LatLng(49.126017, -123.200684),
>     new google.maps.LatLng(49.222979, -123.208923),
>     new google.maps.LatLng(49.272285, -123.265228),
>     new google.maps.LatLng(49.319751, -123.136139),
>     new google.maps.LatLng(49.377008, -123.306427),
>     new google.maps.LatLng(49.334967, -123.391571),
>     new google.maps.LatLng(49.339441, -123.427277),
>     new google.maps.LatLng(49.392206, -123.405304),
>     new google.maps.LatLng(49.429733, -123.473969),
>     new google.maps.LatLng(49.384161, -123.531647),
>     new google.maps.LatLng(49.472586, -123.885956),
>     new google.maps.LatLng(50.071244, -124.859619),
>     new google.maps.LatLng(50.701677, -126.628418),
>     new google.maps.LatLng(51.172455, -127.770996),
>     new google.maps.LatLng(52.005174, -128.221436),
>     new google.maps.LatLng(53.169826, -129.957275),
>     new google.maps.LatLng(53.839564, -130.682373),
>     new google.maps.LatLng(54.711929, -130.550537),
>     new google.maps.LatLng(54.683359, -132.775269),
>     new google.maps.LatLng(57.007842, -135.851440),
>     new google.maps.LatLng(58.387318, -137.059937),
>     new google.maps.LatLng(59.456243, -139.581299),
>     new google.maps.LatLng(60.048389, -142.042236)
>   ];
>
>         ca_western = new google.maps.Polygon({
>             paths: triangleCoords,
>             strokeColor: "#1E92FF",
>             strokeOpacity: 1,
>             strokeWeight: 4,
>             fillColor: "#3DAEFF",
>             fillOpacity: 0.95
>         });
>         ca_western.setMap(map);
>
> i am sorry for if confuse you!
>
> Any idea?

Please give us a link to your map so we can see what is happening
(from your title sounds like a css problem in addition to changing the
"fillColor" to blue ("#0000FF").

  -- Larry

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to