Hi Fabio,
This might be stupid but did you try the following ?
var map = new OpenLayers.Map('map');
OpenLayers.Map constructor can be given either a DOM Element or the id
of a DOM Element.
Hope this helps,
Pierre
On Wed, Mar 11, 2009 at 5:46 PM, Fabio D'Ovidio fabiodovi...@gmail.com wrote:
Hello Pierre,
yes sure, we tryied!
Unfortunately the problem was related to ExtJs and Mozilla Firefox 3, not to
$ function.
Anyway what you indicate remains the only solution for using OpenLayers and
jQuery library together (unless you want to change the name of $ function in
OL or in jQuery).
just to clarify
2009/3/13 Fabio D'Ovidio fabiodovi...@gmail.com
Hello Pierre,
yes sure, we tryied!
Unfortunately the problem was related to ExtJs and Mozilla Firefox 3, not
to $ function.
The problem is on Ext.onReady event when you try to INCLUDE a large number
of JS files over ExtJS
Hello,
in order to use jquery library toghether with mapfish client i try to
summarize the problems related to:
* $ function definition in OpenLayers
* Extjs usage with jquery
OpenLayers uses part of prototype library (without include it) in the
following files:
* Util.js
*
On Wed, Mar 11, 2009 at 05:46:21PM +0100, Fabio D'Ovidio wrote:
3) I initialize my map and send it the string 'map' as the first
argument
4) OpenLayers tries to place your map in the DOM element $('map'), but
because $() is still a jQuery function that doesn't return a DOM element,
and I get