On Jun 8, 4:51 am, orkun <[email protected]> wrote:
> hello
>
> here is my code. But the polygon involved is not seen.
>
> Could you tell me why ?

Can you from what you've posted?

Please provide a link to your map that exhibits the problem:

http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
http://groups.google.com/group/google-maps-api/web/why-including-a-link-is-critical

1. what are lat/lng?
2. is the polygon closed?

http://www.geocodezip.com/overlappingPolygonsNoStroke.asp

>
> ~~~~~~~~~~~~
>                  var polyPoints = new Array();
>
>                 for (i = 0; i < data.length; i++) {
>
>                         polyPoints[i] = [ new GLatLng(data[i].list_gmaplat,
>                                         data[i].list_gmaplong) ];
>                         //document.write(polyPoints[i],'__tag_412$37_');
>                 }
>
>                 var polygon = new GPolygon(polyPoints, '#FF0000', 0.1, 0.4,
>                                                      '#FF0000',0.4);
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GPolygon

GPolygon(latlngs:GLatLng[], strokeColor?:String, strokeWeight?:Number,
strokeOpacity?:Number, fillColor?:Number, fillOpacity?:Number,
opts?:GPolygonOptions)

> The weight is the width of the line in pixels.

Although a stroke weight should be an integer number of pixels...

  -- Larry


>                 map.addOverlay(polygon);
> ~~~~~~~~~~~
>
> kind regards

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to