[OpenLayers-Users] OpenLayers and JQuery
Norman Barker
norman.barker at gmail.com
Thu Dec 4 13:29:58 EST 2008
Hi,
I would like to use OpenLayers and JQuery together. I noted the
jquery and prototype library conflicts and have added
$j = jQuery.noConflict();
to make the $ function available to OpenLayers.
However on loading the page I get (with firebug)
str.indexOf is not a function
[Break on this error] return (str.indexOf(sub) != -1);
which is defined in OpenLayers BaseType.
Is there a workaround for the base types conflicts between OpenLayers
and JQuery?
Many thanks,
Norman
More information about the Users
mailing list