How to zoom to current features in SQL layer in Openlayer?How can I zoom to extenct according for dynamic WMS...

Why does liquid water form when we exhale on a mirror?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

How to secure an aircraft at a transient parking space?

Does "Until when" sound natural for native speakers?

What wound would be of little consequence to a biped but terrible for a quadruped?

Single word request: Harming the benefactor

Do items de-spawn in Diablo?

When traveling to Europe from North America, do I need to purchase a different power strip?

How do I express some one as a black person?

PTIJ: wiping amalek’s memory?

Does this video of collapsing warehouse shelves show a real incident?

Examples of a statistic that is not independent of sample's distribution?

Is it necessary to separate DC power cables and data cables?

Contract Factories

How can I ensure my trip to the UK will not have to be cancelled because of Brexit?

Why does Captain Marvel assume the people on this planet know this?

An alternative proof of an application of Hahn-Banach

Are all players supposed to be able to see each others' character sheets?

Good for you! in Russian

How can I get players to stop ignoring or overlooking the plot hooks I'm giving them?

meaning and function of 幸 in "则幸分我一杯羹"

Error during using callback start_page_number in lualatex

Is "history" a male-biased word ("his+story")?

Definition of Statistic



How to zoom to current features in SQL layer in Openlayer?


How can I zoom to extenct according for dynamic WMS (coming from DB)?Point Layer WMS GetFeatureInfo failing when zoom inqgis-mapserver: GetCapabilities returns no layerHow can I dynamically restrict pan extents on an image layer in OpenLayers 3?Problems with a wms layer in Openlayers 3Zoom to the extent of the WMS layer in GeoServer by OpenLayers 3?Leaflet search GeoServer layerGet/Define extent of ol.source.tile xyzPrevent duplicate layers in OpenLayers 3How to zoom to layer which is invisible at load time?













0















I've created a SQL layer, I'm passing the values for that query from client, I want my map to be able to zoom to whatever the layer that comes after query. I tried getCapabilities, but it zooms to the extent of whole layer, which is not quite helpful.









share



























    0















    I've created a SQL layer, I'm passing the values for that query from client, I want my map to be able to zoom to whatever the layer that comes after query. I tried getCapabilities, but it zooms to the extent of whole layer, which is not quite helpful.









    share

























      0












      0








      0








      I've created a SQL layer, I'm passing the values for that query from client, I want my map to be able to zoom to whatever the layer that comes after query. I tried getCapabilities, but it zooms to the extent of whole layer, which is not quite helpful.









      share














      I've created a SQL layer, I'm passing the values for that query from client, I want my map to be able to zoom to whatever the layer that comes after query. I tried getCapabilities, but it zooms to the extent of whole layer, which is not quite helpful.







      geoserver openlayers wms getcapabilities





      share












      share










      share



      share










      asked 5 mins ago









      krishna lodhakrishna lodha

      31




      31






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "79"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f315156%2fhow-to-zoom-to-current-features-in-sql-layer-in-openlayer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Geographic Information Systems Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f315156%2fhow-to-zoom-to-current-features-in-sql-layer-in-openlayer%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Щит и меч (фильм) Содержание Названия серий | Сюжет |...

          Венесуэла на летних Олимпийских играх 2000 Содержание Состав...

          Meter-Bus Содержание Параметры шины | Стандартизация |...