Currently, the automatically generated Openlayers sources use an absolute URL to point to the GeoJSON. This can cause issues if your base URL is changing during testing cycles etc. And since the GeoJSON generated by the View is always going to be in the same site, it doesn't need an absolute URL because it's local.

Comments

m.stenta’s picture

Status: Active » Needs review
StatusFileSize
new725 bytes

Attached is a patch that sets "absolute" to FALSE.

  • Pol committed 6542e8e on 7.x-1.x authored by m.stenta
    Issue #2543622 by m.stenta: Do not use absolute URL in default...
pol’s picture

Status: Needs review » Fixed

Thanks :-)

zaporylie’s picture

Just noticed the same issue and found out it was committed yesterday. Nice! Thank you both.

Status: Fixed » Closed (fixed)

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