Nuanda/plankrk — pull request #28 by Nuanda (2014-12-07 20:14:28+00:00)
Title: district on-click centering, zooming and replacing with detailed zoning

This does not work perfectly yet, but is a good basis for further development. After you click on a district, it should be zoomed in and the layer should be replaced by the detailed zoning layer, for this district only.

For now, use the upper panel zoom icon to go back to the districts layers.

The detailed zoning query is on "OGLOSZENIE" now, perhaps it should be on "NAZWA_MPZP". No other (e.g. number based) relation is present in the data.

Some districts do not have detailed zoning data - it might be the case that the ArcGIS server does not provide anything for plans that are SPORZĄDZANE. In such a case it's quite a trouble for us - it would be very interesting to have these as well... Perhaps some inquiry in the Biuro Planowania Przestrzennego would give us some hint on where to look for that data.