Hello:
This is an awesome module (feel like I just need to say that).
I followed the basic instructions from the readme file (using the default wms source and integer fields for long and lat) and get the following error when I create a page view:
Fatal error: Call to a member function getmap() on a non-object in C:\wamp\www\maptest\sites\all\modules\nicemap\wms_client.inc on line 139
Which is the $this->bounds = $this->projection->getmap($this->bounds, $target);
I am using a WAMP stack with php 5.26 and mysql 5.05. I had the same error on a non-local server (not sure what LAMP versions).
In views I also get this error 'An error occurred at /maptest/admin/build/views/ajax/preview/map_test.' when trying to preview. The preview fails.
As a basic test I tried removing the line above in the client.inc file. The views preview and page now work though of course the map is off b/c the bounding box is not working.
I saw as a note that nice_map_getprojection function is to be removed. Maybe this won't be a problem once that has been done?
Again awesome module. Let me know how I can help.
Comments
Comment #1
midvalleycs commentedim having the same issue. anyone know how to fix it?
Comment #2
nicolaik commentedI am also having the same problem
Comment #3
midvalleycs commentedi really want to us this module. will someone please help?
Comment #4
smartRUBY commentedHave any of you been able to successfully connect to a WMS Server? I cannot, as described in http://drupal.org/node/353501.
Comment #5
tmcw commentedHey, thanks for the bug report, there'll be a fix by tonight.
Comment #6
tmcw commentedPlease try it again with the latest nightly, and let me know how it goes. Thanks!
Comment #7
tmcw commented