I used MooTools instead JQuery. In the sample I removed all complex
features and forgot to leave the mootools inclusion.
But you are right, the problem is not in Google maps API, the problem
is in mootools inclusion. On the new domain the path for mootools is
different and it is a problem.

Great thanks to everybody who tried to help me. The problem is fixed
now.


On Mar 14, 3:20 am, "[email protected]" <[email protected]>
wrote:
> On Mar 13, 4:37 pm, Andrew Leach <[email protected]>
> wrote:
>
> > On Mar 13, 11:59 pm, aha <[email protected]> wrote:
>
> > > Sorry for my first message without all details.
> > > The page on the new domain ishttp://map.obreste.ru/test.html
> > > The page on the old domain ishttp://bresto.ru/map/test.html
>
> A key forhttp://obreste.rushould work for thehttp://map.obreste.ru
> domain.
>
> It looks like your key is forhttp://map.obreste.ruwhich should also
> work (and does, I don't get the key warning on that page).
>
> I get:
> Line: 9
> Error: Object expected
>
> on this line:
> var map = new GMap2($("map_canvas"));
>
> Did you mean to include jquery?
>
>   -- Larry
>
>
>
>
>
> > > It is absolutely the same page from one server but from different
> > > domains. The API key must be valid for obreste.ru.
> > > The problem is actual for all browsers(IE,Firefox,Chrome) in Windows XP
>
> > I don't get a key issue for obreste.ru, but I do get a "$ is not
> > defined" error because the script which defines the $ shortcut
> > (jquery?) is not loaded. That would indicate that the maps script has
> > done its stuff and loaded successfully.

-- 
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