This solved my problem:

map.addMapType(G_PHYSICAL_MAP);

However, thanks for your attention Andrew Leach!

On Jul 28, 2:25 pm, Sebastian Sito <[email protected]> wrote:
> Sorry,
>
> Check my code again.
> Inhttp://emaire.nazwa.pl/work/handmade/map.json line 58:
> map.setMapType(G_PHYSICAL_MAP);
>
> Its destroyed the zoom restrictions.
>
> And another weird thing.
> Inhttp://emaire.nazwa.pl/work/handmade/map.jsaround 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