camptocamp / ngeo

Library combining OpenLayers and AngularJS
https://camptocamp.github.io/ngeo/master/examples
MIT License
135 stars 87 forks source link

Link in query does not open #2195

Closed marionb closed 7 years ago

marionb commented 7 years ago

Project:

Permalink directly where we can reproduce the issue:

Steps to reproduce the issue:

  1. Select the layer OSM/OSM function/osm_open
  2. Do a query on it
  3. Click open

Result:

Expected result:

The issue concern the following environment:

The following environment is working as expected:

ger-benjamin commented 7 years ago

Mhh that's a problem in the demo_geomapfish mapfile, not in ngeo. I'll change that.

DATA "geom FROM (SELECT '<a href=\"javascript:cgxp.tools.openInfoWindow(''/sbrunner20/wsgi/resourceproxy?target=point&values='||osm_id||''',''OSM'',800,500)\">Open</a>' AS open,

sbrunner commented 7 years ago

Where is this function defined? We need it for backward compatibility...

rbovard commented 7 years ago

Why did you remove the options width and height? It's very important.

And a popup should be draggable, like it was in cgxp.

kalbermattenm commented 7 years ago

And a popup should be draggable, like it was in cgxp.

This is something we have to talk about at the PSC...