Map display

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Map display

by Sophie GRAS :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi everybody,
I have a "basic" question but i can't really solve it.
I want to use the mapfish complex layout, but my layout is a bit more complicated as the one presented on the website, and i have a specific js file in which i call my layers, initiliaze the openlayers map...
When i add my map, i get the following firebug error :

removeClass()(null, "olMap")MapFish.js (ligne 208)
removeClass()(null, "olMap")MapFish.js (ligne 208)
callback()("map-panel", Object)MapFish.js (ligne 531)
Class()()MapFish.js (ligne 59)
map.js()()map.js (ligne 6)
undefined

I have a map.js file in which my map is defined (with the layers, widgets...). This file is called in a map-panel div. I have other jf files as form.js or list.js and this is working perfectly.
I guess my problem is with this div element in which my map needs to be called, but i can't find a solution...

Thanks for your help

Sophie

_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users

Re: Map display

by Eric Lemoine-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi.

This is very hard to help you with so little information.

Do you have a public http link to your application? If not could you
create a simple html page showing your problem?

Eric

2008/9/18, Sophie GRAS <sophie.gras@...>:

>
>
> Hi everybody,
> I have a "basic" question but i can't really solve it.
> I want to use the mapfish complex layout, but my layout is a bit more
> complicated as the one presented on the website, and i have a specific js
> file in which i call my layers, initiliaze the openlayers map...
> When i add my map, i get the following firebug error :
>
>
>
> removeClass() ( null , "olMap" ) MapFish.js (ligne 208)
> removeClass() ( null , "olMap" ) MapFish.js (ligne 208)
> callback() ( "map-panel" , Object ) MapFish.js (ligne 531)
> Class() () MapFish.js (ligne 59)
> map.js() () map.js (ligne 6)
> undefined
> I have a map.js file in which my map is defined (with the layers,
> widgets...). This file is called in a map-panel div. I have other jf files
> as form.js or list.js and this is working perfectly.
> I guess my problem is with this div element in which my map needs to be
> called, but i can't find a solution...
>
> Thanks for your help
>
> Sophie
>
_______________________________________________
Users mailing list
Users@...
http://www.mapfish.org/cgi-bin/mailman/listinfo/users
LightInTheBox - Buy quality products at wholesale price!