daily pastebin goal
20%
SHARE
TWEET

Untitled

a guest May 16th, 2018 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function drawEnd(evt) {
  2.   let coords = evt.feature.getGeometry().getCoordinates();
  3.  
  4.   // how can i get these??
  5.   let projection = null; // ????;
  6.   let resolution = null; // ????;
  7.  
  8.   let getFeatureInfoUrl = self._myTileWMSLayer.getSource().getFeatureInfoUrl(evt.coordinates, resolution, projection);
  9.   // call getFeatureInfoUrl....
  10. }
RAW Paste Data
Top