Skip to content

[Openlayers3] How to do a GetFeatureInfo request #514

Open
@abiuan

Description

@abiuan

Hello,
at first glance I have a simple task: do a GetFeatureInfo request inside a handleClick method of a ClickHandler behaviour.
This behaviour is added to a map containing a TileWms layer.

Building the url I have some mandatory parameters like bbox, width, height, i, j for which I'm unable to find a value.

  • i and j are coordinate in pixel whereas I have longitude and latitude
  • map.getView().getExtent() returns null

Any suggest?

I looked Openlayers3 examples and they use the method getGetFeatureInfoUrl() that is not available in wicketstuff-openlayers3. Could be added?

Regards

Alberto

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions