Note that there are some explanatory texts on larger screens.

plurals
  1. POTo much fillColor in google maps api polygon
    primarykey
    data
    text
    <p>I have following issue with drawing a polygon with google maps api. It looks like that there is to much fillColor. The center of the following polygon is not supposed to have fillColor.</p> <p>Is it google maps API or is it me who has a bug?</p> <p>Example: <a href="http://jsfiddle.net/zCA2u/" rel="nofollow noreferrer">http://jsfiddle.net/zCA2u/</a></p> <p><img src="https://i.stack.imgur.com/94GJ7.png" alt="enter image description here"></p> <pre><code>$(function(){ var shape; var mapDiv = document.getElementById('map-canvas'); var map = new google.maps.Map(mapDiv, { center: new google.maps.LatLng(24.886436490787712, -70.2685546875), zoom: 4, mapTypeId: google.maps.MapTypeId.ROADMAP }); var coords = [ new google.maps.LatLng(31.50362, -70.0488), new google.maps.LatLng(29.91685, -62.4023), new google.maps.LatLng(22.91792, -56.42578), new google.maps.LatLng(22.67484, -69.6972), new google.maps.LatLng(27.29368, -74.8828), new google.maps.LatLng(33.06392, -73.3007), new google.maps.LatLng(34.23451, -66.0058), new google.maps.LatLng(32.32427, -58.2714), new google.maps.LatLng(26.35249, -56.4257), new google.maps.LatLng(18.81271, -60.64453), new google.maps.LatLng(20.13847, -69.4335) ]; shape = new google.maps.Polygon({ paths: coords, strokeColor: '#ff0000', strokeOpacity: 0.8, strokeWeight: 2, draggable: true, fillColor: '#ff0000', fillOpacity: 0.35 }); shape.setMap(map); </code></pre> <p>});</p> <p>I have now tried the above in IE8 and it renders correct in IE8 <img src="https://i.stack.imgur.com/hjYxv.png" alt="enter image description here"></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload