Closed GoogleCodeExporter closed 8 years ago
even simpler:
<script type="text/javascript">
var map;
var markers = [
{lat: -45.9, lng: 169.4856518},
{lat: -45.8600678, lng: 170.48565180000003},
{lat: -43.92955678827454, lng: 168.92090974006405}
];
function display(surveys){
for (var i=0; i < markers.length; i++) {
new StyledMarker({
styleIcon:new StyledIcon(StyledIconTypes.BUBBLE,{text: i}),
position:new google.maps.LatLng(markers[i].lat, markers[i].lng),
map: map
});
}
}
function initialize() {
var center = new google.maps.LatLng(-41.343825,174.155273);
map = new google.maps.Map(document.getElementById('map_canvas'), {
zoom: 5,
center: center,
mapTypeId: google.maps.MapTypeId.ROADMAP
});
display(markers);
}
// attach init handler
google.maps.event.addDomListener(window, 'load', initialize);
</script>
Original comment by manu.de...@gmail.com
on 2 Dec 2012 at 10:53
I have also recently seen this behavior & am at a loss to explain why.
Original comment by ericbeer...@gmail.com
on 8 Jan 2013 at 6:53
Same problem
Original comment by shanelh...@gmail.com
on 19 Mar 2013 at 6:27
I can't reproduce this issue in Chrome 28, Firefox 15.01, or Internet Explorer
8 with the latest StyledMarker.js code, and your supplied code. Marking as
invalid. If you are still able to reproduce this with latest StyledMarker
code, please post an example and I will re-open this issue.
Original comment by brett.mc...@gmail.com
on 15 Jul 2013 at 10:44
Original issue reported on code.google.com by
manu.de...@gmail.com
on 2 Dec 2012 at 4:31