I've nearly got the module working, after enabling allow_url_fopen. The server connects to the sample NASA wms server and I select some different layers. I configure the view as noted in the doc and video.

However, the resulting view will only show a blank space where the map layer should be, with my sample node otherwise correctly displayed (except that it's waaaay over on the left). See the screenshot.

I've played with many of the layer selections, but it doesn't seem to matter. I do notice when I view source that the width is set to 0 no matter what the size configuration in the view (but height is carried over perfectly), which seems odd:

<div class="view-content">
      <div>
 
    <div  class="nicemap-map" style=" width:0; height:400px;">
      <a href="http://mysite.org/content/test1" class="geopoint " style="left: 64.665%; top: 47.153825%;" id="geopoint-0"><span>Test1</span></a>
      <div class='hidden'><div class='geoitem' id='geoitem-0'><span class='close'>Close</span> </div></div>

Am I missing something obvious?

CommentFileSizeAuthor
nicemaptest.png119.63 KBzunix

Comments

tmcw’s picture

Status: Active » Fixed

This is a recent bug. I just committed a patch, please update to the most recent CVS build.

zunix’s picture

Status: Fixed » Active

Still having the same issue after 2/23 source checkin. And page source still drawing map of width zero, e.g.:

<div  class="nicemap-map" style="background-image:url(&#039;http://wms.jpl.nasa.gov/wms.cgi?request=GetMap&amp;version=1.1.1&amp;format=image/png&amp;srs=EPSG:4326&amp;EXCEPTIONS=application/vnd.ogc.se_inimage&amp;bbox=-100,-72.202166064982,100,72.202166064982&amp;width=554&amp;height=400&amp;js=1&amp;bgcolor=0xffffff&amp;layers=global_mosaic_base,us_landsat_wgs84,srtm_mag,daily_afternoon,global_mosaic,daily_aqua_ndvi,daily_terra,us_ned,huemapped_srtm&amp;styles=Blue,Blue,all,default,pseudo,default,default,default,default&#039;); width:0; height:400px;">
tmcw’s picture

Assigned: Unassigned » tmcw
tmcw’s picture

Status: Active » Needs review

Just committed a patch which should fix this problem. Please update to the most recent build, which will happen tonight.

rsoden’s picture

Tested this morning. No issues getting the map to appear. Nice work!

hhutch’s picture

Also confirmed. Tested and working.

Thanks!!

zunix’s picture

Status: Needs review » Fixed

You rock. Got it A-OK.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.