Is there already a way to zoom to the previous extent?
BesvaratIn VertiGIS Web you can zoom to the intial extent by using the "map.zoom-to-initial-viewpoint" command. I was looking for a command to zoom to the previous extent, something like "map.zoom-to-previous-viewpoint" but it seems as if this command is not yet available. Are there any other ways to achieve this, e.g. by using the "map.zoom-to-viewpoint" command in combination with a certain argument?
-
Officiell kommentar
Hi Marina,
Unfortunately, there is no "out of the box" command for what you're looking for. This is a great opportunity to take advantage of our SDK though.
I've added a demo to our VertiGIS Studio Web Samples library: https://vertigis-web-samples.netlify.app/tap-into-web-event and you can view the code here: https://github.com/geocortex/vertigis-web-samples/blob/master/samples/tap-into-web-event/src/services/customService/CustomService.ts
More information about using our SDK can be found here: https://developers.geocortex.com/docs/web/sdk-overview
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar