[OpenLayers-Users] Problems viewing OpenLayers projects in Firefox

Roosh clroush at usgs.gov
Tue Oct 21 14:29:13 EDT 2008


Unfortunately I don't, the code is hosted on a localhost server on my machine
so
I wouldn't be able to send the code directly.
 

Christopher Schmidt-4 wrote:
> 
> On Tue, Oct 21, 2008 at 11:07:31AM -0700, Roosh wrote:
>> 
>> Hi Christopher,
>> 
>> Yes, we are both trying to view the same page. It is a bunch of sample
>> code
>> which
>> was written by someone else and is stored on a server. I am not sure what
>> to
>> do, I can
>> try and reinstall Firefox, but I am not sure if that will help or not.
> 
> 
> Unlikely. Got a link you can share with the list?
> 
>> 
>> Christopher Schmidt-4 wrote:
>> > 
>> > On Tue, Oct 21, 2008 at 09:18:49AM -0700, Roosh wrote:
>> >> 
>> >> Hi Everyone,
>> >> 
>> >> I am having trouble viewing most of the OpenLayers demos in the latest
>> >> version of Firefox (3.0.3). I specifically get this error:
>> >> 
>> >> OpenLayers.Control.MouseDefaults is not a constructor
>> >> 
>> >> This happens every time this line of code in the script is
>> encountered:
>> >> 
>> >> map.addControl(new OpenLayers.Control.MouseDefaults());
>> >> 
>> >> This has been very frustrating because my coworker is not having any
>> >> problems with the same version of Firefox. I was wanting to know if
>> >> anyone
>> >> else has encountered this issue, and if so, how they resolved it.
>> > 
>> > Are you guys looking at the same page? This might indicate a different
>> > version of OpenLayers.js being included in your page -- one without
>> > MouseDefaults.
>> > 
>> > Also, you should really be using Control.Navigation, not
>> > Control.MouseDefaults. But that doens't explain your problem :)
>> > 
>> > Regards,
>> > -- 
>> > Christopher Schmidt
>> > MetaCarta
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/Problems-viewing-OpenLayers-projects-in-Firefox-tp20015924p20096100.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> 
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
> 
> -- 
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-viewing-OpenLayers-projects-in-Firefox-tp20015924p20096491.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list