Hi,

I have installed the openlayers package, I have the geo-module installed, I have entered both the google key and the yahoo key and I am for a start using the default preset.

But, no map is showing. When I try to add a preset there is no example map, nor any small map for setting the center. At the content types cck-field there is no map either.

Any one who knows what I am missing?

Kind regards, Morten

Comments

netrom’s picture

I am really lost here and I would really appreciate if any one could help me out.

Kind regards, Morten

zzolo’s picture

The problem is that we don't have any information to really help you. The following will help us figure your problem out.

* Do you have a link to the site?
* What browser are you using?
* Please install firebug to see if there are any Javascript errors showing up?
* Please check the Drupal logs for any PHP errors.

Thanks.

netrom’s picture

Status: Closed (fixed) » Active

Thanks for your response zzolo.

I have testet in Firefox, IE, Opera and safari and the maps are not showing in either of these browsers. So it dos not seem to be browser related.

Login information deleted.

I have Firebug installed and are mostly using it for CSS tasks. I am not sure how to check for Javascript errors. And I dont know how to check for PHP errors.

If you need more information just let me know.

Thanks again.

Regards, Morten

tinem’s picture

Just want to say that something is complete wrong with your coordinates. If you use the danish findvej.dk you get this with YOUR coordinates http://www.findvej.dk/-34.307144,149.765625 but if you search for your danish address you get this http://www.findvej.dk/55.6586,12.5234 which I think is the correct.

netrom’s picture

Hi tinem.

I know that. It is because the demouser has pointed the location on the map to be in Australia but entered an address in Denmark. If you bypass the geocoder this will actually be possible. But for the time being it is not an issue for this thread. Anyway, thanks for your awareness.

/M

netrom’s picture

Addition:

I used Firebug and in the file: openlayers.js

in line 45 with the scripting: OpenLayers.ProxyHost = "http://raider/proxy/?proxy_url=";

I got this message: "Openlayers is not defined"

If it is any help?

/M

netrom’s picture

Addition:

If I change the source to: http://www.openlayers.org/api/OpenLayers.js

instead of: modules/openlayers/js/openlayers.js

it seem to work. How can I get it to work on the drupal path?

tinem’s picture

First I have to say that I don't use these modules myself but know how frustrating it can be when no one have time to help but I can say that the two files you link to don't look the same but maybe they shouldn't?

http://www.moowbi.com/modules/openlayers/js/openlayers.js

http://www.openlayers.org/api/OpenLayers.js

tinem’s picture

I'm not sure where it is that YOU don't see a map? When I login here http://www.moowbi.com/user/4/edit/account I have no problems seeing the map. Try deleting this and try again. And if you paste in the coordinates 55.6586,12.5234 it's showing correct.

zzolo’s picture

Assigned: netrom » zzolo

@mortenrasmussen

There is your problem. You have a fundamental flaw with trying to include the openlayers file. The JS library should be the actual OpenLayers library, not the openlayers.js file that is part of this module.

If you go to admin/settings/openlayers, there should be pretty clear instructions on using the hosted version (http://www.openlayers.org/api/OpenLayers.js) or downloading the library and hosting it yourself. Please read these again, and let me know if they are confusing, so that we can work to make them more clear.

netrom’s picture

Assigned: zzolo » netrom
Status: Active » Closed (fixed)

Thanks zzolo. I believe that is the way to go, so I will work on this and get back if I get into "trouble". Right now it seems that IE is causing troubles (as usual) but I will look to see if this issue is tackled else where in the support forums.

:-) M

zzolo’s picture

Status: Active » Closed (fixed)

Also, I just released a new beta last night that you might want to try.