OpenLayers 3: Query individual features of Tile WMS

المشرف العام

Administrator
طاقم الإدارة
I have several tile wms layer with about 5000 earthquakes and I want to query their features by clicking (as in this example: http://openlayers.org/en/v3.1.1/examples/getfeatureinfo-tile.html).That works fine for me, but I would like to query individual features, like only the date, the coordinates and the magnitude and not the whole attribute table.

So is there a way to query individual features of a tile WMS?

My recent research has shown that I should spend the url as json and than parse it.Based on my relatively poor javascript knowledge I failed at this.

It would be wonderful if someone could help me with my problem.

Many thanks and sorry for my bad english.

Basti



أكثر...
 
أعلى