Hi,
I've this code:
...
<script>
function showMap() {
document.getElementById('mapWrapper').style.display = 'block';
}
</script>
<div id="mapWrapper" style="display: none;">
<div id="map" style="width: 400px; height: 300px;"></div>
</div>
<input type="button" onclick="showMap();" value="Show map!">
...
I've clicked the 'Show map!' button; and map is loaded but setCenter
doesn't work. It's moving to another location (20-30px)
Why?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---