Sorry,

Check my code again.
In http://emaire.nazwa.pl/work/handmade/map.js on line 58:
map.setMapType(G_PHYSICAL_MAP);

Its destroyed the zoom restrictions.

And another weird thing.
In http://emaire.nazwa.pl/work/handmade/map.js around line 50:

var mt = map.getMapTypes();
var str = '';
for(t in mt[2])
{
        str = str + mt[2][t] + '<br />';
}
document.getElementById('test').innerHTML = str;

When I debugging map types 0 stands for street map, 1 for satellite, 2
for hybrid and there is nothing in mt[3]. Should be physical...

On Jul 28, 2:08 pm, Andrew Leach <[email protected]>
wrote:
> On Jul 28, 12:48 pm, Sebastian Sito <[email protected]> wrote:
>
> > My map:http://emaire.nazwa.pl/work/handmade/
>
> > Everything works as I want but I can't change map type to
> > G_PHYSICAL_MAP.
>
> When I said "Please provide a link" I meant a link demonstrating the
> problem. Your map appears to make no attempt to set that map type.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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