Hi,

Please look this page:

http://www.eggdrop.gen.tr/iletisim

Click to: "yada Haritaya Bakın!?"

Map will showing, but marker or setCenter not true.

On Sep 1, 1:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Midgard wrote:
> > 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?
>
> Can't really tell from the information provided in your post.  A
> couple of guesses: probably because you didn't call map.checkResize()
> after changing its size or you didn't set the optional size for the
> map.
>
> Please don't post code.  What you posted is not enough to diagnose
> your problem.  Post a link to your map that shows the problem.- Hide quoted 
> text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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